Skip to content

Commit

Permalink
Require cffi from meta/config
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Apr 23, 2024
1 parent c90f3b5 commit 27ee3d1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 24 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ jobs:
- "3.11"
- "3.12"
- "3.13.0-alpha - 3.13.0"
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-11, windows-latest]
exclude:
- os: macos-latest
- os: macos-11
python-version: "pypy-3.10"

steps:
Expand Down Expand Up @@ -163,7 +163,8 @@ jobs:
if: matrix.python-version != '3.13.0-alpha - 3.13.0'
run: |
pip install -U pip
pip install -U setuptools wheel twine cffi
pip install -U setuptools wheel twine
pip install cffi
- name: Build persistent (macOS x86_64, Python 3.8+)
if: >
Expand Down Expand Up @@ -277,9 +278,9 @@ jobs:
- "3.11"
- "3.12"
- "3.13.0-alpha - 3.13.0"
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-20.04, macos-11, windows-latest]
exclude:
- os: macos-latest
- os: macos-11
python-version: "pypy-3.10"

steps:
Expand Down Expand Up @@ -380,7 +381,7 @@ jobs:

coveralls_finish:
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Coveralls Finished
uses: AndreMiras/coveralls-python-action@develop
Expand All @@ -393,7 +394,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
os: [ubuntu-20.04]

steps:
- name: checkout
Expand Down Expand Up @@ -461,7 +462,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
os: [ubuntu-latest]
os: [ubuntu-20.04]

steps:
- name: checkout
Expand Down Expand Up @@ -525,7 +526,7 @@ jobs:
# python -m pylint --limit-inference-results=1 --rcfile=.pylintrc persistent -f parseable -r n
manylinux:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
# We use a regular Python matrix entry to share as much code as possible.
strategy:
Expand Down
18 changes: 3 additions & 15 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 = "e6285cce"
commit-id = "612c13eb"

[python]
with-appveyor = true
Expand Down Expand Up @@ -46,17 +46,5 @@ additional-ignores = [
"docs/_build/html/_sources/api/*",
]

[appveyor]
global-env-vars = [
"# Currently the builds use @mgedmin's Appveyor account. The PyPI token belongs",
"# to zope.wheelbuilder, which is managed by @mgedmin and @dataflake.",
"",
"global:",
" TWINE_USERNAME: __token__",
" TWINE_PASSWORD:",
" secure: aoZC/+rvJKg8B5GMGIxd1WN5nlr8JpHkzvR9PeQFNDJjz6AQ4dSfbdAxcUzjgusof0wqc7W2m4XhdWQdXVPQ8D62xeizEEG/ONwTczHdE6dfl87VZ23egxbGmsQtcf/Rxa1jvEsHAFAYFMGndArmZ3slMSeQCwEfc/blpNlVi7VcLYcCbKqh9q41DPhIuq3HcLypdocMu9aooDzwqia69n1e7ZkFpBnQu53YxZhuFQmzoY2pBJAM3uI4+6yrH3wUw9QF0ySzrgpgN9oLE2RVUg==",
]
install-steps = [
"- pip install cffi",
"- pip install -U -e .[test]",
]
[c-code]
require-cffi = true

0 comments on commit 27ee3d1

Please sign in to comment.