From 3c6afc0bdac2d5350ebb4bd2e33278fecd5bb943 Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Tue, 5 Nov 2024 17:26:01 +0100 Subject: [PATCH] Configuring for c-code --- .github/workflows/tests.yml | 4 ++-- .meta.toml | 4 ++-- pyproject.toml | 4 ++-- tox.ini | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 67443f2..f79502a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -155,7 +155,7 @@ jobs: - name: Install Build Dependencies run: | pip install -U pip - pip install -U "setuptools <74" wheel twine + pip install -U "setuptools < 74" wheel twine pip install cffi - name: Build persistent (macOS x86_64) @@ -312,7 +312,7 @@ jobs: path: dist/ - name: Install persistent run: | - pip install -U wheel "setuptools <74" + pip install -U wheel "setuptools < 74" pip install -U coverage[toml] pip install -U 'cffi; platform_python_implementation == "CPython"' # Unzip into src/ so that testrunner can find the .so files diff --git a/.meta.toml b/.meta.toml index 3610ab3..718720c 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 = "32ea0a11" +commit-id = "f317618e" [python] with-windows = true @@ -20,7 +20,7 @@ coverage-command = [ ] [coverage] -fail-under = 95 +fail-under = 94.9 [coverage-run] source = "persistent" diff --git a/pyproject.toml b/pyproject.toml index 800b609..da34410 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ # Generated from: # https://github.com/zopefoundation/meta/tree/master/config/c-code [build-system] -requires = ["setuptools<74"] +requires = ["setuptools < 74"] build-backend = "setuptools.build_meta" [tool.coverage.run] @@ -11,7 +11,7 @@ relative_files = true omit = ["_ring_build.py"] [tool.coverage.report] -fail_under = 95 +fail_under = 94.9 precision = 2 ignore_errors = true show_missing = true diff --git a/tox.ini b/tox.ini index 7e19995..267796a 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,7 @@ envlist = [testenv] deps = - setuptools <74 + setuptools < 74 setenv = pure: PURE_PYTHON=1 !pure-!pypy3: PURE_PYTHON=0 @@ -52,7 +52,7 @@ description = ensure that the distribution is ready to release basepython = python3 skip_install = true deps = - setuptools <74 + setuptools < 74 twine build check-manifest