Skip to content

Commit

Permalink
- prepare release 4.15 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 9426ca5 commit 09c8b77
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
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,19 +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
3 changes: 2 additions & 1 deletion .meta.toml
Expand Up @@ -2,14 +2,15 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "b5df3766ff8923477f3d24729b19504f0c401a2e"
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

[tox]
use-flake8 = true
Expand Down
6 changes: 5 additions & 1 deletion CHANGES.rst
@@ -1,9 +1,13 @@
Changelog
=========

4.15 (unreleased)
4.15 (2022-12-16)
-----------------

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

- Add support for Python 3.11.


4.14 (2022-09-20)
-----------------
Expand Down
2 changes: 2 additions & 0 deletions buildout4.cfg
Expand Up @@ -3,3 +3,5 @@ extends =
buildout.cfg
http://zopefoundation.github.io/Zope/releases/4.x/versions.cfg

[versions]
Products.Sessions =
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -23,7 +23,7 @@ def _read(fname):

setup(
name='Products.Sessions',
version='4.15.dev0',
version='4.15',
url='https://github.com/zopefoundation/Products.Sessions/',
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",
],
keywords="Zope sessions management Transience product ZMI",
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -11,12 +11,13 @@ envlist =
py38
py39
py310
py311
coverage

[testenv]
skip_install = true
deps =
zc.buildout >= 3.0.0rc3
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
Expand Down

0 comments on commit 09c8b77

Please sign in to comment.