Skip to content

Update dependency pre-commit to v4 #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pre-commit ^3.5.0 -> ^4.0.0 age adoption passing confidence

Release Notes

pre-commit/pre-commit (pre-commit)

v4.2.0

Compare Source

==================

Features
  • For language: python first attempt a versioned python executable for
    the default language version before consulting a potentially unversioned
    sys.executable.
Fixes

v4.1.0

Compare Source

==================

Features
Fixes

v4.0.1

Compare Source

==================

Fixes

v4.0.0

Compare Source

==================

Features
Migrating

v3.8.0

Compare Source

==================

Features

v3.7.1

Compare Source

==================

Fixes

v3.7.0

Compare Source

==================

Features
  • Use a tty for docker and docker_image hooks when --color is specified.
Fixes
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.

v3.6.2

Compare Source

==================

Fixes

v3.6.1

Compare Source

==================

Fixes

v3.6.0

Compare Source

==================

Features
Fixes
Updating

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.

Copy link
Contributor Author

renovate bot commented Apr 2, 2025

⚠️ 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
Creating virtualenv advent-of-code-9XgRV3Zu-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs
Updating dependencies
Resolving dependencies...


The current project's Python requirement (>=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

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,<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.
So, because pre-commit (4.2.0) requires Python >=3.9
 and advent-of-code 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"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

@renovate renovate bot force-pushed the renovate/pre-commit-4.x branch from 5883c1e to 51a5e02 Compare April 2, 2025 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants