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

The version field is missing from the setup.cfg metadata #268

Closed
mickours opened this issue Dec 10, 2020 · 2 comments
Closed

The version field is missing from the setup.cfg metadata #268

mickours opened this issue Dec 10, 2020 · 2 comments

Comments

@mickours
Copy link

mickours commented Dec 10, 2020

There is currently no version field in the setup.cfg [metadata] section which leads to errors in dependencies resolution for custom packaging tools. See nix-community/poetry2nix#123 (comment)

Adding the field fix the problem.

@FFY00
Copy link
Member

FFY00 commented Dec 14, 2020

This is intended behavior, your tooling is not handling this correctly. This project does not want to manually maintain a version field, instead it uses setuptools_scm to handle that automatically.
Your tooling is relying on implementation details of setuptools which are not suposed to be relied upon. I recommend you switch your tooling to use PEP 517.

@mickours
Copy link
Author

Ok thanks. Indeed it seems that Poetry does not support PEP 517 for now but the work is in progress python-poetry/poetry#2794.

Closing.

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