-
Notifications
You must be signed in to change notification settings - Fork 521
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
Can't install PyYAML with pip if setuptools isn't installed #444
Comments
I suppose a |
You could say that about any dependency. 🤷 Ideally, every project should fetch all of its own dependencies automatically. |
Most of my projects internally rely on |
The 5.4 release will include some packaging updates that start to clean up the distutils/setuptools mess, but due to the age of the Pythons/pips we still support, we can't wholesale switch to a PEP517 (pyproject.toml) build yet. Maybe in 6.0, depending on what Pythons we drop support for, but that's still TBD. |
FWIW, you could still include a |
@nitzmahone what's the alternative to https://github.com/yaml/pyyaml/blob/release/5.4/pyproject.toml for the 5.4 release. I'd like to at least delay add this file until we have a more comprehensive need for it. |
Addressed in #407 |
I tested it with PyYAML 5.4b2, and it works. Thanks for the fix. |
Trying to install PyYAML using pip when setuptools isn't installed results in this:
Ideally, PyYAML should include a
pyproject.toml
file declaring build-time dependencies, so that pip can fetch them automatically.The text was updated successfully, but these errors were encountered: