Skip to content

Add python_requires to setup.cfg#211

Merged
sigmavirus24 merged 2 commits intomainfrom
sigmavirus24-patch-1
Jun 14, 2025
Merged

Add python_requires to setup.cfg#211
sigmavirus24 merged 2 commits intomainfrom
sigmavirus24-patch-1

Conversation

@sigmavirus24
Copy link
Member

Closes #210

@sigmavirus24 sigmavirus24 merged commit de264ac into main Jun 14, 2025
8 checks passed
@sigmavirus24 sigmavirus24 deleted the sigmavirus24-patch-1 branch June 14, 2025 00:42
install_requires =
pycodestyle
setuptools
python_requires > = 3.9
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This syntax is incorrect for a setuptools config file. As far as I can tell this line is essentially ignored and the latest flake8-import-order version is still the one chosen on Python <=3.8.

The correct syntax would be

python_requires = >=3.9

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.

Missing Python version requirements for package

2 participants

Comments