You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Unable to run ADOT Python unit tests with latest Tox release
Tox 3.27.1 was released on November 14, 2022 — before Python 3.12 (October 2023) and Python 3.13 (October 2024) — and does not officially support either version.
This PR resolves the blocking issue caused by using the latest Tox release.
Changes:
- Updated tox.ini to pass valid VCS requirement strings to pip and avoid shell/INI parsing issues.
- Removed stray spaces before '@' in pip VCS requirement specifiers.
- Removed unnecessary wrapping quotes so strings are not passed with quote characters.
- Escaped the '#' in INI fragments to ensure the tox/INI parser preserves pip fragments (e.g., `#egg=...`).
Tested with:
```bash
python -m venv .venv
source .venv/bin/activate
pip install tox
tox -e lint
tox -e spellcheck
tox -e 3.9-test-aws-opentelemetry-distro
tox -e 3.10-test-aws-opentelemetry-distro
tox -e 3.11-test-aws-opentelemetry-distro
tox -e 3.12-test-aws-opentelemetry-distro
tox -e 3.13-test-aws-opentelemetry-distro
```
0 commit comments