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

Test Python 3.12 on GHA #1722

Merged
merged 7 commits into from
Oct 18, 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
31 changes: 16 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Tests
on: [push,pull_request]
on: [push, pull_request]
jobs:
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
Expand All @@ -8,19 +8,20 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: '3.7'
plone-version: '5.2'
- python-version: '3.8'
plone-version: '5.2'
- python-version: '3.8'
plone-version: '6.0'
- python-version: '3.9'
plone-version: '6.0'
- python-version: '3.10'
plone-version: '6.0'
- python-version: '3.11'
plone-version: '6.0'

- python-version: "3.7"
plone-version: "5.2"
- python-version: "3.8"
plone-version: "5.2"
- python-version: "3.8"
plone-version: "6.0"
- python-version: "3.9"
plone-version: "6.0"
- python-version: "3.10"
plone-version: "6.0"
- python-version: "3.11"
plone-version: "6.0"
- python-version: "3.12"
plone-version: "6.0"
steps:
# git checkout
- uses: actions/checkout@v3
Expand All @@ -30,7 +31,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache: "pip"

# buildout eggs cache
- uses: actions/cache@v3
Expand Down
2 changes: 0 additions & 2 deletions base.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ allow-hosts =
files.pythonhosted.org
launchpad.net
code.google.com
robotframework.googlecode.com

[versions]
# Do not use a release of plone.restapi:
Expand All @@ -42,7 +41,6 @@ debug-exceptions = on
eggs =
Plone
Pillow
plone.app.debugtoolbar
plone.restapi [test]
environment-vars =
zope_i18n_compile_mo_files true
Expand Down
1 change: 1 addition & 0 deletions news/1722.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for Python 3.12 @tisto
5 changes: 5 additions & 0 deletions plone-6.0.x.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,8 @@ zodb-temporary-storage = off
[versions]
black = 22.3.0
pygments = 2.14.0
robotframework-browser = 17.5.2
robotframework-assertion-engine = 2.0.0
robotframework-debuglibrary = 2.3.0
robotframework-pythonlibcore = 4.2.0
grpcio-tools = 1.59.0
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def read(filename):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
],
Expand Down