Skip to content

Commit

Permalink
Merge pull request #155 from collective/update_gha
Browse files Browse the repository at this point in the history
Update gha, test Python3.12 for Plone 6.0.10+
  • Loading branch information
mauritsvanrees authored Apr 16, 2024
2 parents 4746d71 + 7882b89 commit 98323e4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
plone:
- "6.0-dev"
- "6.0-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Plone ${{ matrix.plone }} with Python ${{ matrix.python }}
id: setup
uses: plone/setup-plone@v1.0.0
uses: plone/setup-plone@v2.0.0
with:
python-version: ${{ matrix.python }}
plone-version: ${{ matrix.plone }}

setuptools-version: 69.5.1
additional-eggs: 'setuptools'
- name: Install package
run: |
make install
Expand Down
2 changes: 1 addition & 1 deletion constraints.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
-c https://dist.plone.org/release/6.0-dev/constraints.txt
-c https://dist.plone.org/release/6.0-latest/constraints.txt
1 change: 1 addition & 0 deletions docs/155.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Replace configparser.readfp with readfile for Python 3.12 compatibility [@fredvd]
4 changes: 2 additions & 2 deletions mx.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ requirements-out = requirements-mxdev.txt
# ignore own dev-package from existing constraints
# because it is pinned in the plone-release
ignores =
setuptools
pip
wheel
collective.taxonomy

version-overrides =
version-overrides =
setuptools==69.5.1

default-install-mode = direct

Expand Down
2 changes: 1 addition & 1 deletion src/collective/taxonomy/exportimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def parseConfigFile(data):
except Exception as exception:
raise exception

config.readfp(StringIO(data.decode("utf-8")))
config.read_file(StringIO(data.decode("utf-8")))
return config


Expand Down

0 comments on commit 98323e4

Please sign in to comment.