diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8889f3..9cfb966 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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"] diff --git a/.meta.toml b/.meta.toml index 567d65c..e50908c 100644 --- a/.meta.toml +++ b/.meta.toml @@ -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] diff --git a/tox.ini b/tox.ini index 7d87e39..d794155 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,8 @@ envlist = py39 py310 py311 + py312 + py313 pypy3 docs coverage @@ -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 @@ -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}