Skip to content

Commit d5223ed

Browse files
committed
fix: restrict Django main to Python 3.11+ as requested
1 parent c347c14 commit d5223ed

File tree

2 files changed

+5
-37
lines changed

2 files changed

+5
-37
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
12+
python-version: ['3.9','3.10', '3.11', '3.12', '3.13']
1313
django-version: ['4.2', '5.0', '5.1', '5.2', 'main']
1414
os: [
1515
ubuntu-latest,
@@ -23,6 +23,8 @@ jobs:
2323
django-version: '5.2'
2424
- python-version: '3.9'
2525
django-version: 'main'
26+
- python-version: '3.10'
27+
django-version: 'main'
2628

2729
steps:
2830
- uses: actions/checkout@v5
@@ -48,38 +50,3 @@ jobs:
4850

4951
- name: Upload Coverage to Codecov
5052
uses: codecov/codecov-action@v5
51-
52-
53-
unit-tests-future-versions:
54-
# Runs for all Django/Python versions which are not yet supported
55-
runs-on: ${{ matrix.os }}
56-
strategy:
57-
fail-fast: false
58-
matrix:
59-
python-version: ['3.12', '3.13']
60-
django-version: [
61-
'https://github.com/django/django/archive/main.tar.gz'
62-
]
63-
os: [
64-
ubuntu-latest,
65-
]
66-
67-
steps:
68-
- uses: actions/checkout@v5
69-
- name: Set up Python ${{ matrix.python-version }}
70-
71-
uses: actions/setup-python@v6
72-
with:
73-
python-version: ${{ matrix.python-version }}
74-
- name: Install dependencies
75-
run: |
76-
python -m pip install --upgrade pip
77-
pip install ${{ matrix.django-version }} coverage setuptools
78-
python setup.py install
79-
80-
- name: Run coverage
81-
run: coverage run tests/settings.py
82-
continue-on-error: true
83-
84-
- name: Upload Coverage to Codecov
85-
uses: codecov/codecov-action@v5

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ envlist =
33
flake8
44
isort
55
py{39,310,311,312}-dj42
6-
py{310,311,312,313}-dj{50,51,52,main}
6+
py{310,311,312,313}-dj{50,51,52}
7+
py{311,312,313}-djmain
78

89
skip_missing_interpreters=True
910

0 commit comments

Comments
 (0)