Skip to content

Commit

Permalink
Add preliminary support for Python 3.12b1. (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz authored Jun 23, 2023
1 parent bcd80c9 commit 30cbb3c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
==================
Expand Down
4 changes: 4 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 30cbb3c

Please sign in to comment.