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

Deprecation warning using setup.py instead of pyproject.toml #538

Open
cdeline opened this issue Aug 28, 2024 · 1 comment
Open

Deprecation warning using setup.py instead of pyproject.toml #538

cdeline opened this issue Aug 28, 2024 · 1 comment
Labels
v0_6_0 Target for v0.6.0 release

Comments

@cdeline
Copy link
Contributor

cdeline commented Aug 28, 2024

Starting with pip 25.0 (January 1, 2025) we'll have to move from setup.py to pyproject.toml. Check pvlib-python for implementation example.

DEPRECATION: Legacy editable install of bifacial-radiance==0.4.4.dev0+g1d96a19.d20240828 from file:///F:/Documents/Python%20Scripts/bifacial_radiance (setup.py develop) is deprecated. pip 25.0 will enforce this behaviour change. A possible replacement is to add a pyproject.toml or enable --use-pep517, and use setuptools >= 64. If the resulting installation is not behaving as expected, try using --config-settings editable_mode=compat. Please consult the setuptools documentation for more information. Discussion can be found at pypa/pip#11457

@cdeline
Copy link
Contributor Author

cdeline commented Aug 30, 2024

Additional related deprecation warning in docs\sphinx\source\conf.py:

UserWarning: Setuptools is replacing distutils.

This appears to be a workaround hack in conf.py due to a pandas error that is fixed in pd 1.4.x. If we bump to pandas>=1.4.1 then we can fix this deprecation by removing the call to distutils.

@cdeline cdeline added the v0_6_0 Target for v0.6.0 release label Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v0_6_0 Target for v0.6.0 release
Projects
None yet
Development

No branches or pull requests

1 participant