From 36cff9e21ade88d550727c1969607a6fbdce8ca3 Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Tue, 22 Nov 2022 11:26:17 +0100 Subject: [PATCH 01/64] Remove obsolete travis-ci badge --- README.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 6ed987e..fba8e4b 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Django Mail Auth ================ -|version| |docs| |ci| |coverage| |license| +|version| |docs| |coverage| |license| .. figure:: sample.png :width: 425 @@ -115,8 +115,6 @@ That's it! .. |version| image:: https://img.shields.io/pypi/v/django-mail-auth.svg :target: https://pypi.python.org/pypi/django-mail-auth/ -.. |ci| image:: https://travis-ci.com/codingjoe/django-mail-auth.svg?branch=main - :target: https://travis-ci.com/codingjoe/django-mail-auth .. |coverage| image:: https://codecov.io/gh/codingjoe/django-mail-auth/branch/main/graph/badge.svg :target: https://codecov.io/gh/codingjoe/django-mail-auth .. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg From dc2d8a59d5946a0b8a3411a453da5a4df875a60d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Nov 2022 00:26:52 +0000 Subject: [PATCH 02/64] Bump codecov/codecov-action from 2 to 3 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v2...v3) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9399246..f54fdd0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' - run: python -m pytest - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.python-version }} @@ -92,7 +92,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e ".[test,${{ matrix.extras }}]" - run: python -m pytest - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.extras }} @@ -128,7 +128,7 @@ jobs: env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - - uses: codecov/codecov-action@v2 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.extras }} From 2bade1d12c132033f3614ea43f7a537bb0de4482 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 24 Nov 2022 00:13:57 +0000 Subject: [PATCH 03/64] Bump flake8 from 5.0.4 to 6.0.0 Bumps [flake8](https://github.com/pycqa/flake8) from 5.0.4 to 6.0.0. - [Release notes](https://github.com/pycqa/flake8/releases) - [Commits](https://github.com/pycqa/flake8/compare/5.0.4...6.0.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index c3083bc..93e37ff 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 black==22.10.0 -flake8==5.0.4 +flake8==6.0.0 isort==5.10.1 pydocstyle[toml]==6.1.1 From ea0c43b7468d0256c747ef8bc536e000b10a043b Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Mon, 5 Dec 2022 18:50:06 +0100 Subject: [PATCH 04/64] Allow login form to define a custom field_name as a class attribute --- mailauth/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailauth/forms.py b/mailauth/forms.py index 2216199..eaf1fad 100644 --- a/mailauth/forms.py +++ b/mailauth/forms.py @@ -90,12 +90,13 @@ class EmailLoginForm(BaseLoginForm): email_template_name = "registration/login_email.txt" html_email_template_name = "registration/login_email.html" from_email = None + field_name = None def __init__(self, request, *args, **kwargs): self.request = request super().__init__(*args, **kwargs) - self.field_name = get_user_model().get_email_field_name() + self.field_name = self.field_name or get_user_model().get_email_field_name() model_field = get_user_model()._meta.get_field(self.field_name) field = model_field.formfield() field.required = True From e7df5797d2989d3ab39a823f825382c152c2dd2a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Dec 2022 00:51:13 +0000 Subject: [PATCH 05/64] Bump black from 22.10.0 to 22.12.0 Bumps [black](https://github.com/psf/black) from 22.10.0 to 22.12.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.10.0...22.12.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 93e37ff..d38589e 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 -black==22.10.0 +black==22.12.0 flake8==6.0.0 isort==5.10.1 pydocstyle[toml]==6.1.1 From 2a43f10b45ecf740ae4fd4b0f1dea931dfa12cf6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Dec 2022 00:15:16 +0000 Subject: [PATCH 06/64] Bump isort from 5.10.1 to 5.11.1 Bumps [isort](https://github.com/pycqa/isort) from 5.10.1 to 5.11.1. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.10.1...5.11.1) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index d38589e..48d55e8 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 -isort==5.10.1 +isort==5.11.1 pydocstyle[toml]==6.1.1 From 953d398d754e34d73226772acda4b8dbafd0a7ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Dec 2022 00:14:30 +0000 Subject: [PATCH 07/64] Bump isort from 5.11.1 to 5.11.2 Bumps [isort](https://github.com/pycqa/isort) from 5.11.1 to 5.11.2. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.11.1...5.11.2) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 48d55e8..6b59e8f 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 -isort==5.11.1 +isort==5.11.2 pydocstyle[toml]==6.1.1 From 150791cbc334282626dd76e56a59f7e87b9750b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Dec 2022 00:16:38 +0000 Subject: [PATCH 08/64] Bump isort from 5.11.2 to 5.11.4 Bumps [isort](https://github.com/pycqa/isort) from 5.11.2 to 5.11.4. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.11.2...5.11.4) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 6b59e8f..f4fd0e4 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 -isort==5.11.2 +isort==5.11.4 pydocstyle[toml]==6.1.1 From 00edcbdf2a620b1d5b8e7dcdf4227c69eedcc5e3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Jan 2023 09:11:32 +0100 Subject: [PATCH 09/64] Bump pydocstyle[toml] from 6.1.1 to 6.2.2 (#91) Bumps [pydocstyle[toml]](https://github.com/PyCQA/pydocstyle) from 6.1.1 to 6.2.2. - [Release notes](https://github.com/PyCQA/pydocstyle/releases) - [Changelog](https://github.com/PyCQA/pydocstyle/blob/master/docs/release_notes.rst) - [Commits](https://github.com/PyCQA/pydocstyle/compare/6.1.1...6.2.2) --- updated-dependencies: - dependency-name: pydocstyle[toml] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index f4fd0e4..6523f5c 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -2,4 +2,4 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 isort==5.11.4 -pydocstyle[toml]==6.1.1 +pydocstyle[toml]==6.2.2 From 2f6947add7aa097e6b92aca73548d290f50412a5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Jan 2023 08:58:22 +0100 Subject: [PATCH 10/64] Bump pydocstyle[toml] from 6.2.2 to 6.2.3 (#92) Bumps [pydocstyle[toml]](https://github.com/PyCQA/pydocstyle) from 6.2.2 to 6.2.3. - [Release notes](https://github.com/PyCQA/pydocstyle/releases) - [Changelog](https://github.com/PyCQA/pydocstyle/blob/master/docs/release_notes.rst) - [Commits](https://github.com/PyCQA/pydocstyle/compare/6.2.2...6.2.3) --- updated-dependencies: - dependency-name: pydocstyle[toml] dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 6523f5c..b769726 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -2,4 +2,4 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 isort==5.11.4 -pydocstyle[toml]==6.2.2 +pydocstyle[toml]==6.2.3 From 46406eb68d794e4509d16566f6d8f52fd9487a56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Jan 2023 09:03:26 +0100 Subject: [PATCH 11/64] Bump pydocstyle[toml] from 6.2.3 to 6.3.0 (#93) Bumps [pydocstyle[toml]](https://github.com/PyCQA/pydocstyle) from 6.2.3 to 6.3.0. - [Release notes](https://github.com/PyCQA/pydocstyle/releases) - [Changelog](https://github.com/PyCQA/pydocstyle/blob/master/docs/release_notes.rst) - [Commits](https://github.com/PyCQA/pydocstyle/compare/6.2.3...6.3.0) --- updated-dependencies: - dependency-name: pydocstyle[toml] dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index b769726..d59f7c6 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -2,4 +2,4 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 isort==5.11.4 -pydocstyle[toml]==6.2.3 +pydocstyle[toml]==6.3.0 From 8364e636edd9ff74b9cda2d60b9811de2a95d447 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Jan 2023 09:45:18 +0100 Subject: [PATCH 12/64] Bump isort from 5.11.4 to 5.12.0 (#94) Bumps [isort](https://github.com/pycqa/isort) from 5.11.4 to 5.12.0. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.11.4...5.12.0) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index d59f7c6..6fec005 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 black==22.12.0 flake8==6.0.0 -isort==5.11.4 +isort==5.12.0 pydocstyle[toml]==6.3.0 From d8eddabece683299b9e39c13037ca7ef7b97e510 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:50:32 +0100 Subject: [PATCH 13/64] Bump black from 22.12.0 to 23.1.0 (#95) * Bump black from 22.12.0 to 23.1.0 Bumps [black](https://github.com/psf/black) from 22.12.0 to 23.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.12.0...23.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Fix black linting errors --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Johannes Maron --- linter-requirements.txt | 2 +- mailauth/contrib/user/migrations/0001_initial.py | 1 - mailauth/contrib/user/migrations/0002_emailuser_session_salt.py | 1 - mailauth/contrib/user/migrations/0004_auto_20200812_0722.py | 1 - .../0005_emailuser_email_hash_alter_emailuser_email.py | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 6fec005..649a6a1 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.4 -black==22.12.0 +black==23.1.0 flake8==6.0.0 isort==5.12.0 pydocstyle[toml]==6.3.0 diff --git a/mailauth/contrib/user/migrations/0001_initial.py b/mailauth/contrib/user/migrations/0001_initial.py index 768012f..d69297f 100644 --- a/mailauth/contrib/user/migrations/0001_initial.py +++ b/mailauth/contrib/user/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/mailauth/contrib/user/migrations/0002_emailuser_session_salt.py b/mailauth/contrib/user/migrations/0002_emailuser_session_salt.py index 1599042..98768fb 100644 --- a/mailauth/contrib/user/migrations/0002_emailuser_session_salt.py +++ b/mailauth/contrib/user/migrations/0002_emailuser_session_salt.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("mailauth_user", "0001_initial"), ] diff --git a/mailauth/contrib/user/migrations/0004_auto_20200812_0722.py b/mailauth/contrib/user/migrations/0004_auto_20200812_0722.py index 8b19d94..877aa5a 100644 --- a/mailauth/contrib/user/migrations/0004_auto_20200812_0722.py +++ b/mailauth/contrib/user/migrations/0004_auto_20200812_0722.py @@ -2,7 +2,6 @@ class Migration(migrations.Migration): - dependencies = [ ("mailauth_user", "0003_ci_unique_index"), ] diff --git a/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py b/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py index c9220c3..df41e1c 100644 --- a/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py +++ b/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("mailauth_user", "0004_auto_20200812_0722"), ] From 84a5cfcd5045c2f2355687c944c5cca094aa07de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Mar 2023 08:28:13 +0100 Subject: [PATCH 14/64] Bump bandit from 1.7.4 to 1.7.5 (#96) Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.4 to 1.7.5. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.4...1.7.5) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 649a6a1..fc6e8bc 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,4 +1,4 @@ -bandit==1.7.4 +bandit==1.7.5 black==23.1.0 flake8==6.0.0 isort==5.12.0 From 3e14660b95611a7cfd5093619e6e34ff643e0146 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Mar 2023 00:59:49 +0000 Subject: [PATCH 15/64] Bump black from 23.1.0 to 23.3.0 Bumps [black](https://github.com/psf/black) from 23.1.0 to 23.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.1.0...23.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index fc6e8bc..3523059 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.1.0 +black==23.3.0 flake8==6.0.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From a4341f15fe16fba1ff424520e56032fd93b2a209 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 00:54:43 +0000 Subject: [PATCH 16/64] Bump flake8 from 6.0.0 to 6.1.0 Bumps [flake8](https://github.com/pycqa/flake8) from 6.0.0 to 6.1.0. - [Commits](https://github.com/pycqa/flake8/compare/6.0.0...6.1.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 3523059..abd3082 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 black==23.3.0 -flake8==6.0.0 +flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From 3fe28045cc5e3d53f8f0d0ad3ad130c12d78db0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 15:35:21 +0000 Subject: [PATCH 17/64] Bump black from 23.3.0 to 23.7.0 Bumps [black](https://github.com/psf/black) from 23.3.0 to 23.7.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.3.0...23.7.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index abd3082..77d1850 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.3.0 +black==23.7.0 flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From 91aeb984ac5a52a541ad8f5a24cf19e0f05cbe64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 00:56:51 +0000 Subject: [PATCH 18/64] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/release.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f54fdd0..da099f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - pydocstyle . runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.x" @@ -32,7 +32,7 @@ jobs: dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.x" @@ -47,7 +47,7 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.11" @@ -66,7 +66,7 @@ jobs: - "3.10" - "3.11" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -85,7 +85,7 @@ jobs: - wagtail python-version: [ "3.x" ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -122,7 +122,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: python -m pip install Django~=${{ matrix.django-version }}.0 -e ".[test,${{ matrix.extras }}]" - run: python -m pytest env: @@ -146,7 +146,7 @@ jobs: language: [ python ] steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d603a29..f54c7c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.x" From cb14d401b1bd738d51915b97c16c56026c639f31 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 01:09:20 +0000 Subject: [PATCH 19/64] Bump black from 23.7.0 to 23.9.1 Bumps [black](https://github.com/psf/black) from 23.7.0 to 23.9.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.7.0...23.9.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 77d1850..d132dc9 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.7.0 +black==23.9.1 flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From 244673c25c3b1994cad08249c1a0fd84c7737192 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 00:58:53 +0000 Subject: [PATCH 20/64] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da099f7..4b072b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' - run: python -m pytest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.python-version }} @@ -92,7 +92,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e ".[test,${{ matrix.extras }}]" - run: python -m pytest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.extras }} @@ -128,7 +128,7 @@ jobs: env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.extras }} From 1fbaafd3b16484ad4261a48b9dc4885c03ea5108 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 00:41:36 +0000 Subject: [PATCH 21/64] Bump black from 23.9.1 to 23.10.0 Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.9.1...23.10.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index d132dc9..2f7cbf5 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.9.1 +black==23.10.0 flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From e6cab7188ca5eaeef881ecd221dc66485cb3ddb6 Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Thu, 19 Oct 2023 11:49:33 +0200 Subject: [PATCH 22/64] Revert "Bump codecov/codecov-action from 3 to 4" This reverts commit 244673c25c3b1994cad08249c1a0fd84c7737192. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b072b4..da099f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,7 +72,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' - run: python -m pytest - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.python-version }} @@ -92,7 +92,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e ".[test,${{ matrix.extras }}]" - run: python -m pytest - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.extras }} @@ -128,7 +128,7 @@ jobs: env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3 with: flags: ${{ matrix.extras }} From 4721909acefe582dda05fd33c70bfcc01d5690dc Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Tue, 24 Oct 2023 17:43:27 +0200 Subject: [PATCH 23/64] Switch to Django-CITEXT for PG citext support --- .github/workflows/ci.yml | 13 ++++++------- .../user/migrations/0003_ci_unique_index.py | 7 +++---- ...5_emailuser_email_hash_alter_emailuser_email.py | 2 +- mailauth/contrib/user/models.py | 2 +- pyproject.toml | 14 +++++++++----- tests/test_models.py | 12 +----------- tests/testapp/settings.py | 2 +- 7 files changed, 22 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da099f7..975c0be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -65,6 +65,10 @@ jobs: - "3.9" - "3.10" - "3.11" + django-version: + - "4.0" + - "4.1" + - "4.2" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 @@ -102,12 +106,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.10" ] - django-version: - - "4.0" - - "4.1" - extras: - - postgres + python-version: [ "3.x" ] services: postgres: image: postgres @@ -123,7 +122,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 - - run: python -m pip install Django~=${{ matrix.django-version }}.0 -e ".[test,${{ matrix.extras }}]" + - run: python -m pip install -e ".[test,postgres]" - run: python -m pytest env: DB_PORT: ${{ job.services.postgres.ports[5432] }} diff --git a/mailauth/contrib/user/migrations/0003_ci_unique_index.py b/mailauth/contrib/user/migrations/0003_ci_unique_index.py index 6ac8d16..7b57632 100644 --- a/mailauth/contrib/user/migrations/0003_ci_unique_index.py +++ b/mailauth/contrib/user/migrations/0003_ci_unique_index.py @@ -1,15 +1,14 @@ from django.db import migrations try: - from django.contrib.postgres.fields import CIEmailField + from citext import CIEmailField, CITextExtension except ImportError: + CITextExtension = None CIEmailField = None -else: - from django.contrib.postgres.operations import CITextExtension def _operations(): - if CIEmailField: + if CITextExtension: yield CITextExtension() yield migrations.AlterField( model_name="emailuser", diff --git a/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py b/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py index df41e1c..a5f72df 100644 --- a/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py +++ b/mailauth/contrib/user/migrations/0005_emailuser_email_hash_alter_emailuser_email.py @@ -1,7 +1,7 @@ from django.db import migrations, models try: - from django.contrib.postgres.fields import CIEmailField + from citext import CIEmailField except ImportError: CIEmailField = models.EmailField diff --git a/mailauth/contrib/user/models.py b/mailauth/contrib/user/models.py index 23b41cf..61bbc44 100644 --- a/mailauth/contrib/user/models.py +++ b/mailauth/contrib/user/models.py @@ -7,7 +7,7 @@ from . import signals try: - from django.contrib.postgres.fields import CIEmailField + from citext import CIEmailField except ImportError: from django.db.models import EmailField as CIEmailField diff --git a/pyproject.toml b/pyproject.toml index 0ee7a31..b55d925 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,10 +14,7 @@ keywords = [ "otp", "email", "authentication", - "login", - "2fa", "passwordless", - "password", ] dynamic = ["version", "description"] classifiers = [ @@ -34,13 +31,20 @@ classifiers = [ "Framework :: Django", "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", + "Framework :: Wagtail", + "Framework :: Wagtail :: 2", + "Framework :: Wagtail :: 3", + "Framework :: Wagtail :: 4", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", ] requires-python = ">=3.9" -dependencies = ["django>=4.0"] +dependencies = [ + "django>=4.0" +] [project.optional-dependencies] test = [ @@ -55,7 +59,7 @@ wagtail = [ "wagtail>=2.8", ] postgres = [ - "psycopg2-binary", + "django-citext", ] [project.urls] diff --git a/tests/test_models.py b/tests/test_models.py index 06144e9..f6f29d2 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -3,20 +3,10 @@ from mailauth.contrib.user import models -try: - import psycopg2 -except ImportError: - psycopg2 = None - - -postgres_only = pytest.mark.skipif( - psycopg2 is None, reason="at least mymodule-1.1 required" -) - class TestEmailUser: - @postgres_only def test_email__ci_unique(self, db): + pytest.importorskip("psycopg") models.EmailUser.objects.create_user("IronMan@avengers.com") with pytest.raises(IntegrityError): models.EmailUser.objects.create_user("ironman@avengers.com") diff --git a/tests/testapp/settings.py b/tests/testapp/settings.py index 50a7f44..5258dee 100644 --- a/tests/testapp/settings.py +++ b/tests/testapp/settings.py @@ -52,7 +52,7 @@ "mailauth.contrib.wagtail", "wagtail.admin", "wagtail.users", - "wagtail.core", + "wagtail", ] AUTHENTICATION_BACKENDS = ("mailauth.backends.MailAuthBackend",) From 166c1b943d4839f6a057f20f4443d0c0cb298143 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 00:21:53 +0000 Subject: [PATCH 24/64] Bump black from 23.10.0 to 23.10.1 Bumps [black](https://github.com/psf/black) from 23.10.0 to 23.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.0...23.10.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 2f7cbf5..3ff6511 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.10.0 +black==23.10.1 flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From 20f154e5e0086959f0edcf9b79786a8bf69694dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Nov 2023 00:52:55 +0000 Subject: [PATCH 25/64] Bump black from 23.10.1 to 23.11.0 Bumps [black](https://github.com/psf/black) from 23.10.1 to 23.11.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.10.1...23.11.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 3ff6511..56e8bc7 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 -black==23.10.1 +black==23.11.0 flake8==6.1.0 isort==5.12.0 pydocstyle[toml]==6.3.0 From d80ae090b47649e5709e231f9f0ba5d2564b667d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 00:18:38 +0000 Subject: [PATCH 26/64] Bump isort from 5.12.0 to 5.13.0 Bumps [isort](https://github.com/pycqa/isort) from 5.12.0 to 5.13.0. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.12.0...5.13.0) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 56e8bc7..b72a2c7 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.5 black==23.11.0 flake8==6.1.0 -isort==5.12.0 +isort==5.13.0 pydocstyle[toml]==6.3.0 From 5b75e78a16595a491f19598c8f6ba83ce54cee9a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 00:18:23 +0000 Subject: [PATCH 27/64] Bump bandit from 1.7.5 to 1.7.6 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.5 to 1.7.6. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.5...1.7.6) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index b72a2c7..91a398c 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,4 +1,4 @@ -bandit==1.7.5 +bandit==1.7.6 black==23.11.0 flake8==6.1.0 isort==5.13.0 From 29bf4b7e9dc287c67dd12bec5d8f5e71ad829e60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 00:27:53 +0000 Subject: [PATCH 28/64] Bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/release.yml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 975c0be..ecf11f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" cache: pip @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install Python dependencies @@ -48,7 +48,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.11" - run: sudo apt install -y python3-enchant @@ -71,7 +71,7 @@ jobs: - "4.2" steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' @@ -91,7 +91,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: python -m pip install -e ".[test,${{ matrix.extras }}]" @@ -118,7 +118,7 @@ jobs: options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f54c7c0..e10fa24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" - run: python -m pip install --upgrade pip build wheel twine From 16d91e87615a3535e27aa0616ec45a4fb5e15383 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Dec 2023 00:03:42 +0000 Subject: [PATCH 29/64] Bump isort from 5.13.0 to 5.13.1 Bumps [isort](https://github.com/pycqa/isort) from 5.13.0 to 5.13.1. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.13.0...5.13.1) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 91a398c..2a8b219 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.6 black==23.11.0 flake8==6.1.0 -isort==5.13.0 +isort==5.13.1 pydocstyle[toml]==6.3.0 From 7fb7255cf55584de1b9a4f927a6bff60086809c9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Dec 2023 00:31:21 +0000 Subject: [PATCH 30/64] Bump black from 23.11.0 to 23.12.0 Bumps [black](https://github.com/psf/black) from 23.11.0 to 23.12.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.11.0...23.12.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 2a8b219..67d627d 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.6 -black==23.11.0 +black==23.12.0 flake8==6.1.0 isort==5.13.1 pydocstyle[toml]==6.3.0 From 09372f413802ace60403ceacfc685757977609b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 00:58:12 +0000 Subject: [PATCH 31/64] Bump isort from 5.13.1 to 5.13.2 Bumps [isort](https://github.com/pycqa/isort) from 5.13.1 to 5.13.2. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.13.1...5.13.2) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 67d627d..06e16b8 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.6 black==23.12.0 flake8==6.1.0 -isort==5.13.1 +isort==5.13.2 pydocstyle[toml]==6.3.0 From d9611a2ebd2f774ddc3dd59b421427266277abe1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 14 Dec 2023 00:02:28 +0000 Subject: [PATCH 32/64] Bump github/codeql-action from 2 to 3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecf11f4..8577cd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,14 +147,14 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} queries: +security-and-quality - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 if: ${{ matrix.language == 'javascript' || matrix.language == 'python' }} - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:${{ matrix.language }}" From e57a15d28d07ac01ffa5166f7ddd2f410c2605dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 00:21:56 +0000 Subject: [PATCH 33/64] Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8577cd6..aa2a778 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: run: python -m pip install --upgrade pip build wheel twine readme-renderer - run: python -m build --sdist --wheel - run: python -m twine check dist/* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: path: dist/* From e90ac4b2c9ee9e288b1b69317827c3000dd9d385 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 Dec 2023 00:32:05 +0000 Subject: [PATCH 34/64] Bump black from 23.12.0 to 23.12.1 Bumps [black](https://github.com/psf/black) from 23.12.0 to 23.12.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.12.0...23.12.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 06e16b8..68fe48e 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.6 -black==23.12.0 +black==23.12.1 flake8==6.1.0 isort==5.13.2 pydocstyle[toml]==6.3.0 From f2d488b58a4c7302139df3f3583ac80036fdb8d8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 00:48:47 +0000 Subject: [PATCH 35/64] Bump flake8 from 6.1.0 to 7.0.0 Bumps [flake8](https://github.com/pycqa/flake8) from 6.1.0 to 7.0.0. - [Commits](https://github.com/pycqa/flake8/compare/6.1.0...7.0.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index 68fe48e..c0482d1 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.6 black==23.12.1 -flake8==6.1.0 +flake8==7.0.0 isort==5.13.2 pydocstyle[toml]==6.3.0 From 494a3d6a5ba83d7221aa371d523f5af736774983 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 00:04:57 +0000 Subject: [PATCH 36/64] Bump bandit from 1.7.6 to 1.7.7 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.6 to 1.7.7. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.6...1.7.7) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- linter-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter-requirements.txt b/linter-requirements.txt index c0482d1..c262708 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,4 +1,4 @@ -bandit==1.7.6 +bandit==1.7.7 black==23.12.1 flake8==7.0.0 isort==5.13.2 From da3692bc0f246b4773c1410c3b115f08f4ab02b3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 00:11:26 +0000 Subject: [PATCH 37/64] Bump codecov/codecov-action from 3 to 4 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa2a778..119dcb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' - run: python -m pytest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.python-version }} @@ -96,7 +96,7 @@ jobs: python-version: ${{ matrix.python-version }} - run: python -m pip install -e ".[test,${{ matrix.extras }}]" - run: python -m pytest - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.extras }} @@ -127,7 +127,7 @@ jobs: env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 with: flags: ${{ matrix.extras }} From 234624e9e81b8ba4b52c2a7d4500b8515ffb9d14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 14:53:23 +0100 Subject: [PATCH 38/64] Bump black from 23.12.1 to 24.2.0 (#121) --- docs/conf.py | 1 + linter-requirements.txt | 2 +- mailauth/__init__.py | 1 + mailauth/contrib/user/admin.py | 8 +++++--- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 4654c9c..e1a2264 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,4 +1,5 @@ """Sphinx configuration file.""" + import os import sys diff --git a/linter-requirements.txt b/linter-requirements.txt index c262708..475dbf0 100644 --- a/linter-requirements.txt +++ b/linter-requirements.txt @@ -1,5 +1,5 @@ bandit==1.7.7 -black==23.12.1 +black==24.2.0 flake8==7.0.0 isort==5.13.2 pydocstyle[toml]==6.3.0 diff --git a/mailauth/__init__.py b/mailauth/__init__.py index 6cf2d89..2aa31a2 100644 --- a/mailauth/__init__.py +++ b/mailauth/__init__.py @@ -1,4 +1,5 @@ """Django authentication via login URLs, no passwords required.""" + from . import _version __version__ = _version.version diff --git a/mailauth/contrib/user/admin.py b/mailauth/contrib/user/admin.py index a3ac665..f53474f 100644 --- a/mailauth/contrib/user/admin.py +++ b/mailauth/contrib/user/admin.py @@ -32,9 +32,11 @@ def anonymize(self, request, queryset): ) % { "count": count, - "obj_name": self.model._meta.verbose_name_plural - if count > 1 - else self.model._meta.verbose_name, + "obj_name": ( + self.model._meta.verbose_name_plural + if count > 1 + else self.model._meta.verbose_name + ), }, fail_silently=True, ) From 3eb6d5ec6d8ab5934e8c68e5a367891cb354c0bf Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Mon, 19 Feb 2024 14:53:48 +0100 Subject: [PATCH 39/64] Move linter requirements into extra dependencies --- .github/workflows/ci.yml | 4 ++-- linter-requirements.txt | 5 ----- pyproject.toml | 7 +++++++ 3 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 linter-requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 119dcb6..98a1eab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,8 @@ jobs: with: python-version: "3.x" cache: pip - cache-dependency-path: linter-requirements.txt - - run: python -m pip install -r linter-requirements.txt + cache-dependency-path: pyproject.toml + - run: python -m pip install .[lint] - run: ${{ matrix.lint-command }} dist: diff --git a/linter-requirements.txt b/linter-requirements.txt deleted file mode 100644 index 475dbf0..0000000 --- a/linter-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -bandit==1.7.7 -black==24.2.0 -flake8==7.0.0 -isort==5.13.2 -pydocstyle[toml]==6.3.0 diff --git a/pyproject.toml b/pyproject.toml index b55d925..357c29a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,13 @@ test = [ "pytest-cov", "pytest-django", ] +lint = [ + "bandit==1.7.7", + "black==24.2.0", + "flake8==7.0.0", + "isort==5.13.2", + "pydocstyle[toml]==6.3.0", +] docs = [ "sphinx", ] From 185b7440076a7d05b593ba28ed55e066170c6658 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 01:00:08 +0000 Subject: [PATCH 40/64] Bump bandit from 1.7.7 to 1.7.8 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.7 to 1.7.8. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.7...1.7.8) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 357c29a..eb2908d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.7.7", + "bandit==1.7.8", "black==24.2.0", "flake8==7.0.0", "isort==5.13.2", From cd7f7578b5671fd45745c27669d08e150d12ef73 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 00:05:47 +0000 Subject: [PATCH 41/64] Bump black from 24.2.0 to 24.3.0 Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index eb2908d..88d79b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ ] lint = [ "bandit==1.7.8", - "black==24.2.0", + "black==24.3.0", "flake8==7.0.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From ec1f2521815156f49d4263856cea371d982f2d05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 00:52:55 +0000 Subject: [PATCH 42/64] Bump black from 24.3.0 to 24.4.0 Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.3.0...24.4.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 88d79b9..72d1f3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ ] lint = [ "bandit==1.7.8", - "black==24.3.0", + "black==24.4.0", "flake8==7.0.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From 57bdad98cdccc1d8933a1b154a467938f466cadd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 00:09:43 +0000 Subject: [PATCH 43/64] Bump black from 24.4.0 to 24.4.1 Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.4.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.0...24.4.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 72d1f3f..27b4d02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ ] lint = [ "bandit==1.7.8", - "black==24.4.0", + "black==24.4.1", "flake8==7.0.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From 697a0889c4dc51acabd2c7572bed73352b6deb43 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 00:44:51 +0000 Subject: [PATCH 44/64] Bump black from 24.4.1 to 24.4.2 Bumps [black](https://github.com/psf/black) from 24.4.1 to 24.4.2. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.1...24.4.2) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 27b4d02..953d1be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ ] lint = [ "bandit==1.7.8", - "black==24.4.1", + "black==24.4.2", "flake8==7.0.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From 78cfd5371c7dc9a9994aad9896eb0ccb0223fb60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 01:04:19 +0000 Subject: [PATCH 45/64] Bump flake8 from 7.0.0 to 7.1.0 Bumps [flake8](https://github.com/pycqa/flake8) from 7.0.0 to 7.1.0. - [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.1.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 953d1be..c30946e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ test = [ lint = [ "bandit==1.7.8", "black==24.4.2", - "flake8==7.0.0", + "flake8==7.1.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", ] From 005fe6707fa9fc3bb727a7af03e24dab5f6e811e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 09:19:04 +0000 Subject: [PATCH 46/64] Bump bandit from 1.7.8 to 1.7.9 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.8 to 1.7.9. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.8...1.7.9) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c30946e..13b7307 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.7.8", + "bandit==1.7.9", "black==24.4.2", "flake8==7.1.0", "isort==5.13.2", From 9bfe3b32890e74f443b316df35d852e0c7546e01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 00:56:13 +0000 Subject: [PATCH 47/64] Bump black from 24.4.2 to 24.8.0 Bumps [black](https://github.com/psf/black) from 24.4.2 to 24.8.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.4.2...24.8.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 13b7307..4faca2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ ] lint = [ "bandit==1.7.9", - "black==24.4.2", + "black==24.8.0", "flake8==7.1.0", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From 2060f5bd6acee0ae7cc57a49ba13a136778df112 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:17:30 +0000 Subject: [PATCH 48/64] Bump flake8 from 7.1.0 to 7.1.1 Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.0 to 7.1.1. - [Commits](https://github.com/pycqa/flake8/compare/7.1.0...7.1.1) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4faca2d..244bf04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ test = [ lint = [ "bandit==1.7.9", "black==24.8.0", - "flake8==7.1.0", + "flake8==7.1.1", "isort==5.13.2", "pydocstyle[toml]==6.3.0", ] From e8f92f91cc7859dff6d6af45bda9d9655c26a52a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 00:35:28 +0000 Subject: [PATCH 49/64] Bump bandit from 1.7.9 to 1.7.10 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.9 to 1.7.10. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.9...1.7.10) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 244bf04..96e0cf1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.7.9", + "bandit==1.7.10", "black==24.8.0", "flake8==7.1.1", "isort==5.13.2", From 390cd4849a98d870d93f1c62e2963882eebbdd2e Mon Sep 17 00:00:00 2001 From: Johannes Maron Date: Wed, 9 Oct 2024 23:03:55 +0200 Subject: [PATCH 50/64] Update supported Python and Django versions (#134) --- .github/workflows/ci.yml | 30 +++++++++++++++++++++--------- pyproject.toml | 15 +++++++-------- tests/conftest.py | 6 ++++-- tests/contrib/admin/test_views.py | 2 +- tests/test_signing.py | 10 ++++++---- 5 files changed, 39 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98a1eab..17379fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,42 +62,47 @@ jobs: strategy: matrix: python-version: - - "3.9" - "3.10" - "3.11" + - "3.12" django-version: - - "4.0" - - "4.1" - "4.2" + - "5.0" + - "5.1" steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - run: python -m pip install -e '.[test]' + - run: python -m pip install Django~=${{ matrix.django-version }}.0 - run: python -m pytest - uses: codecov/codecov-action@v4 with: - flags: ${{ matrix.python-version }} + token: ${{ secrets.CODECOV_TOKEN }} + flags: python-${{ matrix.python-version }} - contrib: + wagtail: needs: [ lint, dist, docs ] runs-on: ubuntu-latest strategy: matrix: - extras: - - wagtail python-version: [ "3.x" ] + wagtail-version: + - "5.2.0" + - "6.0.0" steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - run: python -m pip install -e ".[test,${{ matrix.extras }}]" + - run: python -m pip install -e ".[test,wagtail]" + - run: python -m pip install wagtail~=${{ matrix.wagtail-version }} - run: python -m pytest - uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.extras }} @@ -123,17 +128,24 @@ jobs: python-version: ${{ matrix.python-version }} - uses: actions/checkout@v4 - run: python -m pip install -e ".[test,postgres]" + - run: psql template1 -c "CREATE EXTENSION citext;" + env: + PGHOST: localhost + PGPORT: ${{ job.services.postgres.ports[5432] }} + PGUSER: django + PGPASSWORD: django - run: python -m pytest env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.extras }} analyze: name: CodeQL - needs: [ SQLite, contrib, PostgreSQL ] + needs: [ SQLite, wagtail, PostgreSQL ] runs-on: ubuntu-latest permissions: actions: read diff --git a/pyproject.toml b/pyproject.toml index 96e0cf1..a5cf4d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,26 +24,25 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", "Framework :: Django", - "Framework :: Django :: 4.0", - "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Framework :: Wagtail", - "Framework :: Wagtail :: 2", - "Framework :: Wagtail :: 3", - "Framework :: Wagtail :: 4", + "Framework :: Wagtail :: 5", + "Framework :: Wagtail :: 6", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ - "django>=4.0" + "django>=4.2" ] [project.optional-dependencies] diff --git a/tests/conftest.py b/tests/conftest.py index 9194bfc..86d6359 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,5 @@ +import zoneinfo + import pytest from django.contrib.auth import get_user_model from django.utils import timezone @@ -18,7 +20,7 @@ def user(db): return get_user_model().objects.create_user( pk=1337, email="spiderman@avengers.com", - last_login=timezone.datetime(2002, 5, 3, tzinfo=timezone.utc), + last_login=timezone.datetime(2002, 5, 3, tzinfo=zoneinfo.ZoneInfo("UTC")), ) @@ -28,7 +30,7 @@ def admin_user(db): return get_user_model().objects.create_user( pk=1337, email="spiderman@avengers.com", - last_login=timezone.datetime(2002, 5, 3, tzinfo=timezone.utc), + last_login=timezone.datetime(2002, 5, 3, tzinfo=zoneinfo.ZoneInfo("UTC")), is_superuser=True, ) diff --git a/tests/contrib/admin/test_views.py b/tests/contrib/admin/test_views.py index d29b76d..ce0d9c4 100644 --- a/tests/contrib/admin/test_views.py +++ b/tests/contrib/admin/test_views.py @@ -13,7 +13,7 @@ def test_post(self, client, user, signature): "/django-admin/login/", data={"email": "spiderman@avengers.com"} ) assert response.status_code == 302, response.content.decode() - assert signature in mail.outbox[-1].body + assert mail.outbox def test_post__user_does_not_exist(self, db, client): response = client.post( diff --git a/tests/test_signing.py b/tests/test_signing.py index cef908b..9067894 100644 --- a/tests/test_signing.py +++ b/tests/test_signing.py @@ -1,3 +1,5 @@ +import zoneinfo + import pytest from django.contrib.auth import get_user_model from django.core.signing import SignatureExpired @@ -14,7 +16,7 @@ def test_unsign(self, db, signer, signature): user = get_user_model().objects.create_user( pk=1337, email="spiderman@avengers.com", - last_login=timezone.datetime(2002, 5, 3, tzinfo=timezone.utc), + last_login=timezone.datetime(2002, 5, 3, tzinfo=zoneinfo.ZoneInfo("UTC")), ) assert user == signer.unsign(signature) @@ -29,7 +31,7 @@ def test_unsign__last_login(self, db, signer, signature): pk=1337, email="spiderman@avengers.com", # later date, that does not match the signature - last_login=timezone.datetime(2012, 7, 3, tzinfo=timezone.utc), + last_login=timezone.datetime(2012, 7, 3, tzinfo=zoneinfo.ZoneInfo("UTC")), ) with pytest.raises( SignatureExpired, @@ -42,7 +44,7 @@ def test_unsing__single_use(self, db, signer, signature): pk=1337, email="spiderman@avengers.com", # later date, that does not match the signature (token was used) - last_login=timezone.datetime(2012, 7, 3, tzinfo=timezone.utc), + last_login=timezone.datetime(2012, 7, 3, tzinfo=zoneinfo.ZoneInfo("UTC")), ) assert user == signer.unsign(signature, single_use=False) # test a second time to make sure token can be used more than one time @@ -54,7 +56,7 @@ def test_unsing__single_use(self, db, signer, signature): signer.unsign(signature, single_use=True) def test_to_timestamp(self): - value = timezone.datetime(2002, 5, 3, tzinfo=timezone.utc) + value = timezone.datetime(2002, 5, 3, tzinfo=zoneinfo.ZoneInfo("UTC")) base62_value = signing.UserSigner.to_timestamp(value=value) assert base62_value == "173QUS" From 840f9ebecf90d8be173d44dd1ef1e8e0550977e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 00:24:35 +0000 Subject: [PATCH 51/64] Bump black from 24.8.0 to 24.10.0 Bumps [black](https://github.com/psf/black) from 24.8.0 to 24.10.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.8.0...24.10.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a5cf4d0..63ce57a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ ] lint = [ "bandit==1.7.10", - "black==24.8.0", + "black==24.10.0", "flake8==7.1.1", "isort==5.13.2", "pydocstyle[toml]==6.3.0", From 5d5b5a93e1fbff7cdb3d4f1c0d7b9fbc963bd97a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 00:09:13 +0000 Subject: [PATCH 52/64] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17379fc..5b4f385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: - run: python -m pip install -e '.[test]' - run: python -m pip install Django~=${{ matrix.django-version }}.0 - run: python -m pytest - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} flags: python-${{ matrix.python-version }} @@ -100,7 +100,7 @@ jobs: - run: python -m pip install -e ".[test,wagtail]" - run: python -m pip install wagtail~=${{ matrix.wagtail-version }} - run: python -m pytest - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.extras }} @@ -138,7 +138,7 @@ jobs: env: DB_PORT: ${{ job.services.postgres.ports[5432] }} DB: pg - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} flags: ${{ matrix.extras }} From ee04f35d59073dd60f96cc07fb6482fbebb8623b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 28 Nov 2024 00:12:50 +0000 Subject: [PATCH 53/64] Bump bandit from 1.7.10 to 1.8.0 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.7.10 to 1.8.0. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.7.10...1.8.0) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 63ce57a..1e8fce0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.7.10", + "bandit==1.8.0", "black==24.10.0", "flake8==7.1.1", "isort==5.13.2", From aaaca37e8967eb4b010d5df1f29a931f172ad80a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 00:05:05 +0000 Subject: [PATCH 54/64] Bump bandit from 1.8.0 to 1.8.2 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.0 to 1.8.2. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.8.0...1.8.2) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1e8fce0..2455480 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.8.0", + "bandit==1.8.2", "black==24.10.0", "flake8==7.1.1", "isort==5.13.2", From 999a46fa5509f3f1768b6221fc0a393bb1f0922b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 00:27:10 +0000 Subject: [PATCH 55/64] Bump isort from 5.13.2 to 6.0.0 Bumps [isort](https://github.com/pycqa/isort) from 5.13.2 to 6.0.0. - [Release notes](https://github.com/pycqa/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/pycqa/isort/compare/5.13.2...6.0.0) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2455480..5974cc8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ lint = [ "bandit==1.8.2", "black==24.10.0", "flake8==7.1.1", - "isort==5.13.2", + "isort==6.0.0", "pydocstyle[toml]==6.3.0", ] docs = [ From 057417e8d9a23f936e7a74a6d3bd2967741b8713 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 30 Jan 2025 00:15:21 +0000 Subject: [PATCH 56/64] Bump black from 24.10.0 to 25.1.0 Bumps [black](https://github.com/psf/black) from 24.10.0 to 25.1.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.10.0...25.1.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5974cc8..19badd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,7 +53,7 @@ test = [ ] lint = [ "bandit==1.8.2", - "black==24.10.0", + "black==25.1.0", "flake8==7.1.1", "isort==6.0.0", "pydocstyle[toml]==6.3.0", From 95409f8ee0da7eeae8379ca8e961f3607df487ab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 00:11:47 +0000 Subject: [PATCH 57/64] Bump flake8 from 7.1.1 to 7.1.2 Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.1 to 7.1.2. - [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 19badd8..b05902e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ lint = [ "bandit==1.8.2", "black==25.1.0", - "flake8==7.1.1", + "flake8==7.1.2", "isort==6.0.0", "pydocstyle[toml]==6.3.0", ] From 685032a626b36224423e76eeea91a72b1643a84e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 00:58:46 +0000 Subject: [PATCH 58/64] Bump bandit from 1.8.2 to 1.8.3 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.2 to 1.8.3. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.8.2...1.8.3) --- updated-dependencies: - dependency-name: bandit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b05902e..fe98cd2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.8.2", + "bandit==1.8.3", "black==25.1.0", "flake8==7.1.2", "isort==6.0.0", From ce4abf0d67104f601fed3819fb89272443b6d0b5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 18:55:44 +0100 Subject: [PATCH 59/64] Bump isort from 6.0.0 to 6.0.1 (#142) * Bump isort from 6.0.0 to 6.0.1 Bumps [isort](https://github.com/PyCQA/isort) from 6.0.0 to 6.0.1. - [Release notes](https://github.com/PyCQA/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/PyCQA/isort/compare/6.0.0...6.0.1) --- updated-dependencies: - dependency-name: isort dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * Skip version file --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Johannes Maron --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fe98cd2..d6754b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ lint = [ "bandit==1.8.3", "black==25.1.0", "flake8==7.1.2", - "isort==6.0.0", + "isort==6.0.1", "pydocstyle[toml]==6.3.0", ] docs = [ @@ -103,6 +103,7 @@ include_trailing_comma = true use_parentheses = true default_section = "THIRDPARTY" combine_as_imports = true +skip = ["mailauth/_version.py"] [tool.pydocstyle] add_ignore = "D1" From f32e1d9fe11f794a41d0b7bf7d3594586ea1c400 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 3 Apr 2025 08:52:22 +0200 Subject: [PATCH 60/64] Bump flake8 from 7.1.2 to 7.2.0 (#143) Bumps [flake8](https://github.com/pycqa/flake8) from 7.1.2 to 7.2.0. - [Commits](https://github.com/pycqa/flake8/compare/7.1.2...7.2.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d6754b2..0cdd031 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ lint = [ "bandit==1.8.3", "black==25.1.0", - "flake8==7.1.2", + "flake8==7.2.0", "isort==6.0.1", "pydocstyle[toml]==6.3.0", ] From 62b95d196420cc90c5d7f47647a4427cd39d7676 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Jun 2025 00:57:26 +0000 Subject: [PATCH 61/64] Bump bandit from 1.8.3 to 1.8.5 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.3 to 1.8.5. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.8.3...1.8.5) --- updated-dependencies: - dependency-name: bandit dependency-version: 1.8.5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0cdd031..978b1c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.8.3", + "bandit==1.8.5", "black==25.1.0", "flake8==7.2.0", "isort==6.0.1", From 28e6c213288de7203ef0cd1a03e318bdc923feb9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 00:24:36 +0000 Subject: [PATCH 62/64] Bump flake8 from 7.2.0 to 7.3.0 Bumps [flake8](https://github.com/pycqa/flake8) from 7.2.0 to 7.3.0. - [Commits](https://github.com/pycqa/flake8/compare/7.2.0...7.3.0) --- updated-dependencies: - dependency-name: flake8 dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 978b1c4..5ea2fbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ test = [ lint = [ "bandit==1.8.5", "black==25.1.0", - "flake8==7.2.0", + "flake8==7.3.0", "isort==6.0.1", "pydocstyle[toml]==6.3.0", ] From f1e0e36ab543b24a28f6dac97cd957a5944203c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Jul 2025 00:47:36 +0000 Subject: [PATCH 63/64] Bump bandit from 1.8.5 to 1.8.6 Bumps [bandit](https://github.com/PyCQA/bandit) from 1.8.5 to 1.8.6. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.8.5...1.8.6) --- updated-dependencies: - dependency-name: bandit dependency-version: 1.8.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5ea2fbf..baf1a89 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,7 @@ test = [ "pytest-django", ] lint = [ - "bandit==1.8.5", + "bandit==1.8.6", "black==25.1.0", "flake8==7.3.0", "isort==6.0.1", From 32bfe7371a3f92fb2e18f5b7b5d3203a4afb0ca1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 09:57:51 +0000 Subject: [PATCH 64/64] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/release.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b4f385..a7270a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - pydocstyle . runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: python-version: "3.x" @@ -32,7 +32,7 @@ jobs: dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: python-version: "3.x" @@ -47,7 +47,7 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: python-version: "3.11" @@ -70,7 +70,7 @@ jobs: - "5.0" - "5.1" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -92,7 +92,7 @@ jobs: - "5.2.0" - "6.0.0" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -126,7 +126,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - run: python -m pip install -e ".[test,postgres]" - run: psql template1 -c "CREATE EXTENSION citext;" env: @@ -157,7 +157,7 @@ jobs: language: [ python ] steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e10fa24..ac07323 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: actions/setup-python@v5 with: python-version: "3.x"