chore(deps): update dependency pre-commit to v4
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| pre-commit | ^3.5.0 -> ^4.0.0 |
Release Notes
pre-commit/pre-commit (pre-commit)
v4.5.0
==================
Features
- Add
pre-commit hazmat.- #3585 PR by @asottile.
v4.4.0
==================
Features
- Add
--fail-fastoption topre-commit run.- #3528 PR by @JulianMaurin.
- Upgrade
ruby-build/rbenv.- #3566 PR by @asottile.
- #3565 issue by @MRigal.
- Add
language: unsupported/language: unsupported_scriptas aliases forlanguage: system/language: script(which will eventually be deprecated).- #3577 PR by @asottile.
- Add support docker-in-docker detection for cgroups v2.
- #3535 PR by @br-rhrbacek.
- #3360 issue by @JasonAlt.
Fixes
- Handle when docker gives
SecurityOptions: null.- #3537 PR by @asottile.
- #3514 issue by @jenstroeger.
- Fix error context for invalid
stagesin.pre-commit-config.yaml.- #3576 PR by @asottile.
v4.3.0
==================
Features
-
language: docker/language: docker_image: detect rootless docker.- #3446 PR by @matthewhughes934.
- #1243 issue by @dkolepp.
-
language: julia: avoidstartup.jlwhen executing hooks.- #3496 PR by @ericphanson.
-
language: dart: support latest dart versions which require a higher sdk lower bound.
v4.2.0
==================
Features
- For
language: pythonfirst attempt a versioned python executable for the default language version before consulting a potentially unversionedsys.executable.- #3430 PR by @asottile.
Fixes
- Handle error during conflict detection when a file is named "HEAD"
- #3425 PR by @tusharsadhwani.
v4.1.0
==================
Features
- Add
language: julia.- #3348 PR by @fredrikekre.
- #2689 issue @jmuchovej.
Fixes
- Disable automatic toolchain switching for
language: golang. - Fix
language: rinstallation when initiated by RStudio.- #3389 PR by @lorenzwalthert.
- #3385 issue by @lorenzwalthert.
v4.0.1
==================
Fixes
- Fix
pre-commit migrate-configfor unquoted deprecated stages names with purelibpyyaml.- #3324 PR by @asottile.
- pre-commit-ci/issues#234 issue by @lorenzwalthert.
v4.0.0
==================
Features
- Improve
pre-commit migrate-configto handle more yaml formats.- #3301 PR by @asottile.
- Handle
stagesdeprecation inpre-commit migrate-config.- #3302 PR by @asottile.
- #2732 issue by @asottile.
- Upgrade
ruby-build.- #3199 PR by @ThisGuyCodes.
- Add "sensible regex" warnings to
repo: meta.- #3311 PR by @asottile.
- Add warnings for deprecated
stages(commit->pre-commit,push->pre-push,merge-commit->pre-merge-commit).- #3312 PR by @asottile.
- #3313 PR by @asottile.
- #3315 PR by @asottile.
- #2732 issue by @asottile.
Migrating
-
language: python_venvhas been removed -- uselanguage: pythoninstead.- #3320 PR by @asottile.
- #2734 issue by @asottile.
v3.8.0
==================
Features
- Implement health checks for
language: rso environments are recreated if the system version of R changes.- #3206 issue by @lorenzwalthert.
- #3265 PR by @lorenzwalthert.
v3.7.1
==================
Fixes
- Fix
language: rustdefault language version check whenrust-toolchain.tomlis present.- issue by @gaborbernat.
- #3201 PR by @asottile.
v3.7.0
==================
Features
- Use a tty for
dockeranddocker_imagehooks when--coloris specified.- #3122 PR by @glehmann.
Fixes
- Fix
fail_fastfor individual hooks stopping when previous hooks had failed.- #3167 issue by @tp832944.
- #3168 PR by @asottile.
Updating
- The per-hook behaviour of
fail_fastwas fixed. If you want the pre-3.7.0 behaviour, addfail_fast: trueto all hooks before the lastfail_fasthook.
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.
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 was generated by Mend Renovate. View the repository job log.
⚠️ 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
The --no-wheel and --wheel options are deprecated. They have no effect for Python > 3.8 as wheel is no longer bundled in virtualenv.
Updating dependencies
Resolving dependencies...
Creating virtualenv pre-commit-gitlabci-lint-x8HUE7vb-py3.14 in /home/ubuntu/.cache/pypoetry/virtualenvs
The current project's supported Python range (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
- pre-commit requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9
- pre-commit requires Python >=3.10, so it will not be satisfied for Python >=3.8,<3.10
Because no versions of pre-commit match >4.0.0,<4.0.1 || >4.0.1,<4.1.0 || >4.1.0,<4.2.0 || >4.2.0,<4.3.0 || >4.3.0,<4.4.0 || >4.4.0,<5.0.0
and pre-commit (4.0.0) requires Python >=3.9, pre-commit is forbidden.
And because pre-commit (4.0.1) requires Python >=3.9
and pre-commit (4.1.0) requires Python >=3.9, pre-commit is forbidden.
And because pre-commit (4.2.0) requires Python >=3.9
and pre-commit (4.3.0) requires Python >=3.9, pre-commit is forbidden.
So, because pre-commit (4.4.0) requires Python >=3.10
and pre-commit-gitlabci-lint depends on pre-commit (^4.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.9,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.9,<4.0"
For pre-commit, a possible solution would be to set the `python` property to ">=3.10,<4.0"
https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
https://python-poetry.org/docs/dependency-specification/#using-environment-markers