Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Upgrade exodus-cdn to Python3.11 runtime [RHELDST-18509]" #501

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.11
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.9'

- 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.11"
python-version: "3.9"

- 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.11
language_version: python3.9
- repo: https://github.com/pycqa/isort/
rev: 5.12.0
hooks:
- id: isort
language_version: python3.11
language_version: python3.9
2 changes: 1 addition & 1 deletion runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.11
python-3.9
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ 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.11",
python_requires=">=3.9",
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 python3.11 python3.11-pip /usr/bin/openssl /usr/bin/envsubst \
microdnf -y install shadow-utils python39 /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 = py311, static, docs
envlist = py39, static, docs

[testenv]
deps=
Expand Down Expand Up @@ -133,7 +133,7 @@ relative_files = true

[testenv:pip-compile]
deps = pip-tools
basepython = python3.11
basepython = python3.9
skip_install = true
skipsdist = true
commands =
Expand Down