Skip to content

Commit e487679

Browse files
committed
test with django 4 and python 3.10
1 parent b4f1445 commit e487679

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/ci.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,19 @@ jobs:
5757
- "3.7"
5858
- "3.8"
5959
- "3.9"
60+
- "3.10"
6061
django-version:
61-
- "2.2.0"
62-
- "3.1.0"
63-
- "3.2.0"
64-
62+
- "2.2.*"
63+
- "3.1.*"
64+
- "3.2.*"
65+
- "4.0.*"
66+
exclude:
67+
- python-version: "3.7"
68+
django-version: "4.0.*"
69+
- python-version: "3.10"
70+
django-version: "3.1.*"
71+
- python-version: "3.10"
72+
django-version: "2.2.*"
6573
steps:
6674
- name: Set up Python ${{ matrix.python-version }}
6775
uses: actions/setup-python@v3
@@ -71,7 +79,7 @@ jobs:
7179
- name: Upgrade Python setuptools
7280
run: python -m pip install --upgrade pip setuptools wheel codecov
7381
- name: Install Django ${{ matrix.django-version }}
74-
run: python -m pip install "django~=${{ matrix.django-version }}"
82+
run: python -m pip install "django==${{ matrix.django-version }}"
7583
- run: python setup.py develop
7684
- name: Run tests
7785
run: python setup.py test

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ classifier =
1818
Framework :: Django :: 2.2
1919
Framework :: Django :: 3.1
2020
Framework :: Django :: 3.2
21+
Framework :: Django :: 4.0
2122
Programming Language :: Python
2223
Programming Language :: Python :: 3
2324
Programming Language :: Python :: 3.7
2425
Programming Language :: Python :: 3.8
2526
Programming Language :: Python :: 3.9
27+
Programming Language :: Python :: 3.10
2628
keywords =
2729
django
2830
django-storages

tests/testapp/settings.py

-2
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@
112112

113113
USE_I18N = True
114114

115-
USE_L10N = True
116-
117115
USE_TZ = True
118116

119117

0 commit comments

Comments
 (0)