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

Remove tox dependency. Add Python 3.10 support #348

Merged
merged 5 commits into from
Jan 18, 2022

Conversation

miguelsousa
Copy link
Member

By removing tox it makes it more onerous for a developer to run the tests on a multitude of Python environments locally. On the other hand, removing tox streamlines our test-config setup, and makes it easier (and faster!) to run the tests on different Python+OS configurations through the GitHub Actions CI.

The CI workflow now runs faster (9min vs. 14min) because code coverage was always on.

The Python 3.10 wheels are built in a separate step from the Python 3.7—3.9 wheels because the manylinux1 image does not support CPython 3.10.

This is to allow for building the Linux wheels with the more recent 'manylinux2010' image instead of the 'manylinux1' image.
'manylinux1' does not support CPython 3.10 pypa/manylinux#994

List of manylinux images: https://github.com/pypa/manylinux#docker-images
@alerque
Copy link

alerque commented Jan 17, 2022

Ditching tox is a great thing for distro packagers. Upstream suites that cater to tox and/or other isolation techniques make it really hard to test code in the context of a distribution package — which for us is what matters.

Copy link
Contributor

@josh-hadley josh-hadley left a comment

Choose a reason for hiding this comment

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

Thank you @miguelsousa !

@miguelsousa miguelsousa merged commit 5bcfcc2 into master Jan 18, 2022
@miguelsousa miguelsousa deleted the remove-tox_add-py3.10 branch January 18, 2022 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants