- prepare release 5.5.1

This commit is contained in:
Jens Vagelpohl 2022-11-03 13:50:45 +01:00
parent 391db8a4c4
commit d672d91c62
No known key found for this signature in database
GPG Key ID: C1B74D5998A5F657
7 changed files with 7 additions and 27 deletions

View File

@ -154,16 +154,6 @@ jobs:
pip install -U pip pip install -U pip
pip install -U setuptools wheel twine cffi pip install -U setuptools wheel twine cffi
- 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).
python setup.py build_ext -i
python setup.py bdist_wheel
# Also install it, so that we get dependencies in the (pip) cache.
pip install -U 'faulthandler; python_version == "2.7" and platform_python_implementation == "CPython"'
pip install --pre .[test]
- name: Build zope.interface (Python 3.10 on MacOS) - name: Build zope.interface (Python 3.10 on MacOS)
if: > if: >
startsWith(runner.os, 'Mac') startsWith(runner.os, 'Mac')
@ -210,7 +200,6 @@ jobs:
&& startsWith(github.ref, 'refs/tags') && startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac') && startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.python-version, 'pypy')
&& !startsWith(matrix.python-version, '3.11')
env: env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: | run: |

View File

@ -30,12 +30,12 @@ tox_env_map() {
case $1 in case $1 in
*"cp27"*) echo 'py27';; *"cp27"*) echo 'py27';;
*"cp35"*) echo 'py35';; *"cp35"*) echo 'py35';;
*"cp311"*) echo 'py311';;
*"cp36"*) echo 'py36';; *"cp36"*) echo 'py36';;
*"cp37"*) echo 'py37';; *"cp37"*) echo 'py37';;
*"cp38"*) echo 'py38';; *"cp38"*) echo 'py38';;
*"cp39"*) echo 'py39';; *"cp39"*) echo 'py39';;
*"cp310"*) echo 'py310';; *"cp310"*) echo 'py310';;
*"cp311"*) echo 'py311';;
*) echo 'py';; *) echo 'py';;
esac esac
} }
@ -51,13 +51,8 @@ for PYBIN in /opt/python/*/bin; do
[[ "${PYBIN}" == *"cp38"* ]] || \ [[ "${PYBIN}" == *"cp38"* ]] || \
[[ "${PYBIN}" == *"cp39"* ]] || \ [[ "${PYBIN}" == *"cp39"* ]] || \
[[ "${PYBIN}" == *"cp310"* ]] ; then [[ "${PYBIN}" == *"cp310"* ]] ; then
if [[ "${PYBIN}" == *"cp311"* ]] ; then "${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" install --pre -e /io/ "${PYBIN}/pip" wheel /io/ -w wheelhouse/
"${PYBIN}/pip" wheel /io/ --pre -w wheelhouse/
else
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
fi
if [ `uname -m` == 'aarch64' ]; then if [ `uname -m` == 'aarch64' ]; then
cd /io/ cd /io/
${PYBIN}/pip install tox ${PYBIN}/pip install tox

View File

@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code # https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta] [meta]
template = "c-code" template = "c-code"
commit-id = "70229255d495a945324228b50ee735cc75e01430" commit-id = "b4dd6f9ffd3d6a2cde7dc70512c62d4c7ed22cd6"
[python] [python]
with-appveyor = true with-appveyor = true
@ -10,7 +10,7 @@ with-pypy = true
with-legacy-python = true with-legacy-python = true
with-sphinx-doctests = true with-sphinx-doctests = true
with-windows = false with-windows = false
with-future-python = true with-future-python = false
with-docs = true with-docs = true
[tox] [tox]

View File

@ -2,7 +2,7 @@
Changes Changes
========= =========
5.5.1 (unreleased) 5.5.1 (2022-11-03)
================== ==================
- Add support for final Python 3.11 release. - Add support for final Python 3.11 release.

View File

@ -24,8 +24,6 @@ environment:
- python: 39-x64 - python: 39-x64
- python: 310 - python: 310
- python: 310-x64 - 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
- python: 311-x64 - python: 311-x64

View File

@ -100,7 +100,7 @@ long_description = (
) )
setup(name='zope.interface', setup(name='zope.interface',
version='5.5.1.dev0', version='5.5.1',
url='https://github.com/zopefoundation/zope.interface', url='https://github.com/zopefoundation/zope.interface',
license='ZPL 2.1', license='ZPL 2.1',
description='Interfaces for Python', description='Interfaces for Python',

View File

@ -19,9 +19,7 @@ envlist =
[testenv] [testenv]
usedevelop = true usedevelop = true
pip_pre = py311: true
deps = deps =
Sphinx
setenv = setenv =
pure: PURE_PYTHON=1 pure: PURE_PYTHON=1
!pure-!pypy-!pypy3: PURE_PYTHON=0 !pure-!pypy-!pypy3: PURE_PYTHON=0