Skip to content

Commit

Permalink
Add preliminary support for Python 3.12b2
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Jun 22, 2023
1 parent 405017f commit c65da53
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 30 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/tests.yml
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
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
14 changes: 1 addition & 13 deletions CHANGES.rst
Expand Up @@ -5,19 +5,7 @@
6.1 (unreleased)
================

- Nothing changed yet.


6.1a2 (2023-04-13)
==================

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


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

- Add support for building ppc64le wheels.
- Add preliminary support for Python 3.12 as of 3.12b2.


6.0 (2023-03-17)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
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

0 comments on commit c65da53

Please sign in to comment.