Skip to content

Commit

Permalink
Build with Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiX committed Oct 8, 2024
1 parent e62104f commit d0dc186
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:
- pull_request

env:
DEFAULT_PYTHON: '3.12'
DEFAULT_PYTHON: '3.13'

jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'

- name: Build
run: |
Expand Down
3 changes: 2 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
def pys = [
[name: 'Python 3.12', docker: '3.12-bookworm', tox:'py312,flake8', main: true],
[name: 'Python 3.13', docker: '3.13-bookworm', tox:'py313,flake8', main: true],
[name: 'Python 3.12', docker: '3.12-bookworm', tox:'py312', main: false],
[name: 'Python 3.11', docker: '3.11-bookworm', tox:'py311', main: false],
[name: 'Python 3.10', docker: '3.10-bookworm', tox:'py310', main: false],
[name: 'Python 3.9', docker: '3.9-bookworm', tox:'py39', main: false],
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Multimedia :: Graphics",
]
Expand Down
2 changes: 1 addition & 1 deletion tests/modules/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node {
stage ('Run tests') {
timeout(time: 12, unit: 'HOURS') {
withCredentials([string(credentialsId: 'proxymap', variable: 'PROXYMAP')]) {
sh 'podman run --rm -v $PWD:/work --userns=keep-id docker.io/python:3.12-bookworm /work/tests/modules/testall.sh'
sh 'podman run --rm -v $PWD:/work --userns=keep-id docker.io/python:3.13-bookworm /work/tests/modules/testall.sh'
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, py39, py310, py311, py312, flake8
envlist = py38, py39, py310, py311, py312, py313, flake8
isolated_build = True

[gh-actions]
Expand All @@ -8,7 +8,8 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312, flake8
3.12: py312
3.13: py313, flake8

[testenv]
commands =
Expand Down

0 comments on commit d0dc186

Please sign in to comment.