From 71dd73b8cdcbde654522769b93c6a79f17f10355 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 5 Jun 2026 09:14:00 +0300 Subject: [PATCH 1/2] Build and test with Python 3.12 --- .github/workflows/pypi.yml | 2 +- .github/workflows/testing.yml | 2 +- setup.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 3870c72..c9f0889 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.11] + python-version: [3.12] steps: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5a5aebc..e39a683 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.11] + python-version: [3.12] make-command: [doc8, flake8, pylint, integration_test] kiwitcms-url: [tcms.kiwitcms.org, public.tenant.kiwitcms.org] diff --git a/setup.py b/setup.py index 8f44e0d..c307dfc 100644 --- a/setup.py +++ b/setup.py @@ -49,8 +49,7 @@ def get_version(): + " or later (GPLv3+)", "Operating System :: POSIX", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", - "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 7000967137b0109e271d51e2820a1e21286e3e72 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Fri, 5 Jun 2026 09:14:56 +0300 Subject: [PATCH 2/2] Deal with underscores/dashes in file names --- tests/check-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check-build b/tests/check-build index 2374eeb..de2f943 100755 --- a/tests/check-build +++ b/tests/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 -pip install --no-binary :all: dist/kiwitcms-robotframework-plugin*.tar.gz +pip install --no-binary :all: dist/kiwitcms*.tar.gz pip freeze | grep kiwitcms-robotframework-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 -pip install --only-binary :all: dist/kiwitcms_robotframework_plugin*.whl +pip install --only-binary :all: dist/kiwitcms*.whl pip freeze | grep kiwitcms-robotframework-plugin deactivate rm -rf .venv/