Skip to content

Commit 33a3d49

Browse files
Bump deps, add official Django 3.2 and Py3.9/3.10 support (#189)
* Bump deps and versions * Add missing pythonVersion * Add "test_project." app prefix, required under 3.2
1 parent 0e7a0d4 commit 33a3d49

4 files changed

Lines changed: 19 additions & 16 deletions

File tree

ā€Žci/azure-pipelines.ymlā€Ž

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resources:
44
type: github
55
endpoint: github
66
name: florimondmanca/azure-pipelines-templates
7-
ref: refs/tags/3.4
7+
ref: refs/tags/4.0
88
containers:
99
- container: pg11
1010
image: postgres:11
@@ -34,11 +34,11 @@ stages:
3434
jobs:
3535
- template: job--python-check.yml@templates
3636
parameters:
37-
pythonVersion: "3.8"
37+
pythonVersion: "3.10"
3838

3939
- template: job--python-docs-build.yml@templates
4040
parameters:
41-
pythonVersion: "3.8"
41+
pythonVersion: "3.10"
4242

4343
- template: job--python-test.yml@templates
4444
parameters:
@@ -47,14 +47,14 @@ stages:
4747
variables:
4848
DJANGO_VERSION: "2.2.*"
4949

50-
py37_dj30:
50+
py37_dj32:
5151
variables:
52-
DJANGO_VERSION: "3.0.*"
52+
DJANGO_VERSION: "3.2.*"
5353

54-
py38_dj30:
54+
py310_dj32:
5555
coverage: true
5656
variables:
57-
DJANGO_VERSION: "3.0.*"
57+
DJANGO_VERSION: "3.2.*"
5858

5959
py38_windows:
6060
os: windows
@@ -71,3 +71,4 @@ stages:
7171
- template: job--python-publish.yml@templates
7272
parameters:
7373
token: $(pypiToken)
74+
pythonVersion: "3.10"

ā€Žrequirements.txtā€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-e .
22

33
# Django environment.
4-
django[argon2,bcrypt]==3.0.*
5-
djangorestframework==3.10.*
4+
django[argon2,bcrypt]==3.2.*
5+
djangorestframework==3.12.*
66
dj-database-url
77
django-dotenv
88

@@ -15,16 +15,16 @@ wheel
1515

1616
# Tooling.
1717
autoflake
18-
black==20.8b1
18+
black==21.11b1
1919
flake8
2020
flake8-bugbear
2121
flake8-comprehensions
2222
isort==5.*
2323
mkdocs==1.*
24-
mkdocs-material==4.*
25-
pymdown-extensions==6.*
24+
mkdocs-material==8.*
25+
pymdown-extensions==9.*
2626
mypy
27-
pytest==5.*
28-
pytest-django==3.5.*
27+
pytest==6.*
28+
pytest-django==4.*
2929
pytest-cov
3030
seed-isort-config

ā€Žsetup.pyā€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ def get_long_description() -> str:
4444
"Programming Language :: Python :: 3.6",
4545
"Programming Language :: Python :: 3.7",
4646
"Programming Language :: Python :: 3.8",
47+
"Programming Language :: Python :: 3.9",
48+
"Programming Language :: Python :: 3.10",
4749
"Environment :: Web Environment",
4850
"Topic :: Software Development :: Libraries :: Python Modules",
4951
"Framework :: Django",
5052
"Framework :: Django :: 2.2",
51-
"Framework :: Django :: 3.0",
53+
"Framework :: Django :: 3.2",
5254
],
5355
)

ā€Žtest_project/heroes/apps.pyā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
class HeroesConfig(AppConfig):
5-
name = "heroes"
5+
name = "test_project.heroes"

0 commit comments

Comments
Ā (0)
⚔