Add tox for testing, update setuptools deps, and fix <= 3.9 testing.
Review Request #15109 — Created June 10, 2026 and updated
To improve testing going forward, this change introduces support for
tox. It's set up to test with 3.9 through 3.14 (but not 3.8, as the
modern license files in ourpyproject.tomlaren't compatible with the
latestsetuptoolsfor 3.8).Some test-specific issues were caught with tthis on 3.9 and older. We
were asserting onDistribution.name, which wasn't available. This
check isn't really necessary, and has been removed.To ensure consistency with testing,
setuptoolshas also been updated
to the latest versions available.
Ran
tox. All tests pass.
| Summary | ID |
|---|---|
| d051266bdc93bcbedd326d941db97c715699afb2 |
Review request changed
- Change Summary:
-
Updated
tox.tomlto use the correct options. - Commits:
-
Summary ID 4f4677266401fea7be856b490c5cbee0e4fbd96d d051266bdc93bcbedd326d941db97c715699afb2 - Diff:
-
Revision 2 (+58 -12)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.