From 59d8c8720bcd67ac654b1c7998f419b9869ae3f0 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 25 Mar 2024 05:22:05 +0000
Subject: [PATCH 1/3] Update pre-commit requirement from ~=3.6 to ~=3.7 (#737)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Updates the requirements on
[pre-commit](https://github.com/pre-commit/pre-commit) to permit the
latest version.
Release notes
Sourced from pre-commit's
releases.
pre-commit v3.7.0
Features
- Use a tty for
docker and docker_image
hooks when --color is specified.
Fixes
- Fix
fail_fast for individual hooks stopping when
previous hooks had failed.
Updating
- The per-hook behaviour of
fail_fast was fixed. If you
want the pre-3.7.0
behaviour, add fail_fast: true to all hooks before the last
fail_fast
hook.
Changelog
Sourced from pre-commit's
changelog.
3.7.0 - 2024-03-24
Features
- Use a tty for
docker and docker_image
hooks when --color is specified.
Fixes
- Fix
fail_fast for individual hooks stopping when
previous hooks had failed.
Updating
- The per-hook behaviour of
fail_fast was fixed. If you
want the pre-3.7.0
behaviour, add fail_fast: true to all hooks before the last
fail_fast
hook.
3.6.2 - 2024-02-18
Fixes
- Fix building golang hooks during
git commit --all.
3.6.1 - 2024-02-10
Fixes
- Remove
PYTHONEXECUTABLE from environment when running.
- Handle staged-files-only with only a crlf diff.
3.6.0 - 2023-12-09
Features
- Check
minimum_pre_commit_version first when parsing
configs.
Fixes
- Fix deprecation warnings for
importlib.resources.
- Fix deprecation warnings for rmtree.
Updating
- Drop support for python<3.9.
... (truncated)
Commits
7b4667e
v3.7.0
d46c8fc
Merge pull request #3168
from pre-commit/fix-fail-fast
fc62215
fix per-hook fail_fast to not fail on previous failures
716da1e
Merge pull request #3155
from pre-commit/pre-commit-ci-update-config
0939c11
[pre-commit.ci] pre-commit autoupdate
3bdf9fb
Merge pull request #3150
from pre-commit/pre-commit-ci-update-config
75b3e52
[pre-commit.ci] pre-commit autoupdate
5e11c26
Merge pull request #3122
from glehmann/docker-tty
e580096
give docker a tty output when expecting color
7b868c3
Merge pull request #3132
from pre-commit/pre-commit-ci-update-config
- Additional commits viewable in compare
view
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
requirements_dev.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements_dev.txt b/requirements_dev.txt
index b2fa68f34..efed240da 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -1,5 +1,5 @@
pre-commit>=2.21.0,<3; python_version<"3.9"
-pre-commit~=3.6; python_version>="3.9"
+pre-commit~=3.7; python_version>="3.9"
pylint~=2.17; python_version<"3.8"
pylint~=3.1; python_version>="3.8"
pytest~=7.4; python_version<"3.8"
From 5ee0e9a76f93e0b24447b8b5da9efc508bebac10 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 25 Mar 2024 05:23:00 +0000
Subject: [PATCH 2/3] Update pytest-cov requirement from ~=4.1 to ~=5.0
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.1.0...v5.0.0)
---
updated-dependencies:
- dependency-name: pytest-cov
dependency-type: direct:development
...
Signed-off-by: dependabot[bot]
---
requirements_dev.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements_dev.txt b/requirements_dev.txt
index efed240da..715d23b5b 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -4,4 +4,4 @@ pylint~=2.17; python_version<"3.8"
pylint~=3.1; python_version>="3.8"
pytest~=7.4; python_version<"3.8"
pytest~=8.1; python_version>="3.8"
-pytest-cov~=4.1
+pytest-cov~=5.0
From 1d3affd780b1ce91d386df4b17b64078b9daabad Mon Sep 17 00:00:00 2001
From: francescalb
Date: Fri, 12 Apr 2024 08:43:53 +0200
Subject: [PATCH 3/3] Don't update pytest-cov for python3.7 anymore
---
requirements_dev.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/requirements_dev.txt b/requirements_dev.txt
index 715d23b5b..db8dc8f5d 100644
--- a/requirements_dev.txt
+++ b/requirements_dev.txt
@@ -4,4 +4,5 @@ pylint~=2.17; python_version<"3.8"
pylint~=3.1; python_version>="3.8"
pytest~=7.4; python_version<"3.8"
pytest~=8.1; python_version>="3.8"
-pytest-cov~=5.0
+pytest-cov~=4.1; python_version<"3.8"
+pytest-cov~=5.0; python_version>="3.8"