Skip to content

Commit 9ec9030

Browse files
vchrisbcodingjoe
andcommitted
Update CI suite to Django 3.2 - 4.0 and Python 3.8 - 3.10
Co-Authored-By: codingjoe <[email protected]>
1 parent b4f1445 commit 9ec9030

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

.github/workflows/ci.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,12 @@ jobs:
5454
strategy:
5555
matrix:
5656
python-version:
57-
- "3.7"
5857
- "3.8"
5958
- "3.9"
59+
- "3.10"
6060
django-version:
61-
- "2.2.0"
62-
- "3.1.0"
63-
- "3.2.0"
64-
61+
- "3.2a"
62+
- "4.0a"
6563
steps:
6664
- name: Set up Python ${{ matrix.python-version }}
6765
uses: actions/setup-python@v3
@@ -70,9 +68,9 @@ jobs:
7068
- uses: actions/checkout@v3
7169
- name: Upgrade Python setuptools
7270
run: python -m pip install --upgrade pip setuptools wheel codecov
71+
- run: python setup.py develop
7372
- name: Install Django ${{ matrix.django-version }}
7473
run: python -m pip install "django~=${{ matrix.django-version }}"
75-
- run: python setup.py develop
7674
- name: Run tests
7775
run: python setup.py test
7876
- run: codecov

setup.cfg

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ classifier =
1515
License :: OSI Approved :: MIT License
1616
Operating System :: OS Independent
1717
Framework :: Django
18-
Framework :: Django :: 2.2
19-
Framework :: Django :: 3.1
2018
Framework :: Django :: 3.2
19+
Framework :: Django :: 4.0
2120
Programming Language :: Python
2221
Programming Language :: Python :: 3
23-
Programming Language :: Python :: 3.7
22+
Programming Language :: Python :: 3 :: Only
2423
Programming Language :: Python :: 3.8
2524
Programming Language :: Python :: 3.9
25+
Programming Language :: Python :: 3.10
2626
keywords =
2727
django
2828
django-storages
2929
file
3030

3131
[options]
3232
install_requires =
33-
django>=2.2
33+
django>=3.2
3434
setup_requires =
3535
setuptools_scm
3636
pytest-runner

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)