Bump pathspec from 0.11.1 to 0.12.1
Bumps pathspec from 0.11.1 to 0.12.1.
Release notes
Sourced from pathspec's releases.
v0.12.1
Release v0.12.1. See CHANGES.rst.
v0.12.0
Release v0.12.0. See CHANGES.rst.
v0.11.2
Release v0.11.2. See CHANGES.rst.
Changelog
Sourced from pathspec's changelog.
0.12.1 (2023-12-10)
Bug fixes:
Issue [#84](https://github.com/cpburnz/python-pathspec/issues/84)_: PathSpec.match_file() returns None since 0.12.0... _
Issue [#84](https://github.com/cpburnz/python-pathspec/issues/84): cpburnz/python-pathspec#840.12.0 (2023-12-09)
Major changes:
- Dropped support of EOL Python 3.7. See
Pull [#82](https://github.com/cpburnz/python-pathspec/issues/82)_.API changes:
- Signature of protected method
pathspec.pathspec.PathSpec._match_file()(with a leading underscore) has been changed fromdef _match_file(patterns: Iterable[Pattern], file: str) -> booltodef _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 thepathspec.util.CheckResultobjects (e.g.,CheckResult.indexindicates the index of the last pattern that matched the file).- Added
pathspec.pattern.RegexPattern.patternattribute which stores the original, uncompiled pattern.Bug fixes:
Issue [#81](https://github.com/cpburnz/python-pathspec/issues/81)_: GitIgnoreSpec behaviors differ from git.Pull [#83](https://github.com/cpburnz/python-pathspec/issues/83)_: Fix ReadTheDocs builds.Improvements:
- Mark Python 3.12 as supported. See
Pull [#82](https://github.com/cpburnz/python-pathspec/issues/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): cpburnz/python-pathspec#81 .. _Pull [#82](https://github.com/cpburnz/python-pathspec/issues/82): cpburnz/python-pathspec#82 .. _Pull [#83](https://github.com/cpburnz/python-pathspec/issues/83): cpburnz/python-pathspec#830.11.2 (2023-07-28)
New features:
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)