diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index 5f0081cf..f75e102f 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -59,7 +59,7 @@ jobs: run: make check - name: Start Redis - uses: supercharge/redis-github-action@1.5.0 + uses: supercharge/redis-github-action@1.8.1 - name: Build the documentation run: make docs diff --git a/dejacode/settings.py b/dejacode/settings.py index 42abf429..a53f1e97 100644 --- a/dejacode/settings.py +++ b/dejacode/settings.py @@ -213,6 +213,7 @@ def gettext_noop(s): "security.W017", "urls.W005", "admin.E039", + "axes.W006", ] # Set the following to True to enable ClamAV scan on uploaded files diff --git a/dje/tests/test_access.py b/dje/tests/test_access.py index 93004919..c1138880 100644 --- a/dje/tests/test_access.py +++ b/dje/tests/test_access.py @@ -83,6 +83,7 @@ def __init__(self, dataspace): self.dataspace = dataspace def __call__(self, model, _quantity=None, make_m2m=False, **attrs): + attrs.pop("_create_files", None) return self.make(model, _quantity, make_m2m, **attrs) def make(self, model, _quantity=None, make_m2m=False, **attrs): diff --git a/pyproject.toml b/pyproject.toml index 8e49b88a..15622423 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ dependencies = [ "inflection==0.5.1", "pytz==2025.2", # Track failed login attempts - "django-axes==8.0.0", + "django-axes==8.3.1", # Multi-factor authentication "django-otp==1.7.0", "qrcode==8.2", @@ -73,7 +73,7 @@ dependencies = [ # Antivirus "clamd==1.0.2", # Testing - "model_bakery==1.10.1", + "model_bakery==1.23.2", # Task queue "rq==2.6.1", "croniter==6.0.0", @@ -117,7 +117,7 @@ dependencies = [ "django-rest-hooks==1.6.1", # django-notifications "django_notifications_patched==2.0.0", - "jsonfield==3.1.0", + "jsonfield==3.2.0", "swapper==1.4.0", # AboutCode Toolkit "aboutcode_toolkit==11.1.1", diff --git a/thirdparty/dist/annotated_types-0.7.0-py3-none-any.whl.ABOUT b/thirdparty/dist/annotated_types-0.7.0-py3-none-any.whl.ABOUT new file mode 100644 index 00000000..72f5a255 --- /dev/null +++ b/thirdparty/dist/annotated_types-0.7.0-py3-none-any.whl.ABOUT @@ -0,0 +1,14 @@ +about_resource: annotated_types-0.7.0-py3-none-any.whl +name: annotated-types +version: 0.7.0 +download_url: https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl +package_url: pkg:pypi/annotated-types@0.7.0 +license_expression: mit +copyright: Copyright annotated-types project contributors +attribute: yes +checksum_md5: b132aea373e91e5a46e3b5425c9970e2 +checksum_sha1: ea2dd11b884eb6bc96d35b81d764010aa19eb952 +licenses: + - key: mit + name: MIT License + file: mit.LICENSE diff --git a/thirdparty/dist/deprecated-1.3.1-py2.py3-none-any.whl.ABOUT b/thirdparty/dist/deprecated-1.3.1-py2.py3-none-any.whl.ABOUT deleted file mode 100644 index 037be334..00000000 --- a/thirdparty/dist/deprecated-1.3.1-py2.py3-none-any.whl.ABOUT +++ /dev/null @@ -1,14 +0,0 @@ -about_resource: deprecated-1.3.1-py2.py3-none-any.whl -name: deprecated -version: 1.3.1 -download_url: https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl -package_url: pkg:pypi/deprecated@1.3.1 -license_expression: mit -copyright: Copyright deprecated project contributors -attribute: yes -checksum_md5: f653365522f40405ec4059edab8618bd -checksum_sha1: cdf474353a5b98598f306d2cad18478e3bcaa4db -licenses: - - key: mit - name: MIT License - file: mit.LICENSE diff --git a/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl b/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl deleted file mode 100644 index 33bd68c9..00000000 Binary files a/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl.ABOUT b/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl.ABOUT deleted file mode 100644 index 4fa0658d..00000000 --- a/thirdparty/dist/django_axes-8.0.0-py3-none-any.whl.ABOUT +++ /dev/null @@ -1,14 +0,0 @@ -about_resource: django_axes-8.0.0-py3-none-any.whl -name: django-axes -version: 8.0.0 -download_url: https://files.pythonhosted.org/packages/fe/4b/8862d6d326411fe18854db98305dc292b694d84b2b91398c33a792b7e772/django_axes-8.0.0-py3-none-any.whl -package_url: pkg:pypi/django-axes@8.0.0 -license_expression: mit -copyright: Copyright django-axes project contributors -attribute: yes -checksum_md5: 47bb5bef013a8825886a4b47ac1d82ad -checksum_sha1: ffd7f592eb913a3130b0384ab9c3de08fede088b -licenses: - - key: mit - name: MIT License - file: mit.LICENSE diff --git a/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl b/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl new file mode 100644 index 00000000..036877fe Binary files /dev/null and b/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl differ diff --git a/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl.ABOUT b/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl.ABOUT new file mode 100644 index 00000000..00a1fad5 --- /dev/null +++ b/thirdparty/dist/django_axes-8.3.1-py3-none-any.whl.ABOUT @@ -0,0 +1,14 @@ +about_resource: django_axes-8.3.1-py3-none-any.whl +name: django-axes +version: 8.3.1 +download_url: https://files.pythonhosted.org/packages/46/f6/777a5df7d5698eeb23c7c496cc268c0181f0489dbc5b5f2b235b30e5d8dd/django_axes-8.3.1-py3-none-any.whl +package_url: pkg:pypi/django-axes@8.3.1 +license_expression: mit +copyright: Copyright django-axes project contributors +attribute: yes +checksum_md5: 36393eb8d62a7caf22185a31414a752a +checksum_sha1: fafe2e62da5f8181d80760656ca4948d16cf8524 +licenses: + - key: mit + name: MIT License + file: mit.LICENSE diff --git a/thirdparty/dist/django_registration-5.1.0-py3-none-any.whl b/thirdparty/dist/django_registration-5.1.0-py3-none-any.whl deleted file mode 100644 index ee2fb36f..00000000 Binary files a/thirdparty/dist/django_registration-5.1.0-py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl b/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl deleted file mode 100644 index 2bf2a698..00000000 Binary files a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.ABOUT b/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.ABOUT deleted file mode 100644 index 9a4ec803..00000000 --- a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.ABOUT +++ /dev/null @@ -1,22 +0,0 @@ -about_resource: jsonfield-3.1.0-py3-none-any.whl -name: jsonfield -version: 3.1.0 -download_url: https://files.pythonhosted.org/packages/7c/97/3a4805532a9c1982368fd9f37b58133419e83704744b733ccab9e9827176/jsonfield-3.1.0-py3-none-any.whl#sha256=df857811587f252b97bafba42e02805e70a398a7a47870bc6358a0308dd689ed -description: django-jsonfield is a reusable Django field that allows you to store validated - JSON in your model. -homepage_url: https://pypi.org/project/jsonfield/ -package_url: pkg:pypi/jsonfield@3.1.0 -license_expression: mit -copyright: Copyright (c) 2012-2017 Brad Jasper -notice_file: jsonfield-3.1.0-py3-none-any.whl.NOTICE -notice_url: https://github.com/dmkoch/django-jsonfield/blob/2.0.2/LICENSE -attribute: yes -owner: Brad Jasper -owner_url: https://bradjasper.com/ -contact: contact@bradjasper.com -checksum_md5: 13f1ad7433832529b9182c4bc772e389 -checksum_sha1: b0b10cd0b430e844f419c0e49b06c3ef64afd90e -licenses: - - key: mit - name: MIT License - file: mit.LICENSE diff --git a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.NOTICE b/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.NOTICE deleted file mode 100644 index c46d3dd0..00000000 --- a/thirdparty/dist/jsonfield-3.1.0-py3-none-any.whl.NOTICE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2012-2017 Brad Jasper - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl b/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl new file mode 100644 index 00000000..77fee8c2 Binary files /dev/null and b/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl differ diff --git a/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl.ABOUT b/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl.ABOUT new file mode 100644 index 00000000..850d8df0 --- /dev/null +++ b/thirdparty/dist/jsonfield-3.2.0-py3-none-any.whl.ABOUT @@ -0,0 +1,13 @@ +about_resource: jsonfield-3.2.0-py3-none-any.whl +name: jsonfield +version: 3.2.0 +download_url: https://files.pythonhosted.org/packages/0a/22/2e08e7b957f50e5eceefde018ce9ee88aceb5126231128d9c1cb8167c1c8/jsonfield-3.2.0-py3-none-any.whl +package_url: pkg:pypi/jsonfield@3.2.0 +license_expression: unknown-license-reference +copyright: Copyright jsonfield project contributors +checksum_md5: f96e7738372863025ae93a4f7bc4988c +checksum_sha1: 3efe9e6222051aa4d2ebde604e96c2ef761e06d5 +licenses: + - key: unknown-license-reference + name: Unknown License file reference + file: unknown-license-reference.LICENSE diff --git a/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl b/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl deleted file mode 100644 index 413d080e..00000000 Binary files a/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl.ABOUT b/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl.ABOUT deleted file mode 100644 index 21ed3dc0..00000000 --- a/thirdparty/dist/model_bakery-1.10.1-py2.py3-none-any.whl.ABOUT +++ /dev/null @@ -1,17 +0,0 @@ -about_resource: model_bakery-1.10.1-py2.py3-none-any.whl -name: model-bakery -version: 1.10.1 -download_url: https://files.pythonhosted.org/packages/af/c8/4553249a2092b3d07d44a0d0438b06f712c618bb5736fd4642a0b6758fc9/model_bakery-1.10.1-py2.py3-none-any.whl -homepage_url: https://pypi.org/project/model-bakery/1.10.1/ -package_url: pkg:pypi/model-bakery@1.10.1 -license_expression: apache-2.0 -copyright: Copyright model-bakery project contributors -attribute: yes -track_changes: yes -owner: Vanderson Mota -checksum_md5: 179a2e8c0d3ee2b8fec93ecccbd50d4a -checksum_sha1: 59dfa24bdd6d496e8b885c57cec0543ce32d033d -licenses: - - key: apache-2.0 - name: Apache License 2.0 - file: apache-2.0.LICENSE diff --git a/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl b/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl new file mode 100644 index 00000000..8b00565f Binary files /dev/null and b/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl differ diff --git a/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl.ABOUT b/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl.ABOUT new file mode 100644 index 00000000..73d1cdba --- /dev/null +++ b/thirdparty/dist/model_bakery-1.23.2-py3-none-any.whl.ABOUT @@ -0,0 +1,15 @@ +about_resource: model_bakery-1.23.2-py3-none-any.whl +name: model-bakery +version: 1.23.2 +download_url: https://files.pythonhosted.org/packages/6e/a7/616e30ffaff51581003b2d36705f625b0bd14cac2a92a779c22476bea572/model_bakery-1.23.2-py3-none-any.whl +package_url: pkg:pypi/model-bakery@1.23.2 +license_expression: apache-2.0 +copyright: Copyright model-bakery project contributors +attribute: yes +track_changes: yes +checksum_md5: 8431b63227a3bfacd944d76ec5e1f91a +checksum_sha1: eb175f6ccd8cd0b3e4334512a673ed669888daf0 +licenses: + - key: apache-2.0 + name: Apache License 2.0 + file: apache-2.0.LICENSE diff --git a/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl b/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl deleted file mode 100644 index 4ad1b01c..00000000 Binary files a/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl.ABOUT b/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl.ABOUT deleted file mode 100644 index 7cf4eac4..00000000 --- a/thirdparty/dist/pydantic-2.11.5-py3-none-any.whl.ABOUT +++ /dev/null @@ -1,14 +0,0 @@ -about_resource: pydantic-2.11.5-py3-none-any.whl -name: pydantic -version: 2.11.5 -download_url: https://files.pythonhosted.org/packages/b5/69/831ed22b38ff9b4b64b66569f0e5b7b97cf3638346eb95a2147fdb49ad5f/pydantic-2.11.5-py3-none-any.whl -package_url: pkg:pypi/pydantic@2.11.5 -license_expression: mit -copyright: Copyright pydantic project contributors -attribute: yes -checksum_md5: aa74b4b0e5e013a69535753316d54fb5 -checksum_sha1: 1ce3239ba3ce721d3831c165b9abc2534b3b7894 -licenses: - - key: mit - name: MIT License - file: mit.LICENSE diff --git a/thirdparty/dist/pyparsing-3.3.2-py3-none-any.whl.ABOUT b/thirdparty/dist/pyparsing-3.3.2-py3-none-any.whl.ABOUT deleted file mode 100644 index 1f47fb24..00000000 --- a/thirdparty/dist/pyparsing-3.3.2-py3-none-any.whl.ABOUT +++ /dev/null @@ -1,21 +0,0 @@ -about_resource: pyparsing-3.3.2-py3-none-any.whl -name: pyparsing -version: 3.3.2 -download_url: https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl -package_url: pkg:pypi/pyparsing@3.3.2 -license_expression: mit AND python AND unknown-license-reference -copyright: Copyright pyparsing project contributors -attribute: yes -track_changes: yes -checksum_md5: 6c5959914bae3b31af7f20ef97c4d08a -checksum_sha1: 54dd06211446119d58e8b6b67ad7699cf5d8d8e2 -licenses: - - key: mit - name: MIT License - file: mit.LICENSE - - key: python - name: Python Software Foundation License v2 - file: python.LICENSE - - key: unknown-license-reference - name: Unknown License file reference - file: unknown-license-reference.LICENSE diff --git a/thirdparty/dist/rq-2.6.0-py3-none-any.whl b/thirdparty/dist/rq-2.6.0-py3-none-any.whl deleted file mode 100644 index 93de0801..00000000 Binary files a/thirdparty/dist/rq-2.6.0-py3-none-any.whl and /dev/null differ diff --git a/thirdparty/dist/rq-2.6.0-py3-none-any.whl.ABOUT b/thirdparty/dist/rq-2.6.0-py3-none-any.whl.ABOUT deleted file mode 100644 index a8ec0071..00000000 --- a/thirdparty/dist/rq-2.6.0-py3-none-any.whl.ABOUT +++ /dev/null @@ -1,14 +0,0 @@ -about_resource: rq-2.6.0-py3-none-any.whl -name: rq -version: 2.6.0 -download_url: https://files.pythonhosted.org/packages/cc/66/6cf141584526e3ed5b57a194e09cbdf7058334bd3926bb3f96e2453cf053/rq-2.6.0-py3-none-any.whl -package_url: pkg:pypi/rq@2.6.0 -license_expression: bsd-new -copyright: Copyright rq project contributors -attribute: yes -checksum_md5: 6b2d4e8ec3523beb91a74c471fa8f588 -checksum_sha1: 0a3e49321ccd371c67bf9828f420620895f42eee -licenses: - - key: bsd-new - name: BSD-3-Clause - file: bsd-new.LICENSE