Skip to content

Commit

Permalink
Use cpython 3.11, fixes #732
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Sep 25, 2023
1 parent 830d320 commit e81b806
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ commands =


[testenv:cpython-apidocs]
description = Build CPython API documentation
description = Build CPython 3.11 API documentation
deps =
pytest
commands =
sh -c "if [ ! -d {toxworkdir}/cpython ]; then \
git clone --depth 1 https://github.com/python/cpython.git {toxworkdir}/cpython; \
git clone https://github.com/python/cpython.git {toxworkdir}/cpython; \
fi"
sh -c "cd {toxworkdir}/cpython && git pull"
sh -c "cd {toxworkdir}/cpython && git checkout 3.11"
touch {toxworkdir}/cpython/Lib/__init__.py
rm -rf {toxworkdir}/cpython-output
- pydoctor \
Expand Down Expand Up @@ -160,13 +160,13 @@ commands =
assert code in [0,2], 'pydoctor exited with code %s, expected code 0 or 2.'%code"

[testenv:cpython-summary]
description = Parse CPython code and write a summary only
description = Parse CPython 3.11 code and write a summary only

commands =
sh -c "if [ ! -d {toxworkdir}/cpython ]; then \
git clone --depth 1 https://github.com/python/cpython.git {toxworkdir}/cpython; \
git clone https://github.com/python/cpython.git {toxworkdir}/cpython; \
fi"
sh -c "cd {toxworkdir}/cpython && git pull"
sh -c "cd {toxworkdir}/cpython && git checkout 3.11"
touch {toxworkdir}/cpython/Lib/__init__.py
rm -rf {toxworkdir}/cpython-summary-output
# TODO: Switch to restructuredtext when #261 is fixed.
Expand Down

0 comments on commit e81b806

Please sign in to comment.