Skip to content

Commit

Permalink
Test against Python 3.12a5. (#1103)
Browse files Browse the repository at this point in the history
* Omit Py3.12 on MacOS.
  • Loading branch information
Michael Howitz authored Mar 13, 2023
1 parent 73d2dfc commit df955f5
Show file tree
Hide file tree
Showing 4 changed files with 9 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 @@ -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:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "b2749126"
commit-id = "c7a64084"

[python]
with-pypy = false
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
Expand Down
2 changes: 2 additions & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ parts =
requirements
sources-dir = develop
auto-checkout =
RestrictedPython
AccessControl

[testenv]
PYTHONHASHSEED = random
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ envlist =
py39
py310
py311
py312
docs
coverage
pre-commit
Expand Down Expand Up @@ -87,6 +88,7 @@ commands =
basepython = python3.8
skip_install = true
allowlist_externals =
{[testenv]allowlist_externals}
mkdir
deps =
{[testenv]deps}
Expand Down

0 comments on commit df955f5

Please sign in to comment.