Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/remove deprecations #519

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Fix/remove deprecations #519

wants to merge 4 commits into from

Conversation

unkcpz
Copy link
Member

@unkcpz unkcpz commented Oct 20, 2023

Follow the aiidalab/aiidalab-widgets-base#509, the warnings should be get rid of here as well.

@unkcpz unkcpz marked this pull request as draft October 20, 2023 14:28
@unkcpz
Copy link
Member Author

unkcpz commented Oct 21, 2023

Hi @danielhollas, did you also have the following warning after you turn waring to error in pytest?

        # The call to .warn adds one frame, so bump the stacklevel up by one
>       warnings.warn(message, DeprecationWarning, stacklevel=stacklevel + 1)
E       DeprecationWarning: Jupyter is migrating its paths to use standard platformdirs
E       given by the platformdirs library.  To remove this warning and
E       see the appropriate new directories, set the environment variable
E       `JUPYTER_PLATFORM_DIRS=1` and then run `jupyter --paths`.
E       The use of platformdirs will be the default in `jupyter_core` v6

/opt/hostedtoolcache/Python/3.9.18/x64/lib/python3.9/site-packages/jupyter_core/utils/__init__.py:90: DeprecationWarning

@danielhollas
Copy link
Contributor

Possibly, I've definitely seen it before. I think take a look at pyproject.toml at AWB and copy the ignore lines from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants