Skip to content

Update dependency pathspec to v0.12.1#528

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pathspec-0.x
Open

Update dependency pathspec to v0.12.1#528
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pathspec-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 1, 2026

This PR contains the following updates:

Package Change Age Confidence
pathspec (changelog) ==0.11.0==0.12.1 age confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


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: #​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: #​81
.. _Pull #​82: #​82
.. _Pull #​83: #​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: #​76
.. _Issue #​77: #​77
.. _Pull #​78: #​78/
.. _Issue #​80: #​80

v0.11.1

Compare Source

Bug fixes:

  • Issue #​74_: Include directory should override exclude file.

Improvements:

  • Pull #​75_: Fix partially unknown PathLike type.
  • Convert os.PathLike to a string properly using os.fspath.

.. _Issue #​74: #​74
.. _Pull #​75: #​75


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "on the 1st through 7th day of the month"
  • 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.

@renovate renovate Bot added the bot label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants