Skip to content

Commit

Permalink
Merge pull request #499 from crungehottman/py311
Browse files Browse the repository at this point in the history
Upgrade exodus-cdn to Python3.11 runtime [RHELDST-18509]
  • Loading branch information
crungehottman authored Sep 19, 2023
2 parents d53738d + df7f84a commit d7d55e3
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pip-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.9
python-3.11
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion support/fakefront/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . \
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py39, static, docs
envlist = py311, static, docs

[testenv]
deps=
Expand Down Expand Up @@ -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 =
Expand Down

0 comments on commit d7d55e3

Please sign in to comment.