Skip to content

Commit 1769226

Browse files
committed
Bump minimum supported Python to 3.9
1 parent 9ab4526 commit 1769226

File tree

2 files changed

+2
-37
lines changed

2 files changed

+2
-37
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -89,42 +89,6 @@ jobs:
8989
token: ${{ secrets.CODECOV_TOKEN }}
9090
fail_ci_if_error: true
9191

92-
rhel8-system-python:
93-
name: rhel8-system-python
94-
runs-on: ubuntu-latest
95-
container: "almalinux:8"
96-
steps:
97-
- name: Install System Python and Git
98-
run: yum install -y python3-devel python3-pip python3 git
99-
- uses: actions/checkout@v4
100-
- name: Install Testing Requirements
101-
run: python3 -m pip install nox
102-
- name: Run Tests
103-
run: python3 -m nox -e tests
104-
# - name: Upload to codecov
105-
# uses: codecov/codecov-action@v5
106-
# with:
107-
# token: ${{ secrets.CODECOV_TOKEN }}
108-
# fail_ci_if_error: true
109-
110-
rhel8-appstream-py38:
111-
name: rhel8-appstream-py38
112-
runs-on: ubuntu-latest
113-
container: "almalinux:8"
114-
steps:
115-
- name: Install Python 3.8 and Git from AppStream
116-
run: yum install -y python38-devel python38-pip python38-pip-wheel python38 git
117-
- uses: actions/checkout@v4
118-
- name: Install Testing Requirements
119-
run: python3.8 -m pip install nox
120-
- name: Run Tests
121-
run: python3.8 -m nox -e tests
122-
# - name: Upload to codecov
123-
# uses: codecov/codecov-action@v5
124-
# with:
125-
# token: ${{ secrets.CODECOV_TOKEN }}
126-
# fail_ci_if_error: true
127-
12892
rhel8-appstream-py39:
12993
name: rhel8-appstream-py39
13094
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ classifiers = [
1212
"Programming Language :: Python :: 3",
1313
"Topic :: Software Development :: Libraries",
1414
]
15+
requires-python = ">=3.9"
1516
dynamic = ["version"]
1617

1718
[project.readme]
@@ -33,7 +34,7 @@ include-package-data = false
3334
version = {attr = "find_libpython.__version__"}
3435

3536
[tool.ruff]
36-
target-version = "py37"
37+
target-version = "py39"
3738

3839
[tool.ruff.lint]
3940
select = [

0 commit comments

Comments
 (0)