diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbb3ca3f..d41a3daf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.11' - name: Install dependencies run: | diff --git a/.github/workflows/pip-compile.yml b/.github/workflows/pip-compile.yml index b38a7872..bebcd1c5 100644 --- a/.github/workflows/pip-compile.yml +++ b/.github/workflows/pip-compile.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.11" - name: Install tox run: pip install tox diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80b9241f..8823a396 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,9 +3,9 @@ repos: rev: 23.9.1 hooks: - id: black - language_version: python3.9 + language_version: python3.11 - repo: https://github.com/pycqa/isort/ rev: 5.12.0 hooks: - id: isort - language_version: python3.9 + language_version: python3.11 diff --git a/runtime.txt b/runtime.txt index 8fdd9071..67ebc4e9 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.9 +python-3.11 diff --git a/setup.py b/setup.py index 6bead684..cef1239e 100644 --- a/setup.py +++ b/setup.py @@ -33,9 +33,10 @@ def get_requirements(): "Development Status :: 4 - Beta", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", ], install_requires=get_requirements(), - python_requires=">=3.9", + python_requires=">=3.11", project_urls={ "Documentation": "https://release-engineering.github.io/exodus-lambda" }, diff --git a/support/fakefront/Containerfile b/support/fakefront/Containerfile index 83e6fdb2..70598e8f 100644 --- a/support/fakefront/Containerfile +++ b/support/fakefront/Containerfile @@ -3,7 +3,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal@sha256:8d43664c250c72d35af8498c COPY . /usr/local/src/exodus-lambda RUN \ - microdnf -y install shadow-utils python39 /usr/bin/openssl /usr/bin/envsubst \ + microdnf -y install shadow-utils python3.11 python3.11-pip /usr/bin/openssl /usr/bin/envsubst \ && cd /usr/local/src/exodus-lambda \ && pip3 install --require-hashes -r requirements-fakefront.txt \ && pip3 install --editable . \ diff --git a/tox.ini b/tox.ini index d0b688b7..78c79aae 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py39, static, docs +envlist = py311, static, docs [testenv] deps= @@ -133,7 +133,7 @@ relative_files = true [testenv:pip-compile] deps = pip-tools -basepython = python3.9 +basepython = python3.11 skip_install = true skipsdist = true commands =