diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a343e3b245..e07b2c2d2a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,6 +28,7 @@ jobs: - ["3.9", "py39"] - ["3.10", "py310"] - ["3.11", "py311"] + - ["3.12.0-alpha.5", "py312"] - ["3.9", "docs"] - ["3.9", "coverage"] exclude: @@ -37,9 +38,10 @@ jobs: - { os: ["macos", "macos-11"], config: ["3.9", "lint"] } - { os: ["macos", "macos-11"], config: ["3.9", "docs"] } - { os: ["macos", "macos-11"], config: ["3.9", "coverage"] } - # macOS/Python 3.11 is set up for universal2 architecture + # macOS/Python 3.11+ is set up for universal2 architecture # which causes build and package selection issues. - { os: ["macos", "macos-11"], config: ["3.11", "py311"] } + - { os: ["macos", "macos-11"], config: ["3.12.0-alpha.5", "py312"] } runs-on: ${{ matrix.os[1] }} if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name diff --git a/.meta.toml b/.meta.toml index b501e47692..d5d63d53c5 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/zope-product [meta] template = "zope-product" -commit-id = "b2749126" +commit-id = "c7a64084" [python] with-pypy = false @@ -10,7 +10,7 @@ with-docs = true with-sphinx-doctests = false with-windows = true with-macos = true -with-future-python = false +with-future-python = true [coverage] fail-under = 80 diff --git a/buildout.cfg b/buildout.cfg index eb314df713..4235ab85ae 100644 --- a/buildout.cfg +++ b/buildout.cfg @@ -16,6 +16,8 @@ parts = requirements sources-dir = develop auto-checkout = + RestrictedPython + AccessControl [testenv] PYTHONHASHSEED = random diff --git a/tox.ini b/tox.ini index c474a14ada..ae8cc5dc0b 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ envlist = py39 py310 py311 + py312 docs coverage pre-commit @@ -87,6 +88,7 @@ commands = basepython = python3.8 skip_install = true allowlist_externals = + {[testenv]allowlist_externals} mkdir deps = {[testenv]deps}