Closed Cube707 closed 6 months ago
you found the duplicate and yet still made an issue?
I do not believe this is a duplicate. Both #178 and #179 started out about different things. Its only a happy accident that the fix for theses also fixes this.
This is still an existing problem in the current version that others might face, so please keep it open until the PR is merged.
no, I'm not changing this behavior
than #179 is not beeing continued?
not in it's current state, no
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 behavior