Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preliminary support for Python 3.12b2 #272

Merged
merged 2 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12.0-alpha.5"
- "3.12.0-beta.2"
os: [ubuntu-20.04, macos-11]
exclude:
- os: macos-11
Expand Down Expand Up @@ -178,15 +178,15 @@ jobs:
python setup.py build_ext -i
python setup.py bdist_wheel

- name: Install zope.interface and dependencies (3.12.0-alpha.5)
if: matrix.python-version == '3.12.0-alpha.5'
- name: Install zope.interface and dependencies (3.12.0-beta.2)
if: matrix.python-version == '3.12.0-beta.2'
run: |
# Install to collect dependencies into the (pip) cache.
# Use "--pre" here because dependencies with support for this future
# Python release may only be available as pre-releases
pip install --pre .[test]
- name: Install zope.interface and dependencies
if: matrix.python-version != '3.12.0-alpha.5'
if: matrix.python-version != '3.12.0-beta.2'
run: |
# Install to collect dependencies into the (pip) cache.
pip install .[test]
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
&& startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy')
&& !startsWith(matrix.python-version, '3.12.0-alpha.5')
&& !startsWith(matrix.python-version, '3.12.0-beta.2')
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
Expand All @@ -249,7 +249,7 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12.0-alpha.5"
- "3.12.0-beta.2"
os: [ubuntu-20.04, macos-11]
exclude:
- os: macos-11
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
strategy:
matrix:
python-version: ["3.9"]
image: [manylinux2014_x86_64, manylinux2014_i686, manylinux2014_aarch64, manylinux2014_ppc64le]
image: [manylinux2014_x86_64, manylinux2014_i686, manylinux2014_aarch64]

steps:
- name: checkout
Expand Down Expand Up @@ -487,14 +487,6 @@ jobs:
# First we must enable emulation
docker run --rm --privileged hypriot/qemu-register
bash .manylinux.sh
- name: Build zope.interface (ppc64le)
if: matrix.image == 'manylinux2014_ppc64le'
env:
DOCKER_IMAGE: quay.io/pypa/${{ matrix.image }}
run: |
# First we must enable emulation
docker run --rm --privileged hypriot/qemu-register
bash .manylinux.sh

- name: Upload zope.interface wheels
uses: actions/upload-artifact@v3
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 = "c7a64084"
commit-id = "fd874ae4"

[python]
with-appveyor = true
Expand Down
12 changes: 1 addition & 11 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,11 @@
6.1 (unreleased)
================

- Nothing changed yet.


6.1a2 (2023-04-13)
==================
- Add preliminary support for Python 3.12 as of 3.12b2.

- Fix building of the docs for non-final versions.


6.1a1 (2023-04-06)
==================

- Add support for building ppc64le wheels.


6.0 (2023-03-17)
================

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ignore =
force_single_line = True
combine_as_imports = True
sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
known_third_party = six, docutils, pkg_resources, pytz
known_third_party = docutils, pkg_resources, pytz
known_zope =
known_first_party =
default_section = ZOPE
Expand Down