From 3ea133bb5856992c13c4b4654ea61df9fa2825d5 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Mon, 26 Feb 2024 09:15:33 +0100 Subject: [PATCH] Fix Python 3.13 --- .github/workflows/tests.yml | 6 +++--- .meta.toml | 2 +- setup.cfg | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b62ce97..cc8be31 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -139,7 +139,7 @@ jobs: # cffi will probably have no public release until a Python 3.13 beta # or even RC release, see https://github.com/python-cffi/cffi/issues/23 echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt - PIP_CONSTRAINT=cffi_constraint.txt pip install cffi + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install cffi - name: Install Build Dependencies if: matrix.python-version != '3.13.0-alpha - 3.13.0' run: | @@ -194,7 +194,7 @@ jobs: echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt # Use "--pre" here because dependencies with support for this future # Python release may only be available as pre-releases - PIP_CONSTRAINT=cffi_constraint.txt pip install --pre .[test] + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install --pre .[test] - name: Install AccessControl and dependencies if: matrix.python-version != '3.13.0-alpha - 3.13.0' run: | @@ -309,7 +309,7 @@ jobs: unzip -n dist/AccessControl-*whl -d src # Use "--pre" here because dependencies with support for this future # Python release may only be available as pre-releases - PIP_CONSTRAINT=cffi_constraint.txt pip install --pre -U -e .[test] + PIP_CONSTRAINT=$PWD/cffi_constraint.txt pip install --pre -U -e .[test] - name: Install AccessControl if: ${{ !startsWith(matrix.python-version, '3.13.0-alpha - 3.13.0') }} run: | diff --git a/.meta.toml b/.meta.toml index 145039a..4b96921 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 = "fc37b50c" +commit-id = "1351c95d" [python] with-appveyor = true diff --git a/setup.cfg b/setup.cfg index 8fbcf77..ca34c69 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,5 @@ # Generated from: # https://github.com/zopefoundation/meta/tree/master/config/c-code -[bdist_wheel] -universal = 0 [zest.releaser] create-wheel = no