Add python3.13 and python3.14 support
All checks were successful
CI / mypy (pull_request) Successful in 2m30s
CI / format (pull_request) Successful in 2m36s
CI / flake8 (pull_request) Successful in 2m43s
CI / python3.11 (pull_request) Successful in 2m53s
CI / python3.12 (pull_request) Successful in 2m15s
CI / python3.13 (pull_request) Successful in 3m6s
CI / python3.14 (pull_request) Successful in 3m11s

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2026-09-02 13:43:15 +02:00
commit 3ecf2ed4f5
3 changed files with 53 additions and 4 deletions

View file

@ -121,3 +121,51 @@ jobs:
- name: Run tox
run: |
tox -e py312
python3.13:
runs-on: podman
container:
image: quay.io/fedora/fedora:latest
steps:
- name: Install testing tools
run: |
dnf install -y tox nodejs git poetry
- name: Install dependencies
run: |
dnf install -y cairo-devel cairo-gobject-devel gobject-introspection-devel \
libmodulemd python3.13 python3.13-devel python3-pluggy python3-py \
libmemcached-devel krb5-devel
- name: Checkout code
uses: https://code.forgejo.org/actions/checkout@v6
with:
fetch-depth: 0
- name: Run tox
run: |
tox -e py313
python3.14:
runs-on: podman
container:
image: quay.io/fedora/fedora:latest
steps:
- name: Install testing tools
run: |
dnf install -y tox nodejs git poetry
- name: Install dependencies
run: |
dnf install -y cairo-devel cairo-gobject-devel gobject-introspection-devel \
libmodulemd python3.14 python3.14-devel python3-pluggy python3-py \
libmemcached-devel krb5-devel
- name: Checkout code
uses: https://code.forgejo.org/actions/checkout@v6
with:
fetch-depth: 0
- name: Run tox
run: |
tox -e py314

View file

@ -3177,11 +3177,12 @@ class TestCreateNewBranch:
"write access on the branch."
)
self.toddler.pagure_io.close_issue.assert_called_with(
self.toddler.forgejo.close_issue.assert_called_with(
"releng",
"fedora-scm-requests",
100,
namespace=scm_request_processor.PROJECT_NAMESPACE,
message=message,
reason="Processed",
labels=["Processed"],
)

View file

@ -1,5 +1,5 @@
[tox]
envlist = black,mypy,flake8,py3{11,12}
envlist = black,mypy,flake8,py3{11,12,13,14}
# If the user is missing an interpreter, don't fail
skip_missing_interpreters = True
skipsdist = True