Skip to content

Commit

Permalink
Configure with future Python 3.13.
Browse files Browse the repository at this point in the history
This is a testing PR for zopefoundation/meta#218
It introduces Python hyphen ranges in `tests.yml` for the future Python 3.13.
Manually added `3.11.0 - 3.11.2` to see the effect for a current Python.

To make the code differences smaller, this branch is based on #30 which updated to latest meta three weeks ago.
  • Loading branch information
mauritsvanrees committed Oct 11, 2023
1 parent 4b83524 commit c327a8c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.11.0 - 3.11.2", "py311"]
- ["3.12", "py312"]
- ["3.13.0-alpha - 3.13.0", "py313"]
- ["pypy-3.9", "pypy3"]
- ["3.9", "docs"]
- ["3.9", "coverage"]
Expand Down
4 changes: 2 additions & 2 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "b21fbbf2"
commit-id = "f5281978"

[python]
with-pypy = true
with-docs = true
with-sphinx-doctests = true
with-windows = false
with-future-python = false
with-future-python = true
with-macos = false

[tox]
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ envlist =
py39
py310
py311
py312
py313
pypy3
docs
coverage
Expand All @@ -17,7 +19,12 @@ envlist =
usedevelop = true
package = wheel
wheel_build_env = .pkg
pip_pre = py313: true
deps =
Sphinx
setenv =
py312: VIRTUALENV_PIP=23.1.2
py312: PIP_REQUIRE_VIRTUALENV=0
commands =
zope-testrunner --test-path=src {posargs:-vc}
sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
Expand Down Expand Up @@ -63,6 +70,7 @@ allowlist_externals =
mkdir
deps =
coverage
Sphinx
commands =
mkdir -p {toxinidir}/parts/htmlcov
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
Expand Down

0 comments on commit c327a8c

Please sign in to comment.