Skip to content
New issue

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

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

Already on GitHub? # to your account

chore(deps): update dependency pathspec to v0.12.1 #3644

Merged

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented May 15, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pathspec ==0.11.1 -> ==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() (with a leading underscore) 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

v0.11.2

Compare Source

New features:

  • Issue #​80_: match_files with negated path spec. pathspec.PathSpec.match_*() now have a negate parameter to make using .gitignore logic easier and more efficient.

Bug fixes:

  • Pull #​76_: Add edge case: patterns that end with an escaped space
  • Issue #​77/Pull #​78: Negate with caret symbol as with the exclamation mark.

.. _Pull #​76: https://github.com/cpburnz/python-pathspec/pull/76
.. _Issue #​77: https://github.com/cpburnz/python-pathspec/issues/77
.. _Pull #​78: https://github.com/cpburnz/python-pathspec/pull/78/
.. _Issue #​80: https://github.com/cpburnz/python-pathspec/issues/80


Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.

Signed-off-by: Mend Renovate <bot@renovateapp.com>
@ramonpetgrave64 ramonpetgrave64 enabled auto-merge (squash) May 16, 2024 16:28
@ramonpetgrave64 ramonpetgrave64 merged commit ecc53bb into slsa-framework:main May 16, 2024
75 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants