- update to the latest meta/config and declare Python 3.11 support

This commit is contained in:
Jens Vagelpohl 2022-11-02 11:09:27 +01:00
parent d65b9977fc
commit 391db8a4c4
No known key found for this signature in database
GPG Key ID: C1B74D5998A5F657
5 changed files with 15 additions and 14 deletions

View File

@ -105,7 +105,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.2"
- "3.11"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
@ -131,7 +131,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
@ -154,8 +154,8 @@ jobs:
pip install -U pip
pip install -U setuptools wheel twine cffi
- name: Build zope.interface (3.11.0-rc.2)
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.2') }}
- name: Build zope.interface (3.11)
if: ${{ startsWith(matrix.python-version, '3.11') }}
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult).
@ -210,7 +210,7 @@ jobs:
&& startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy')
&& !startsWith(matrix.python-version, '3.11.0-rc.2')
&& !startsWith(matrix.python-version, '3.11')
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
@ -232,7 +232,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.2"
- "3.11"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
@ -258,7 +258,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
@ -335,7 +335,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
@ -386,7 +386,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
@ -439,7 +439,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2

View File

@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "b5df3766ff8923477f3d24729b19504f0c401a2e"
commit-id = "70229255d495a945324228b50ee735cc75e01430"
[python]
with-appveyor = true

View File

@ -5,7 +5,7 @@
5.5.1 (unreleased)
==================
- Nothing changed yet.
- Add support for final Python 3.11 release.
5.5.0 (2022-10-10)

View File

@ -26,8 +26,8 @@ environment:
- python: 310-x64
# `multibuild` cannot install non-final versions as they are not on
# ftp.python.org, so we skip Python 3.11 until its final release:
# - python: 311
# - python: 311-x64
- python: 311
- python: 311-x64
install:
- "SET PYTHONVERSION=%PYTHON%"

View File

@ -122,6 +122,7 @@ setup(name='zope.interface',
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Framework :: Zope :: 3",