Skip to content

Commit

Permalink
- use setuptools 74 and buildout 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Aug 30, 2024
1 parent a1c2c02 commit eacc507
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ jobs:
run: |
pip install -U pip
pip install -U --pre cffi
pip install -U "setuptools<69" wheel twine
pip install -U "setuptools<74" wheel twine
- name: Install Build Dependencies
if: matrix.python-version != '3.13'
run: |
pip install -U pip
pip install -U "setuptools<69" wheel twine
pip install -U "setuptools<74" wheel twine
pip install cffi
- name: Build zope.index (macOS x86_64)
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:
if: matrix.python-version == '3.13'
run: |
pip install -U --pre cffi
pip install -U wheel "setuptools<69"
pip install -U wheel "setuptools<74"
# coverage might have a wheel on PyPI for a future python version which is
# not ABI compatible with the current one, so build it from sdist:
pip install -U --no-binary :all: coverage
Expand All @@ -340,18 +340,18 @@ jobs:
unzip -n dist/zope.index-*whl -d src
# Use "--pre" here because dependencies with support for this future
# Python release may only be available as pre-releases
pip install --pre -U -e .[test]
pip install --pre -e .[test]
- name: Install zope.index
if: matrix.python-version != '3.13'
run: |
pip install -U wheel "setuptools<69"
pip install -U wheel "setuptools<74"
pip install -U coverage
pip install -U 'cffi; platform_python_implementation == "CPython"'
# Unzip into src/ so that testrunner can find the .so files
# when we ask it to load tests from that directory. This
# might also save some build time?
unzip -n dist/zope.index-*whl -d src
pip install -U -e .[test]
pip install -e .[test]
- name: Run tests with C extensions
if: ${{ !startsWith(matrix.python-version, 'pypy') }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .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 = "4eec7859"
commit-id = "a1e05e74"

[python]
with-windows = true
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ envlist =
[testenv]
pip_pre = py313: true
deps =
setuptools < 69
setuptools < 74
py37: urllib3 < 2
Sphinx
setenv =
Expand Down

0 comments on commit eacc507

Please sign in to comment.