Skip to content
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

fix(deps): update dependency pathspec to v0.12.1 #955

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 10, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pathspec 0.11.2 -> 0.12.1 age adoption passing confidence

Release Notes

cpburnz/python-pathspec (pathspec)

v0.12.1

Compare Source

Bug fixes:

  • Issue #​84_: PathSpec.match_file() returns None since 0.12.0.

.. _Issue #​84: https://github.com/cpburnz/python-pathspec/issues/84

v0.12.0

Compare Source

Major changes:

  • Dropped support of EOL Python 3.7. See Pull #​82_.

API changes:

  • Signature of protected method pathspec.pathspec.PathSpec._match_file() has been changed from def _match_file(patterns: Iterable[Pattern], file: str) -> bool to def _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]].

New features:

  • Added pathspec.pathspec.PathSpec.check_*() methods. These methods behave similarly to .match_*() but return additional information in the pathspec.util.CheckResult objects (e.g., CheckResult.index indicates the index of the last pattern that matched the file).
  • Added pathspec.pattern.RegexPattern.pattern attribute which stores the original, uncompiled pattern.

Bug fixes:

  • Issue #​81_: GitIgnoreSpec behaviors differ from git.
  • Pull #​83_: Fix ReadTheDocs builds.

Improvements:

  • Mark Python 3.12 as supported. See Pull #​82_.
  • Improve test debugging.
  • Improve type hint on on_error parameter on pathspec.pathspec.PathSpec.match_tree_entries().
  • Improve type hint on on_error parameter on pathspec.util.iter_tree_entries().

.. _Issue #​81: https://github.com/cpburnz/python-pathspec/issues/81
.. _Pull #​82: https://github.com/cpburnz/python-pathspec/pull/82
.. _Pull #​83: https://github.com/cpburnz/python-pathspec/pull/83


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 10, 2023
@browniebroke browniebroke changed the title fix(deps): update dependency pathspec to v0.12.0 chore(deps): update dependency pathspec to v0.12.0 Dec 10, 2023
@renovate renovate bot changed the title chore(deps): update dependency pathspec to v0.12.0 fix(deps): update dependency pathspec to v0.12.0 Dec 10, 2023
@renovate renovate bot changed the title fix(deps): update dependency pathspec to v0.12.0 fix(deps): update dependency pathspec to v0.12.1 Dec 11, 2023
@renovate renovate bot force-pushed the renovate/pathspec-0.x-lockfile branch from b076b8a to b338977 Compare December 11, 2023 00:11
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b94aa27) 98.72% compared to head (b338977) 98.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #955   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          30       30           
  Lines        1021     1021           
  Branches      166      166           
=======================================
  Hits         1008     1008           
  Partials       13       13           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit c8a0638 into main Dec 11, 2023
25 checks passed
@renovate renovate bot deleted the renovate/pathspec-0.x-lockfile branch December 11, 2023 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants