From 4ea16f4dda0fa049366e065db4257a4e5d3145da Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Fri, 19 Apr 2024 08:37:29 +0200 Subject: [PATCH] Update to current meta/config --- .github/workflows/tests.yml | 22 +++++++++------------- .meta.toml | 2 +- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e19317a..6a289b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -104,9 +104,9 @@ jobs: - "3.11" - "3.12" - "3.13.0-alpha - 3.13.0" - os: [ubuntu-20.04, macos-11, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] exclude: - - os: macos-11 + - os: macos-latest python-version: "pypy-3.10" steps: @@ -157,13 +157,11 @@ jobs: run: | pip install -U pip pip install -U setuptools wheel twine - # Remove this hack once 'cffi' has a release supporting Python 3.13. - pip install -e "git+https://github.com/python-cffi/cffi.git#egg=cffi" - name: Install Build Dependencies 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 - name: Build persistent (macOS x86_64, Python 3.8+) if: > @@ -277,9 +275,9 @@ jobs: - "3.11" - "3.12" - "3.13.0-alpha - 3.13.0" - os: [ubuntu-20.04, macos-11, windows-latest] + os: [ubuntu-latest, macos-latest, windows-latest] exclude: - - os: macos-11 + - os: macos-latest python-version: "pypy-3.10" steps: @@ -334,8 +332,6 @@ jobs: if: matrix.python-version == '3.13.0-alpha - 3.13.0' run: | pip install -U wheel setuptools - # Remove this hack once 'cffi' has a release supporting Python 3.13. - pip install -e "git+https://github.com/python-cffi/cffi.git#egg=cffi" # 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 @@ -380,7 +376,7 @@ jobs: coveralls_finish: needs: test - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Coveralls Finished uses: AndreMiras/coveralls-python-action@develop @@ -393,7 +389,7 @@ jobs: strategy: matrix: python-version: ["3.9"] - os: [ubuntu-20.04] + os: [ubuntu-latest] steps: - name: checkout @@ -461,7 +457,7 @@ jobs: strategy: matrix: python-version: ["3.9"] - os: [ubuntu-20.04] + os: [ubuntu-latest] steps: - name: checkout @@ -525,7 +521,7 @@ jobs: # python -m pylint --limit-inference-results=1 --rcfile=.pylintrc persistent -f parseable -r n manylinux: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest 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: diff --git a/.meta.toml b/.meta.toml index 8bf3e2f..d5420e3 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 = "8daa034c" +commit-id = "e6285cce" [python] with-appveyor = true