Skip to content

Commit

Permalink
Configuring for c-code
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Nov 5, 2024
1 parent 7f6f324 commit 3c6afc0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,7 +20,7 @@ coverage-command = [
]

[coverage]
fail-under = 95
fail-under = 94.9

[coverage-run]
source = "persistent"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ envlist =

[testenv]
deps =
setuptools <74
setuptools < 74
setenv =
pure: PURE_PYTHON=1
!pure-!pypy3: PURE_PYTHON=0
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3c6afc0

Please sign in to comment.