Skip to content

Commit 74c4d4e

Browse files
EliahKaganclaude
andcommitted
build(tox): say what the py38, py39, and py310 envs do
GitPython supports Python 3.8 and later, but its tests need GixPython, which needs Python 3.11 or later. So since 212573b (gitpython-developers#2274), the tox environments for 3.8, 3.9, and 3.10 do not run the tests. They install GitPython without the `test` extra, import it, check that it selects the CLI backend, and print its version, as CI's `install/import` job does on those versions. But their description, which `tox list` shows, did not say that, so it was not clear what they were for, or why they did not run the tests like the other `pyXY` environments. Describe them as "Install and import GitPython (the tests need Python 3.11 or later)". With tox 4.22.0 and 4.67.1, `tox list` shows the new description for `py38`, `py39`, and `py310`, and "Run unit tests" for `py311`. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 54a94e2 commit 74c4d4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tox.ini‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set_env = GIT_PYTHON_BACKEND=cli
1313
commands = pytest --color=yes {posargs}
1414

1515
[testenv:py{38,39,310}]
16-
description = Smoke check supported runtimes without fixture tooling
16+
description = Install and import GitPython (the tests need Python 3.11 or later)
1717
extras =
1818
commands = python -I -c "import git; from git import _backend; assert _backend.name == 'cli'; print(git.__version__)"
1919

0 commit comments

Comments
 (0)