Skip to content

Commit 1aa6bcc

Browse files
build: run workflows exclusively with ubuntu-latest and py11
Addresses both: #212 and #206
1 parent 71ce314 commit 1aa6bcc

File tree

6 files changed

+7
-11
lines changed

6 files changed

+7
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
matrix:
17-
os: [ubuntu-20.04]
18-
python-version: ['3.8', '3.11']
17+
os: [ubuntu-latest]
18+
python-version: ['3.11']
1919
toxenv: ["django42", "quality", "docs"]
2020

2121
steps:
@@ -37,7 +37,7 @@ jobs:
3737
run: tox
3838

3939
- name: Run coverage
40-
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'
40+
if: matrix.python-version == '3.11' && matrix.toxenv == 'django42'
4141
uses: codecov/codecov-action@v4
4242
with:
4343
flags: unittests

.github/workflows/pypi-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ on:
77
jobs:
88

99
push:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4
1515
- name: setup python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.8
18+
python-version: 3.11
1919

2020
- name: Install pip
2121
run: pip install -r requirements/pip.txt

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: "ubuntu-22.04"
1010
tools:
11-
python: "3.8"
11+
python: "3.11"
1212

1313
# Build documentation in the docs/ directory with Sphinx
1414
sphinx:

requirements/constraints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@
1010

1111
# Common constraints for edx repos
1212
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
13-
14-
# Temporary to Support the python 3.11 Upgrade
15-
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ def is_requirement(line):
157157
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
158158
"Natural Language :: English",
159159
"Programming Language :: Python :: 3",
160-
"Programming Language :: Python :: 3.8",
161160
"Programming Language :: Python :: 3.11",
162161
],
163162
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38, 311}-django{42}, quality, docs
2+
envlist = py{311}-django{42}, quality, docs
33

44

55
[doc8]

0 commit comments

Comments
 (0)