-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
python_requires
gets rewriten even when --min-py-version
is **not** specified
#230
Comments
you found the duplicate and yet still made an issue? |
no, I'm not changing this behavior |
than #179 is not beeing continued? |
not in it's current state, no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
setup-cfg-fmt
applies the default setting of3.8
even to config files that specify they allow smaller python version. This should happen in my opinion, only if the user specifies a--min-py-version
should it override the existing values.steps to reproduce:
assume the following
setup.cfg
:now running
setup-cfg-fmt --include-version-classifiers setup.cfg
will update the version-classifiers andrequire_python
to a minimum of3.8
Notes
this is already fixed in #178. installing
pip install -U git+https://github.com/mxr/setup-cfg-fmt#parse-min
and running the command again results in the expected behaviorThe text was updated successfully, but these errors were encountered: