diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 6dd43de..a4a2fa6 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -18,7 +18,7 @@ jobs: # note: always use the -latest OS variants b/c if conditions # match them as literals os: [ubuntu-latest] - python-version: [3.9] + python-version: [3.11] steps: diff --git a/docker-compose.yml b/docker-compose.yml index ff330fe..76f21f6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: restart: always volumes: - web_kiwitcms_org_coverage:/coverage - - ./social_auth_kerberos/:/venv/lib64/python3.9/site-packages/social_auth_kerberos/:z,ro + - ./social_auth_kerberos/:/venv/lib64/python3.11/site-packages/social_auth_kerberos/:z,ro volumes: web_kiwitcms_org_coverage: diff --git a/setup.py b/setup.py index 5df10de..eb775c4 100644 --- a/setup.py +++ b/setup.py @@ -27,5 +27,7 @@ def get_long_description(): "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.11", ], ) diff --git a/tests/Dockerfile.kiwitcms b/tests/Dockerfile.kiwitcms index 0dbd2e9..d82b324 100644 --- a/tests/Dockerfile.kiwitcms +++ b/tests/Dockerfile.kiwitcms @@ -1,18 +1,18 @@ FROM kiwitcms/kiwi USER 0 -RUN microdnf -y --nodocs install gcc krb5-devel python3-devel psmisc && \ +RUN microdnf -y --nodocs install gcc krb5-devel python3.11-devel psmisc && \ microdnf clean all && mkdir /coverage && chown 1001:0 /coverage USER 1001 -RUN pip install --no-cache-dir social-auth-app-django gssapi coverage +RUN pip3 install --no-cache-dir social-auth-app-django gssapi coverage COPY /.coveragerc /Kiwi/.coveragerc -COPY ./kiwitcms_kerberos/ /venv/lib64/python3.9/site-packages/kiwitcms_kerberos/ -COPY ./kiwitcms_kerberos/kerberos_settings.py /venv/lib64/python3.9/site-packages/tcms_settings_dir/ +COPY ./kiwitcms_kerberos/ /venv/lib64/python3.11/site-packages/kiwitcms_kerberos/ +COPY ./kiwitcms_kerberos/kerberos_settings.py /venv/lib64/python3.11/site-packages/tcms_settings_dir/ # prepare DB during build b/c after turning on coverage this will be slow RUN /Kiwi/manage.py migrate && \ /Kiwi/manage.py createsuperuser --noinput --username super-root --email root@example.com -COPY ./sitecustomize.py /venv/lib/python3.9/site-packages/sitecustomize.py +COPY ./sitecustomize.py /venv/lib/python3.11/site-packages/sitecustomize.py