check-python-versions
check-python-versions copied to clipboard
Check that supported Python versions in a setup.py match tox.ini, .travis.yml and a bunch of other files
manage dotted env for tox `envlist` closes #38
Recentily I've found an useful package to build python on different OS/archs: [cibuildwheel](https://cibuildwheel.readthedocs.io/en/stable/). It has [CIBW_BUILD, CIBW_SKIP](https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip) configurations regarding python version used to build and test the package (locally and...
as per [comment](https://github.com/mgedmin/check-python-versions/issues/35#issuecomment-1406114465) , I'm opening a new issue regarding TOX env with dot inside: ``` [tox:tox] isolated_build = true envlist = lint, format, py3.8, py3.9, py3.10, py3.11, build ```...
Tox can be configured also into setup.cfg file, e.g. ``` [tox:tox] isolated_build = true envlist = lint, format, py3.8, py3.9, py3.10, py3.11, build ``` or, using default naming convention ```...
An interesting match that can be added is also against active python's version. E.g. everything is configured **correctly** with python 2.7 and 3.6 , but they're both at the end-of-life...
Steps to reproduce: 1. git clone https://github.com/mgedmin/check-manifest 2. git checkout 61023f599d5bbdb2b5b7ff2e9404f0e40ca170f7 3. check-python-versions --add 3.10 --diff Expected: - adds 3.10, doesn't touch anything else Actual: ```diff --- ./setup.py (original) +++...
This bug is just here to indicate that I'm open to adding support for additional CI systems, especially if people send me pull requests ;) Things like - GitLab CI...
Idea: when old versions contain some Python 2 and new versions don't, check if setup.cfg exists ad has a ``` [bdist_wheel] universal = 1 ``` and if so, drop it.
https://gitlab.com/anarcat/undertime is an example of a package that has a minimal setup.py and all the metadata is stored in setup.cfg. check-python-versions is able to get classifiers from this package (by...
It would be nice to provide a setuptools entry point as a zest.releaser plugin, [like check-manifest does](https://github.com/mgedmin/check-manifest/blob/ba6d17ff107d1911926090b4259eca66859133ab/setup.py#L70-L72).