Skip to content

Commit

Permalink
Test Python 3.12 on GHA (#1722)
Browse files Browse the repository at this point in the history
* Test Python 3.12 on GHA
* Remove p.a.robotframework and debugtoolbar
* We still need robot for the p.a.contenttypes dep
* Pin robotframework-assertion-library
* Pin more robotframework libs
* Add changelog for #1722
  • Loading branch information
tisto committed Oct 18, 2023
1 parent 1eb8e44 commit 817b859
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 17 deletions.
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

0 comments on commit 817b859

Please sign in to comment.