Add tox for testing, update setuptools deps, and fix <= 3.9 testing.
Review Request #15109 — Created June 10, 2026 and updated — Latest diff uploaded
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.