Skip to content

Commit 8cd7192

Browse files
committed
Upgrade to Python 3.14 and lxml 6
1 parent 106bc48 commit 8cd7192

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defaults:
1717
shell: bash
1818

1919
env:
20-
PYTHON_VERSION: 3.12
20+
PYTHON_VERSION: 3.14
2121
TARGET_BRANCH: ${{ github.event.release.target_commitish }}
2222
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
2323
TAG_NAME: ${{ github.ref_name }}
@@ -29,14 +29,14 @@ jobs:
2929
steps:
3030
- name: Check whether release target branch is default branch
3131
if: env.TARGET_BRANCH != env.DEFAULT_BRANCH
32-
uses: actions/github-script@v7
32+
uses: actions/github-script@v8
3333
with:
3434
script: |
3535
core.setFailed('Target branch (${{ env.TARGET_BRANCH }}) is not default branch (${{ env.DEFAULT_BRANCH }}).')
3636
37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v6
3838

39-
- uses: actions/setup-python@v5
39+
- uses: actions/setup-python@v6
4040
with:
4141
python-version: ${{ env.PYTHON_VERSION }}
4242

@@ -46,7 +46,7 @@ jobs:
4646

4747
- name: Check whether current tag matches package version
4848
if: env.TAG_NAME != env.PKG_VER
49-
uses: actions/github-script@v7
49+
uses: actions/github-script@v8
5050
with:
5151
script: |
5252
core.setFailed('Tag name (${{ env.TAG_NAME }}) does not match package version (${{ env.PKG_VER }}).')

.github/workflows/workflow.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ defaults:
1515
shell: bash
1616

1717
env:
18-
PYTHON_VERSIONS: '["3.8", "3.9", "3.10", "3.11", "3.12"]'
19-
POETRY_VERSION: 1.8.3
18+
PYTHON_VERSIONS: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
19+
POETRY_VERSION: 2.2.1
2020

2121
jobs:
2222
# workaround since matrix can not access `env` but can access `needs`
@@ -35,13 +35,13 @@ jobs:
3535
python-version: ${{ fromJSON(needs.python-versions.outputs.versions) }}
3636
runs-on: "ubuntu-latest"
3737
steps:
38-
- uses: actions/checkout@v4
39-
- uses: actions/setup-python@v5
38+
- uses: actions/checkout@v6
39+
- uses: actions/setup-python@v6
4040
with:
4141
python-version: ${{ matrix.python-version }}
4242
- run: curl -sSL https://install.python-poetry.org | python3 -
4343
- run: poetry lock
44-
- uses: actions/cache@v4
44+
- uses: actions/cache@v5
4545
with:
4646
path: poetry.lock
4747
key: ${{ github.sha }}-${{ matrix.python-version }}
@@ -53,12 +53,12 @@ jobs:
5353
python-version: ${{ fromJSON(needs.python-versions.outputs.versions) }}
5454
runs-on: "ubuntu-latest"
5555
steps:
56-
- uses: actions/checkout@v4
57-
- uses: actions/setup-python@v5
56+
- uses: actions/checkout@v6
57+
- uses: actions/setup-python@v6
5858
with:
5959
python-version: ${{ matrix.python-version }}
6060
- run: curl -sSL https://install.python-poetry.org | python3 -
61-
- uses: actions/cache@v4
61+
- uses: actions/cache@v5
6262
with:
6363
path: poetry.lock
6464
key: ${{ github.sha }}-${{ matrix.python-version }}
@@ -75,12 +75,12 @@ jobs:
7575
python-version: ${{ fromJSON(needs.python-versions.outputs.versions) }}
7676
runs-on: "ubuntu-latest"
7777
steps:
78-
- uses: actions/checkout@v4
79-
- uses: actions/setup-python@v5
78+
- uses: actions/checkout@v6
79+
- uses: actions/setup-python@v6
8080
with:
8181
python-version: ${{ matrix.python-version }}
8282
- run: curl -sSL https://install.python-poetry.org | python3 -
83-
- uses: actions/cache@v4
83+
- uses: actions/cache@v5
8484
with:
8585
path: poetry.lock
8686
key: ${{ github.sha }}-${{ matrix.python-version }}

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"Intended Audience :: Developers",
1313
"License :: OSI Approved :: Apache Software License",
14+
"Programming Language :: Python :: 3.14",
15+
"Programming Language :: Python :: 3.13",
1416
"Programming Language :: Python :: 3.12",
1517
"Programming Language :: Python :: 3.11",
1618
"Programming Language :: Python :: 3.10",
17-
"Programming Language :: Python :: 3.9",
18-
"Programming Language :: Python :: 3.8",
1919
"Programming Language :: Python :: 3 :: Only",
2020
"Topic :: Security :: Cryptography",
2121
"Topic :: Text Processing :: Markup :: XML",
2222
"Typing :: Typed"
2323
]
2424

2525
[tool.poetry.dependencies]
26-
python = "^3.8"
27-
cryptography = ">=2.8"
28-
lxml = "^5.0"
29-
defusedxml = ">=0.6.0"
26+
python = "^3.10"
27+
cryptography = ">=46.0"
28+
lxml = "^6.0"
29+
defusedxml = ">=0.7.1"
3030

3131
[tool.poetry.group.dev.dependencies]
3232
pytest = ">=5.2"

0 commit comments

Comments
 (0)