Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants