Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring for c-code #212

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading