Skip to content

Commit 1847091

Browse files
committed
Update Django and Python version support
1 parent 2b6618d commit 1847091

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ jobs:
99
strategy:
1010
max-parallel: 4
1111
matrix:
12-
python-version: [3.5, 3.6, 3.7]
13-
django-version: [1.11.*, 2.2.*]
12+
python-version:
13+
- "3.7"
14+
- "3.8"
15+
- "3.9"
16+
django-version:
17+
- "2.2"
18+
- "3.1"
1419

1520
steps:
1621
- uses: actions/checkout@v1
@@ -21,7 +26,7 @@ jobs:
2126
- name: Install dependencies
2227
run: |
2328
python -m pip install --upgrade pip setuptools
24-
pip install django==${{ matrix.django-version }}
29+
pip install django~=${{ matrix.django-version }}
2530
- name: Test with pytest
2631
run: python setup.py test
2732
- name: Codecov

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifier =
2626
include_package_data = True
2727
packages = stdimage
2828
install_requires =
29-
Django>=1.11
29+
Django>=2.2
3030
pillow>=2.5
3131
progressbar2>=3.0.0
3232
setup_requires =

0 commit comments

Comments
 (0)