From f729a9b384203ed7e915d04227a7a8febebbe1b5 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Mon, 23 May 2022 08:51:31 +0200 Subject: [PATCH] Update to Python 3.11b1 + fix doc creation. Until `repoze.sphinx.autointerface` supports Sphinx 5 (which is used here because we support future python versions and activate installing pre-released package version, which is needed for some other packages to get a RestrictedPython which runs on Python 3.11) we have to use an older version. --- .github/workflows/tests.yml | 6 +++--- .meta.toml | 4 ++-- tox.ini | 4 +++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fdf012e..dd5f5b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,7 +104,7 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-alpha.7" + - "3.11.0-beta.1" os: [ubuntu-20.04, macos-latest] exclude: - os: macos-latest @@ -173,7 +173,7 @@ jobs: && startsWith(github.ref, 'refs/tags') && startsWith(runner.os, 'Mac') && !startsWith(matrix.python-version, 'pypy') - && !startsWith(matrix.python-version, '3.11.0-alpha.7') + && !startsWith(matrix.python-version, '3.11.0-beta.1') env: TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} run: | @@ -195,7 +195,7 @@ jobs: - "3.8" - "3.9" - "3.10" - - "3.11.0-alpha.7" + - "3.11.0-beta.1" os: [ubuntu-20.04, macos-latest] exclude: - os: macos-latest diff --git a/.meta.toml b/.meta.toml index 58cd5cb..dcb932b 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/c-code [meta] template = "c-code" -commit-id = "dbaca5f3c7785b7bca563dabc5f440544069a8f9" +commit-id = "5f8f4eb428494f5cc349f91f7c312095e7ad7422" [python] with-appveyor = true @@ -20,7 +20,7 @@ additional-envlist = [ ] testenv-setenv = [ "ZOPE_INTERFACE_STRICT_IRO=1", - "watch: ZOPE_WATCH_CHECKERS = 1", + "watch: ZOPE_WATCH_CHECKERS=1", ] [coverage] diff --git a/tox.ini b/tox.ini index 76501b1..a479386 100644 --- a/tox.ini +++ b/tox.ini @@ -22,11 +22,13 @@ envlist = usedevelop = true pip_pre = true deps = + # repoze.sphinx.autointerface does not yet support Sphinx >= 5: + Sphinx < 5 setenv = pure: PURE_PYTHON=1 !pure-!pypy-!pypy3: PURE_PYTHON=0 ZOPE_INTERFACE_STRICT_IRO=1 - watch: ZOPE_WATCH_CHECKERS = 1 + watch: ZOPE_WATCH_CHECKERS=1 commands = zope-testrunner --test-path=src {posargs:-vc} !py27-!pypy: sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest