From ceb615add6c8f5e9cf649396f5f5234eeb3432fa Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 5 Jun 2026 09:01:17 +0300 Subject: [PATCH 1/2] Build and test with Python 3.12 --- .github/workflows/testing.yml | 2 +- setup.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 2ff3730..d5205f4 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, '3.10', '3.11'] + python-version: ['3.12'] kiwitcms-url: [tcms.kiwitcms.org, public.tenant.kiwitcms.org] make-command: [ci, check-build, junit.xml] diff --git a/setup.py b/setup.py index 9270668..dc5e1ea 100644 --- a/setup.py +++ b/setup.py @@ -46,9 +46,7 @@ def get_version(): "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", From ff88122a5ea7ca7822a30e7762cfa66358cfd66c Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 5 Jun 2026 09:06:32 +0300 Subject: [PATCH 2/2] Shorten package wildcard to avoid collission between dashes/underscores --- tests/bin/check-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bin/check-build b/tests/bin/check-build index 9861156..6356b9a 100755 --- a/tests/bin/check-build +++ b/tests/bin/check-build @@ -69,7 +69,7 @@ echo "..... Trying to install the new tarball inside a virtualenv" $(which python) -m venv .venv/test-tarball source .venv/test-tarball/bin/activate pip install --upgrade setuptools pip future -pip install --no-binary :all: dist/kiwitcms-junit.xml-plugin*.tar.gz +pip install --no-binary :all: dist/kiwitcms*.tar.gz pip freeze | grep kiwitcms-junit.xml-plugin deactivate rm -rf .venv/ @@ -78,7 +78,7 @@ echo "..... Trying to install the new wheel inside a virtualenv" $(which python) -m venv .venv/test-wheel source .venv/test-wheel/bin/activate pip install --upgrade setuptools pip future -pip install --only-binary :all: dist/kiwitcms_junit.xml_plugin*.whl +pip install --only-binary :all: dist/kiwitcms*.whl pip freeze | grep kiwitcms-junit.xml-plugin deactivate rm -rf .venv/