Skip to content

Commit 8b15ade

Browse files
committed
Upgrade python dependencies, which includes upgrading from Django 3 to 5
1 parent 85a4c63 commit 8b15ade

File tree

5 files changed

+127
-95
lines changed

5 files changed

+127
-95
lines changed

prefix_finder/frontend/urls.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
from django.conf.urls import url
1+
from django.urls import include, path
22
from django.views.generic import TemplateView
33
from django.views.generic.base import RedirectView
44

55
from . import views
66

77
urlpatterns = [
8-
url(r'^$', views.home, name='home'),
9-
url(r'^results$', views.results, name='results'),
10-
url(r'^_update_lists$', views.update_lists, name='update_lists'),
11-
url(r'^_preview_branch/([A-Za-z0-9-]+)$', views.preview_branch, name='preview_branch'),
12-
url(r'^terms', TemplateView.as_view(template_name='terms.html'), name='terms'),
13-
url(r'^about', TemplateView.as_view(template_name='about.html'), name='about'),
14-
url(r'^list/(.+)$', views.list_details, name='list'),
15-
url(r'^download$', RedirectView.as_view(url='/results', permanent=False), name='download'),
16-
url(r'^download.json$', views.json_download, name='json_download'),
17-
url(r'^download.csv$', views.csv_download, name='csv_download'),
18-
url(r'^download.xml$', views.xml_download, name='xml_download'),
8+
path('', views.home, name='home'),
9+
path('results', views.results, name='results'),
10+
path('_update_lists', views.update_lists, name='update_lists'),
11+
path('_preview_branch/([A-Za-z0-9-]+)', views.preview_branch, name='preview_branch'),
12+
path('terms', TemplateView.as_view(template_name='terms.html'), name='terms'),
13+
path('about', TemplateView.as_view(template_name='about.html'), name='about'),
14+
path('list/<prefix>', views.list_details, name='list'),
15+
path('download', RedirectView.as_view(url='/results', permanent=False), name='download'),
16+
path('download.json', views.json_download, name='json_download'),
17+
path('download.csv', views.csv_download, name='csv_download'),
18+
path('download.xml', views.xml_download, name='xml_download'),
1919
]

prefix_finder/urls.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
1. Import the include() function: from django.conf.urls import url, include
1414
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
1515
"""
16-
from django.conf.urls import include, url
16+
17+
from django.urls import include, path
1718

1819
urlpatterns = [
19-
url(r'^', include('prefix_finder.frontend.urls')),
20+
path('', include('prefix_finder.frontend.urls')),
2021
]

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Django>3.2,<3.3
1+
Django>5.2,<5.3
22
django-bootstrap3
33
requests
44
django-environ

requirements.txt

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,65 @@
44
#
55
# pip-compile requirements.in
66
#
7-
asgiref==3.6.0
7+
asgiref==3.11.0
88
# via django
9-
attrs==22.2.0
10-
# via jsonschema
11-
certifi==2022.12.7
9+
attrs==25.4.0
10+
# via
11+
# jsonschema
12+
# referencing
13+
certifi==2025.11.12
1214
# via requests
13-
charset-normalizer==3.0.1
15+
charset-normalizer==3.4.4
1416
# via requests
1517
dealer==2.1.0
1618
# via -r requirements.in
17-
django==3.2.18
19+
django==5.2.9
1820
# via
1921
# -r requirements.in
2022
# django-bootstrap3
21-
django-bootstrap3==22.2
23+
django-bootstrap3==25.3
2224
# via -r requirements.in
23-
django-environ==0.9.0
25+
django-environ==0.12.0
2426
# via -r requirements.in
2527
django-super-favicon==0.6.1
2628
# via -r requirements.in
27-
idna==3.4
29+
idna==3.11
2830
# via requests
29-
jsonschema==4.17.3
31+
jsonschema==4.25.1
3032
# via -r requirements.in
31-
lxml==4.9.2
33+
jsonschema-specifications==2025.9.1
34+
# via jsonschema
35+
lxml==6.0.2
3236
# via -r requirements.in
33-
pillow==9.4.0
37+
pillow==12.0.0
3438
# via django-super-favicon
35-
pyrsistent==0.19.3
36-
# via jsonschema
37-
python-dateutil==2.8.2
39+
python-dateutil==2.9.0.post0
3840
# via -r requirements.in
39-
pytz==2022.7.1
40-
# via django
4141
ratelimit==2.2.1
4242
# via -r requirements.in
4343
raven==6.10.0
4444
# via -r requirements.in
45-
requests==2.28.2
45+
referencing==0.37.0
46+
# via
47+
# jsonschema
48+
# jsonschema-specifications
49+
requests==2.32.5
4650
# via -r requirements.in
47-
six==1.16.0
51+
rpds-py==0.30.0
52+
# via
53+
# jsonschema
54+
# referencing
55+
six==1.17.0
4856
# via python-dateutil
49-
sqlparse==0.4.3
57+
sqlparse==0.5.4
5058
# via django
51-
titlecase==2.4
59+
titlecase==2.4.1
5260
# via -r requirements.in
53-
urllib3==1.26.14
61+
typing-extensions==4.15.0
62+
# via
63+
# asgiref
64+
# referencing
65+
urllib3==2.6.1
5466
# via
5567
# -r requirements.in
5668
# requests

requirements_dev.txt

Lines changed: 77 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,151 +4,170 @@
44
#
55
# pip-compile requirements_dev.in
66
#
7-
asgiref==3.6.0
7+
asgiref==3.11.0
88
# via django
9-
async-generator==1.10
10-
# via
11-
# trio
12-
# trio-websocket
13-
attrs==22.2.0
9+
attrs==25.4.0
1410
# via
1511
# jsonschema
1612
# outcome
17-
# pytest
13+
# referencing
1814
# trio
19-
build==0.10.0
15+
build==1.3.0
2016
# via pip-tools
21-
certifi==2022.12.7
17+
certifi==2025.11.12
2218
# via
2319
# requests
2420
# selenium
25-
charset-normalizer==3.0.1
21+
charset-normalizer==3.4.4
2622
# via requests
27-
click==8.1.3
23+
click==8.3.1
2824
# via pip-tools
29-
coverage[toml]==6.5.0
25+
coverage[toml]==7.13.0
3026
# via
3127
# coveralls
3228
# pytest-cov
33-
coveralls==3.3.1
29+
coveralls==4.0.2
3430
# via -r requirements_dev.in
3531
dealer==2.1.0
3632
# via -r requirements.in
37-
django==3.2.18
33+
django==5.2.9
3834
# via
3935
# -r requirements.in
4036
# django-bootstrap3
41-
django-bootstrap3==22.2
37+
django-bootstrap3==25.3
4238
# via -r requirements.in
43-
django-environ==0.9.0
39+
django-environ==0.12.0
4440
# via -r requirements.in
4541
django-super-favicon==0.6.1
4642
# via -r requirements.in
4743
docopt==0.6.2
4844
# via coveralls
49-
exceptiongroup==1.1.0
45+
exceptiongroup==1.3.1
5046
# via
5147
# pytest
5248
# trio
53-
flake8==6.0.0
49+
# trio-websocket
50+
flake8==7.3.0
5451
# via -r requirements_dev.in
55-
h11==0.14.0
52+
h11==0.16.0
5653
# via wsproto
57-
idna==3.4
54+
idna==3.11
5855
# via
5956
# requests
6057
# trio
61-
iniconfig==2.0.0
58+
iniconfig==2.3.0
6259
# via pytest
63-
jsonschema==4.17.3
60+
jsonschema==4.25.1
6461
# via -r requirements.in
65-
lxml==4.9.2
62+
jsonschema-specifications==2025.9.1
63+
# via jsonschema
64+
lxml==6.0.2
6665
# via -r requirements.in
67-
markupsafe==2.1.2
66+
markupsafe==3.0.3
6867
# via werkzeug
6968
mccabe==0.7.0
7069
# via flake8
71-
outcome==1.2.0
72-
# via trio
73-
packaging==23.0
70+
outcome==1.3.0.post0
71+
# via
72+
# trio
73+
# trio-websocket
74+
packaging==25.0
7475
# via
7576
# build
7677
# pytest
77-
pillow==9.4.0
78+
pillow==12.0.0
7879
# via django-super-favicon
79-
pip-tools==6.12.2
80+
pip-tools==7.5.2
8081
# via -r requirements_dev.in
81-
pluggy==1.0.0
82-
# via pytest
83-
pycodestyle==2.10.0
82+
pluggy==1.6.0
83+
# via
84+
# pytest
85+
# pytest-cov
86+
pycodestyle==2.14.0
8487
# via flake8
85-
pyflakes==3.0.1
88+
pyflakes==3.4.0
8689
# via flake8
87-
pyproject-hooks==1.0.0
88-
# via build
89-
pyrsistent==0.19.3
90-
# via jsonschema
90+
pygments==2.19.2
91+
# via pytest
92+
pyproject-hooks==1.2.0
93+
# via
94+
# build
95+
# pip-tools
9196
pysocks==1.7.1
9297
# via urllib3
93-
pytest==7.2.1
98+
pytest==9.0.2
9499
# via
95100
# -r requirements_dev.in
96101
# pytest-cov
97102
# pytest-django
98-
pytest-cov==4.0.0
103+
pytest-cov==7.0.0
99104
# via -r requirements_dev.in
100-
pytest-django==4.5.2
105+
pytest-django==4.11.1
101106
# via -r requirements_dev.in
102-
pytest-localserver==0.7.1
107+
pytest-localserver==0.10.0
103108
# via -r requirements_dev.in
104-
python-dateutil==2.8.2
109+
python-dateutil==2.9.0.post0
105110
# via -r requirements.in
106-
pytz==2022.7.1
107-
# via django
108111
ratelimit==2.2.1
109112
# via -r requirements.in
110113
raven==6.10.0
111114
# via -r requirements.in
112-
requests==2.28.2
115+
referencing==0.37.0
116+
# via
117+
# jsonschema
118+
# jsonschema-specifications
119+
requests==2.32.5
113120
# via
114121
# -r requirements.in
115122
# coveralls
116-
selenium==4.8.0
123+
rpds-py==0.30.0
124+
# via
125+
# jsonschema
126+
# referencing
127+
selenium==4.39.0
117128
# via -r requirements_dev.in
118-
six==1.16.0
129+
six==1.17.0
119130
# via python-dateutil
120-
sniffio==1.3.0
131+
sniffio==1.3.1
121132
# via trio
122133
sortedcontainers==2.4.0
123134
# via trio
124-
sqlparse==0.4.3
135+
sqlparse==0.5.4
125136
# via django
126-
titlecase==2.4
137+
titlecase==2.4.1
127138
# via -r requirements.in
128-
tomli==2.0.1
139+
tomli==2.3.0
129140
# via
130141
# build
131142
# coverage
132-
# pyproject-hooks
143+
# pip-tools
133144
# pytest
134-
trio==0.22.0
145+
trio==0.32.0
135146
# via
136147
# selenium
137148
# trio-websocket
138-
trio-websocket==0.9.2
149+
trio-websocket==0.12.2
139150
# via selenium
140-
urllib3[socks]==1.26.14
151+
typing-extensions==4.15.0
152+
# via
153+
# asgiref
154+
# exceptiongroup
155+
# referencing
156+
# selenium
157+
urllib3[socks]==2.6.1
141158
# via
142159
# -r requirements.in
143160
# requests
144161
# selenium
145-
werkzeug==2.2.3
162+
websocket-client==1.9.0
163+
# via selenium
164+
werkzeug==3.1.4
146165
# via
147166
# -r requirements_dev.in
148167
# pytest-localserver
149-
wheel==0.38.4
168+
wheel==0.45.1
150169
# via pip-tools
151-
wsproto==1.2.0
170+
wsproto==1.3.2
152171
# via trio-websocket
153172

154173
# The following packages are considered to be unsafe in a requirements file:

0 commit comments

Comments
 (0)