diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 0e44709..74e2985 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index dc31308..28f921c 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - uses: actions/checkout@v6 @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - uses: actions/checkout@v6 @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] kiwitcms-url: [tcms.kiwitcms.org, public.tenant.kiwitcms.org] steps: @@ -114,7 +114,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - uses: actions/checkout@v6 diff --git a/README.rst b/README.rst index 8d5ada9..2c6faba 100644 --- a/README.rst +++ b/README.rst @@ -65,6 +65,18 @@ Product configuration Changelog --------- +v4.7.0 (05 Jun 2026) +~~~~~~~~~~~~~~~~~~~~ + +- Update codecov/codecov-action from 5 to 6 +- Update github/codeql-action from 3 to 4 +- Update actions/checkout from 4 to 6 +- Update actions/setup-python from 5 to 6 +- Update actions/upload-artifact from 4 to 7 +- Remove more restrictions on setuptools version +- Build and test with Python 3.12 + + v4.6.0 (23 May 2026) ~~~~~~~~~~~~~~~~~~~~ diff --git a/docker-compose.yml b/docker-compose.yml index dec0f1d..81ce475 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,7 +33,7 @@ services: - 80:8080 - 443:8443 volumes: - - ./test_project/settings.py:/venv/lib64/python3.11/site-packages/tcms_settings_dir/zzz_test_settings.py:z,ro + - ./test_project/settings.py:/venv/lib64/python3.12/site-packages/tcms_settings_dir/zzz_test_settings.py:z,ro environment: QUAY_IO_TOKEN: test-me KIWI_TENANTS_DOMAIN: testing.example.bg diff --git a/setup.py b/setup.py index 47f9727..fe74fa2 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def get_install_requires(path): setup( name="kiwitcms-github-marketplace", - version="4.6.0", + version="4.7.0", description="GitHub Marketplace integration for Kiwi TCMS", long_description=get_long_description(), author="Kiwi TCMS", @@ -47,8 +47,6 @@ def get_install_requires(path): "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], ) diff --git a/test_project/sanity-check.sh b/test_project/sanity-check.sh index 4f18635..4b90751 100755 --- a/test_project/sanity-check.sh +++ b/test_project/sanity-check.sh @@ -1,6 +1,6 @@ #!/bin/bash -xe -# Copyright (c) 2024 Alexander Todorov +# Copyright (c) 2024-2026 Alexander Todorov # # Licensed under GNU Affero General Public License v3 or later (AGPLv3+) # https://www.gnu.org/licenses/agpl-3.0.html @@ -18,8 +18,8 @@ sudo sh -c "echo '$IP_ADDRESS testing.example.bg' >> /etc/hosts" echo "----- Initial setup ----" # need to monkey-patch createsuperuser.py b/c it rejects input when not using a TTY -docker exec -i web sed -i "s/raise NotRunningInTTYException/pass/" /venv/lib64/python3.11/site-packages/django/contrib/auth/management/commands/createsuperuser.py -docker exec -i web sed -i "s/getpass.getpass/input/" /venv/lib64/python3.11/site-packages/django/contrib/auth/management/commands/createsuperuser.py +docker exec -i web sed -i "s/raise NotRunningInTTYException/pass/" /venv/lib64/python3.12/site-packages/django/contrib/auth/management/commands/createsuperuser.py +docker exec -i web sed -i "s/getpass.getpass/input/" /venv/lib64/python3.12/site-packages/django/contrib/auth/management/commands/createsuperuser.py echo -e "super-root\nroot@example.com\nsecret-2a9a34cd-e51d-4039-b709-b45f629a5595\nsecret-2a9a34cd-e51d-4039-b709-b45f629a5595\n" | docker exec -i web /Kiwi/manage.py initial_setup