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 raised during the install of CRDS #925

Open
WilliamJamieson opened this issue Mar 8, 2023 · 0 comments
Open

Deprecation raised during the install of CRDS #925

WilliamJamieson opened this issue Mar 8, 2023 · 0 comments
Assignees

Comments

@WilliamJamieson
Copy link
Contributor

When one installs CRDS on python 3.11 using pip 23.0.1 the following warning gets issued:

DEPRECATION: lxml is being installed using the legacy 'setup.py install' method, 
because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. 
pip 23.1 will enforce this behaviour change. A possible replacement is to enable the 
'--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559

This appears to be because lxml relies only on a setup.py to control its install, so there is no wheel generated.

This may start creating issues for installing CRDS (and its downstream packages) on pip 23.1+, which seems like it will necessitate adding the --use-pep517 flag to pip install in these cases. This may create issues for our users in the near future.

There seems to be a bug reported to lxml: https://bugs.launchpad.net/lxml/+bug/1993882, but it does not appear to have much activity in attempting to fix it.

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

No branches or pull requests

2 participants