Skip to content

Commit

Permalink
- update to the latest meta/config and declare Python 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Nov 2, 2022
1 parent d65b997 commit 391db8a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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).
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
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 = "b5df3766ff8923477f3d24729b19504f0c401a2e"
commit-id = "70229255d495a945324228b50ee735cc75e01430"

[python]
with-appveyor = true
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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%"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def read(*rnames):
"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",
Expand Down

0 comments on commit 391db8a

Please sign in to comment.