diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d8889f3..c4fef8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,6 +26,7 @@ jobs: - ["3.9", "py39"] - ["3.10", "py310"] - ["3.11", "py311"] + - ["3.12.0-beta.1", "py312"] - ["pypy-3.9", "pypy3"] - ["3.9", "docs"] - ["3.9", "coverage"] diff --git a/.meta.toml b/.meta.toml index 60c3417..14739a4 100644 --- a/.meta.toml +++ b/.meta.toml @@ -9,7 +9,7 @@ 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/CHANGES.rst b/CHANGES.rst index 5c13ce5..23d7bcb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ - Drop support for deprecated ``python setup.py test.``. +- Add preliminary support for Python 3.12b1. + 3.1.0 (2023-03-17) ================== diff --git a/tox.ini b/tox.ini index 6f54ce3..f37d094 100644 --- a/tox.ini +++ b/tox.ini @@ -9,14 +9,17 @@ envlist = py39 py310 py311 + py312 pypy3 docs coverage [testenv] usedevelop = true +pip_pre = py312: true deps = zope.testrunner + Sphinx commands = zope-testrunner --test-path=src {posargs:-vc} sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest @@ -63,6 +66,7 @@ allowlist_externals = deps = coverage zope.testrunner + Sphinx commands = mkdir -p {toxinidir}/parts/htmlcov coverage run -m zope.testrunner --test-path=src {posargs:-vc}