From 51909f98985be52b1118af64ba0cd87cebd09faf Mon Sep 17 00:00:00 2001 From: studioj <22102283+studioj@users.noreply.github.com> Date: Sat, 13 Sep 2025 14:44:54 +0200 Subject: [PATCH 1/3] feat: add support for Python 3.13 in CI configurations and metadata --- .github/workflows/jira_cloud_ci.yml | 2 +- .github/workflows/jira_server_ci.yml | 2 +- .github/workflows/tox.yml | 5 +++-- pyproject.toml | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jira_cloud_ci.yml b/.github/workflows/jira_cloud_ci.yml index d237963f5..00560ba4d 100644 --- a/.github/workflows/jira_cloud_ci.yml +++ b/.github/workflows/jira_cloud_ci.yml @@ -34,7 +34,7 @@ jobs: os: [ubuntu-latest] # We only test a single version to prevent concurrent # running of tests influencing one another - python-version: ["3.10"] + python-version: ["3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/jira_server_ci.yml b/.github/workflows/jira_server_ci.yml index 56f8e3eb6..2fba509f0 100644 --- a/.github/workflows/jira_server_ci.yml +++ b/.github/workflows/jira_server_ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12", "3.13"] jira-version: [8.17.1] steps: diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 56f1c5b03..42e28ffbc 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -34,7 +34,7 @@ jobs: uses: coactions/dynamic-matrix@v4 with: min_python: "3.10" - max_python: "3.12" + max_python: "3.13" default_python: "3.10" other_names: | lint @@ -44,6 +44,7 @@ jobs: py310:tox -e py310 -- -k test_unit py311:tox -e py311 -- -k test_unit py312:tox -e py312 -- -k test_unit + py313:tox -e py313 -- -k test_unit py310-macos:tox -e py310 -- -k test_unit py312-macos:tox -e py312 -- -k test_unit # ^ macos is also used to validate arm64 building @@ -165,7 +166,7 @@ jobs: - name: Check for expected number of coverage.xml reports run: | - JOBS_PRODUCING_COVERAGE=5 + JOBS_PRODUCING_COVERAGE=6 if [ "$(find . -name coverage.xml | wc -l | bc)" -ne "${JOBS_PRODUCING_COVERAGE}" ]; then echo "::error::Number of coverage.xml files was not the expected one (${JOBS_PRODUCING_COVERAGE}): $(find . -name coverage.xml |xargs echo)" exit 1 diff --git a/pyproject.toml b/pyproject.toml index 8e550d29b..baded23fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Internet :: WWW/HTTP" ] From c594eee6f0a130d591a7ffddb35ce68d320543d5 Mon Sep 17 00:00:00 2001 From: studioj <22102283+studioj@users.noreply.github.com> Date: Sat, 13 Sep 2025 16:20:48 +0200 Subject: [PATCH 2/3] fix: increase timeout for Jira instance to 30 minutes --- make_local_jira_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_local_jira_user.py b/make_local_jira_user.py index cdf602f04..b25746e0f 100644 --- a/make_local_jira_user.py +++ b/make_local_jira_user.py @@ -40,7 +40,7 @@ def add_user_to_jira(): sys.exit() start_time = time.time() - timeout_mins = 15 + timeout_mins = 30 print( "waiting for instance of jira to be running, to add a user for CI system:\n" f" timeout = {timeout_mins} mins" From 79719abdb067f4a7005c05eae9762e533463e0d4 Mon Sep 17 00:00:00 2001 From: studioj <22102283+studioj@users.noreply.github.com> Date: Sat, 13 Sep 2025 16:21:26 +0200 Subject: [PATCH 3/3] fix: update CI matrix to remove Python 3.11 and 3.12 from jira_server_ci.yml so we only test the boundary python versions --- .github/workflows/jira_server_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jira_server_ci.yml b/.github/workflows/jira_server_ci.yml index 2fba509f0..1b815d45a 100644 --- a/.github/workflows/jira_server_ci.yml +++ b/.github/workflows/jira_server_ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.13"] jira-version: [8.17.1] steps: