-
Notifications
You must be signed in to change notification settings - Fork 1
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 deprecation warning regarding setup.py and pyproject.toml #1384
Comments
In GitLab by @edgano on Aug 12, 2024, 13:53 Looking for more info about these. I found this info here: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/ What commands should be used instead?
But not sure which could be the best strategy |
I think calling I think either The error, I believe, is due to the missing But we can add a pyproject.toml and move part of the metadata, to see if the deprecation warning goes away. Then in the future we can move more things, and follow the PEP's and see which direction we need/want to follow. WDYT? |
In GitLab by @edgano on Aug 12, 2024, 14:25 A ok! |
In relation to this, we should also fix this: https://autosubmit.readthedocs.io/en/master/installation/index.html#installation The docs are still referring to the use python3 setup.py install Which won't work because it doesn't download the dependencies of Autosubmit.
Would be more appropriate. I think this should be done for v4.1.13, to avoid external user issues which are always harder to track. |
Yeah, and this is a really annoying one, because I see this warning every week, nearly every day when I |
While reviewing @naiaraAM 's code in !459 , I created a new Micromamba env on a new laptop, and doing everything over from scratch I got this warning with Py 3.9.12 running
pip install -e .
:It's probably better that we fix this earlier, instead of waiting until they remove it which may prevent AS from working with newer versions of Python for a simple issue that can be fixed in under one hour.
The text was updated successfully, but these errors were encountered: