chore(deps): update dependency pre-commit to v3
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| pre-commit | ^2.12.1 -> ^3.0.0 |
Release Notes
pre-commit/pre-commit (pre-commit)
v3.6.2
==================
Fixes
- Fix building golang hooks during
git commit --all.- #3130 PR by @asottile.
- #2722 issue by @pestanko and @matthewhughes934.
v3.6.1
==================
Fixes
- Remove
PYTHONEXECUTABLEfrom environment when running.- #3110 PR by @untitaker.
- Handle staged-files-only with only a crlf diff.
- #3126 PR by @asottile.
- issue by @tyyrok.
v3.6.0
==================
Features
- Check
minimum_pre_commit_versionfirst when parsing configs.- #3092 PR by @asottile.
Fixes
- Fix deprecation warnings for
importlib.resources.- #3043 PR by @asottile.
- Fix deprecation warnings for rmtree.
- #3079 PR by @edgarrmondragon.
Updating
- Drop support for python<3.9.
- #3042 PR by @asottile.
- #3093 PR by @asottile.
v3.5.0
==================
Features
- Improve performance of
check-hooks-applyandcheck-useless-excludes.
Fixes
- Use
time.monotonic()for more accurate hook timing.- #3024 PR by @adamchainz.
Migrating
- Require npm 6.x+ for
language: nodehooks.- #2996 PR by @RoelAdriaans.
- #1983 issue by @henryiii.
v3.4.0
==================
Features
- Add
language: haskell.- #2932 by @alunduil.
- Improve cpu count detection when run under cgroups.
Fixes
- Handle negative exit codes from hooks receiving posix signals.
- #2971 PR by @chriskuehl.
- #2970 issue by @chriskuehl.
v3.3.3
==================
Fixes
- Work around OS packagers setting
--install-dir/--bin-dirin gem settings.- #2905 PR by @jaysoffian.
- #2799 issue by @lmilbaum.
v3.3.2
==================
Fixes
- Work around
ron windows sometimes double-un-quoting arguments.- #2885 PR by @lorenzwalthert.
- #2870 issue by @lorenzwalthert.
v3.3.1
==================
Fixes
- Work around
gitpartial clone bug forautoupdateon windows.- #2866 PR by @asottile.
- #2865 issue by @adehad.
v3.3.0
==================
Features
- Upgrade ruby-build.
- #2846 PR by @jalessio.
- Use blobless clone for faster autoupdate.
- #2859 PR by @asottile.
- Add
-j/--jobsargument toautoupdatefor parallel execution.- #2863 PR by @asottile.
- issue by @gaborbernat.
v3.2.2
==================
Fixes
- Fix support for swift >= 5.8.
- #2836 PR by @edelabar.
- #2835 issue by @kgrobelny-intive.
v3.2.1
==================
Fixes
- Fix
language_versionforlanguage: rustwithout globalrustup.- #2823 issue by @daschuer.
- #2827 PR by @asottile.
v3.2.0
==================
Features
- Allow
pre-commit,pre-push, andpre-merge-commitasstages.- #2732 issue by @asottile.
- #2808 PR by @asottile.
- Add
pre-rebasehook support.- #2582 issue by @BrutalSimplicity.
- #2725 PR by @mgaligniana.
Fixes
- Remove bulky cargo cache from
language: rustinstalls.- #2820 PR by @asottile.
v3.1.1
==================
Fixes
- Fix
rustwithlanguage_versionand a non-writable hostRUSTUP_HOME.
v3.1.0
==================
Fixes
- Fix
dotnetfor.sln-based hooks for dotnet>=7.0.200. - Prevent stashing when
difffails to execute.- #2774 PR by @asottile.
- #2773 issue by @strubbly.
- Dependencies are no longer sorted in repository key.
- #2776 PR by @asottile.
Updating
- Deprecate
language: python_venv. Uselanguage: pythoninstead.- #2746 PR by @asottile.
- #2734 issue by @asottile.
v3.0.4
==================
Fixes
- Fix hook diff detection for files affected by
--textconv.- #2743 PR by @adamchainz.
- #2743 issue by @adamchainz.
v3.0.3
==================
Fixes
- Revert "Prevent local
Gemfilefrom interfering with hook execution.".- #2739 issue by @Roguelazer.
- #2740 PR by @asottile.
v3.0.2
==================
Fixes
- Prevent local
Gemfilefrom interfering with hook execution.- #2727 PR by @asottile.
- Fix
language: r,repo: localhooks- pre-commit-ci/issues#107 by @lorenzwalthert.
- #2728 PR by @asottile.
v3.0.1
==================
Fixes
- Ensure coursier hooks are available offline after install.
- #2723 PR by @asottile.
v3.0.0
==================
Features
- Make
language: golangbootstrapgoif not present.- #2651 PR by @taoufik07.
- #2649 issue by @taoufik07.
language: coursiernow supportsadditional_dependenciesandrepo: local- #2702 PR by @asottile.
- Upgrade
ruby-buildto20221225.- #2718 PR by @jalessio.
Fixes
- Improve error message for invalid yaml for
pre-commit autoupdate.- #2686 PR by @asottile.
- #2685 issue by @CarstenGrohmann.
repo: localno longer provisions an emptygitrepo.- #2699 PR by @asottile.
Updating
- Drop support for python<3.8
- #2655 PR by @asottile.
- Drop support for top-level list, use
pre-commit migrate-configto update.- #2656 PR by @asottile.
- Drop support for
shato specify revision, usepre-commit migrate-configto update.- #2657 PR by @asottile.
- Remove
pre-commit-validate-configandpre-commit-validate-manifest, usepre-commit validate-configandpre-commit validate-manifestinstead.- #2658 PR by @asottile.
language: golanghooks must usego.modto specify dependencies- #2672 PR by @taoufik07.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: poetry.lock
installing v2 tool python v3.11.5
[15:29:59.861] INFO (9): Installing tool python v3.11.5...
linking tool python v3.11.5
Python 3.11.5
pip 23.2.1 from /opt/containerbase/tools/python/3.11.5/lib/python3.11/site-packages/pip (python 3.11)
[15:30:06.630] INFO (9): Installed tool python in 6.7s.
[15:30:07.118] INFO (170): Installing tool poetry v1.2.2...
installing v2 tool poetry v1.2.2
linking tool poetry v1.2.2
Poetry (version 1.2.2)
[15:30:16.467] INFO (170): Installed tool poetry in 9.3s.
Creating virtualenv mailersend-GAMjx6dx-py3.11 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...
The current project's Python requirement (>=3.7,<4.0) is not compatible with some of the required packages Python requirement:
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
- pre-commit requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
Because no versions of pre-commit match >3.0.0,<3.0.1 || >3.0.1,<3.0.2 || >3.0.2,<3.0.3 || >3.0.3,<3.0.4 || >3.0.4,<3.1.0 || >3.1.0,<3.1.1 || >3.1.1,<3.2.0 || >3.2.0,<3.2.1 || >3.2.1,<3.2.2 || >3.2.2,<3.3.0 || >3.3.0,<3.3.1 || >3.3.1,<3.3.2 || >3.3.2,<3.3.3 || >3.3.3,<3.4.0 || >3.4.0,<4.0.0
and pre-commit (3.0.0) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.0.1) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.0.2) requires Python >=3.8
and pre-commit (3.0.3) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.0.4) requires Python >=3.8
and pre-commit (3.1.0) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.1.1) requires Python >=3.8
and pre-commit (3.2.0) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.2.1) requires Python >=3.8
and pre-commit (3.2.2) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.3.0) requires Python >=3.8
and pre-commit (3.3.1) requires Python >=3.8, pre-commit is forbidden.
And because pre-commit (3.3.2) requires Python >=3.8
and pre-commit (3.3.3) requires Python >=3.8, pre-commit is forbidden.
So, because pre-commit (3.4.0) requires Python >=3.8
and mailersend depends on pre-commit (^3.0.0), version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.8,<4.0"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.