Skip to content

Commit a74fb3e

Browse files
authored
chore: upgrade django-axe, jsonfield, and model-bakery libraries
2 parents 4cc186e + ce7d50f commit a74fb3e

25 files changed

Lines changed: 62 additions & 140 deletions

.github/workflows/run-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
run: make check
6060

6161
- name: Start Redis
62-
uses: supercharge/redis-github-action@1.5.0
62+
uses: supercharge/redis-github-action@1.8.1
6363

6464
- name: Build the documentation
6565
run: make docs

dejacode/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ def gettext_noop(s):
213213
"security.W017",
214214
"urls.W005",
215215
"admin.E039",
216+
"axes.W006",
216217
]
217218

218219
# Set the following to True to enable ClamAV scan on uploaded files

dje/tests/test_access.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def __init__(self, dataspace):
8383
self.dataspace = dataspace
8484

8585
def __call__(self, model, _quantity=None, make_m2m=False, **attrs):
86+
attrs.pop("_create_files", None)
8687
return self.make(model, _quantity, make_m2m, **attrs)
8788

8889
def make(self, model, _quantity=None, make_m2m=False, **attrs):

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ dependencies = [
6161
"inflection==0.5.1",
6262
"pytz==2025.2",
6363
# Track failed login attempts
64-
"django-axes==8.0.0",
64+
"django-axes==8.3.1",
6565
# Multi-factor authentication
6666
"django-otp==1.7.0",
6767
"qrcode==8.2",
@@ -73,7 +73,7 @@ dependencies = [
7373
# Antivirus
7474
"clamd==1.0.2",
7575
# Testing
76-
"model_bakery==1.10.1",
76+
"model_bakery==1.23.2",
7777
# Task queue
7878
"rq==2.6.1",
7979
"croniter==6.0.0",
@@ -117,7 +117,7 @@ dependencies = [
117117
"django-rest-hooks==1.6.1",
118118
# django-notifications
119119
"django_notifications_patched==2.0.0",
120-
"jsonfield==3.1.0",
120+
"jsonfield==3.2.0",
121121
"swapper==1.4.0",
122122
# AboutCode Toolkit
123123
"aboutcode_toolkit==11.1.1",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
about_resource: annotated_types-0.7.0-py3-none-any.whl
2+
name: annotated-types
3+
version: 0.7.0
4+
download_url: https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl
5+
package_url: pkg:pypi/annotated-types@0.7.0
6+
license_expression: mit
7+
copyright: Copyright annotated-types project contributors
8+
attribute: yes
9+
checksum_md5: b132aea373e91e5a46e3b5425c9970e2
10+
checksum_sha1: ea2dd11b884eb6bc96d35b81d764010aa19eb952
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: mit.LICENSE

thirdparty/dist/deprecated-1.3.1-py2.py3-none-any.whl.ABOUT

Lines changed: 0 additions & 14 deletions
This file was deleted.
-67.3 KB
Binary file not shown.

thirdparty/dist/django_axes-8.0.0-py3-none-any.whl.ABOUT

Lines changed: 0 additions & 14 deletions
This file was deleted.
72.5 KB
Binary file not shown.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
about_resource: django_axes-8.3.1-py3-none-any.whl
2+
name: django-axes
3+
version: 8.3.1
4+
download_url: https://files.pythonhosted.org/packages/46/f6/777a5df7d5698eeb23c7c496cc268c0181f0489dbc5b5f2b235b30e5d8dd/django_axes-8.3.1-py3-none-any.whl
5+
package_url: pkg:pypi/django-axes@8.3.1
6+
license_expression: mit
7+
copyright: Copyright django-axes project contributors
8+
attribute: yes
9+
checksum_md5: 36393eb8d62a7caf22185a31414a752a
10+
checksum_sha1: fafe2e62da5f8181d80760656ca4948d16cf8524
11+
licenses:
12+
- key: mit
13+
name: MIT License
14+
file: mit.LICENSE

0 commit comments

Comments
 (0)