Skip to content

Commit

Permalink
- prepare release 4.13 with Python 3.11 support and test fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Dec 16, 2022
1 parent d68a82a commit 906d907
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu
- ["ubuntu", "ubuntu-20.04"]
config:
# [Python version, tox env]
- ["3.9", "lint"]
Expand All @@ -28,18 +28,20 @@ jobs:
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["3.9", "coverage"]

runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os[1] }}
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ lib64
log/
parts/
pyvenv.cfg
testing.log
var/
3 changes: 2 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "efa4b7532073de2e151785892b48ac95bc72981b"
commit-id = "d6240444ec6c9e203f2fd9f62c3e6038f9189e96"

[python]
with-pypy = false
with-legacy-python = true
with-sphinx-doctests = false
with-windows = false
with-future-python = false
with-macos = false

[coverage]
fail-under = 83
Expand Down
6 changes: 4 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
Changelog
=========

4.13 (unreleased)
4.13 (2022-12-16)
-----------------

- Nothing changed yet.
- Fix insidious buildout configuration bug for tests against Zope 4.

- Add support for Python 3.11.


4.12 (2022-03-30)
Expand Down
1 change: 0 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ develop = .
parts =
test
test_with_gs
tox

[versions]
Products.MailHost =
Expand Down
3 changes: 3 additions & 0 deletions buildout4.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
extends =
buildout.cfg
https://zopefoundation.github.io/Zope/releases/4.x/versions.cfg

[versions]
Products.MailHost =
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _read(fname):

setup(
name='Products.MailHost',
version='4.13.dev0',
version='4.13',
url='https://github.com/zopefoundation/Products.MailHost',
project_urls={
'Issue Tracker': ('https://github.com/zopefoundation'
Expand Down Expand Up @@ -56,6 +56,7 @@ def _read(fname):
'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',
'Topic :: Communications :: Email',
],
Expand Down
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ envlist =
py38
py39
py310
py311
coverage

[testenv]
skip_install = true
# We need to pin setuptools < 60 until zc.buildout 3.x supports it.
deps =
setuptools < 60
zc.buildout==3.0.0rc2
zc.buildout >= 3.0.1
wheel > 0.37
commands_pre =
py27,py35: {envbindir}/buildout -nc {toxinidir}/buildout4.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test test_with_gs
Expand Down

0 comments on commit 906d907

Please sign in to comment.