Skip to content

Commit 901dbeb

Browse files
committed
Drop Django and Python EOL versions
1 parent 4848948 commit 901dbeb

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

Diff for: .github/workflows/ci.yml

+4-14
Original file line numberDiff line numberDiff line change
@@ -82,25 +82,15 @@ jobs:
8282
strategy:
8383
matrix:
8484
python-version:
85-
- "3.7"
8685
- "3.8"
8786
- "3.9"
88-
- "3.10"
87+
- "3.10"
8988
django-version:
90-
- "2.2.*"
91-
- "3.1.*"
92-
- "3.2.*"
93-
- "4.0.*"
89+
- "3.2a"
90+
- "4.0a"
9491
extra:
9592
- ""
9693
- "progressbar"
97-
exclude:
98-
- python-version: "3.7"
99-
django-version: "4.0.*"
100-
- python-version: "3.10"
101-
django-version: "3.1.*"
102-
- python-version: "3.10"
103-
django-version: "2.2.*"
10494
steps:
10595
- name: Set up Python ${{ matrix.python-version }}
10696
uses: actions/setup-python@v3
@@ -111,7 +101,7 @@ jobs:
111101
- run: python -m pip install --upgrade pip setuptools codecov wheel
112102
- run: python -m pip install .[${{ matrix.extra }}]
113103
if: ${{ matrix.extra }}
114-
- run: python -m pip install django==${{ matrix.django-version }}
104+
- run: python -m pip install django~=${{ matrix.django-version }}
115105
- name: Test with pytest
116106
run: python setup.py test
117107
- run: codecov

Diff for: setup.cfg

+1-4
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,14 @@ classifier =
2020
Topic :: Software Development
2121
Programming Language :: Python :: 3
2222
Programming Language :: Python :: 3 :: Only
23-
Programming Language :: Python :: 3.7
2423
Programming Language :: Python :: 3.8
2524
Programming Language :: Python :: 3.9
2625
Programming Language :: Python :: 3.10
2726
Framework :: Django
28-
Framework :: Django :: 2.2
29-
Framework :: Django :: 3.1
3027
Framework :: Django :: 3.2
3128
Framework :: Django :: 4.0
3229

33-
python_requires = >=3.7
30+
python_requires = >=3.8
3431

3532
[options]
3633
include_package_data = True

0 commit comments

Comments
 (0)