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

Correctly specify python version #858

Merged
merged 2 commits into from
Jan 7, 2025
Merged

Conversation

micwoj92
Copy link

From: https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#python-requirement

pyproject.toml requires dash, where underscore is used in case of setup.py or setup.cfg

This prevented from building using setuptools:

ValueError: invalid pyproject.toml config: `project`.
configuration error: `project` must not contain {'requires_python'} properties

Where using flit backend it would give message:

Unexpected names under [project]: requires_python

@clintonsteiner clintonsteiner merged commit e295f73 into pycontribs:master Jan 7, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants