Skip to content

Commit

Permalink
chore(deps): update dependency pathspec to v0.12.1 (#1445)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [pathspec](https://togithub.com/cpburnz/python-pathspec) | `==0.11.2`
-> `==0.12.1` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/pathspec/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/pathspec/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/pathspec/0.11.2/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pathspec/0.11.2/0.12.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>cpburnz/python-pathspec (pathspec)</summary>

###
[`v0.12.1`](https://togithub.com/cpburnz/python-pathspec/blob/HEAD/CHANGES.rst#0121-2023-12-10)

[Compare
Source](https://togithub.com/cpburnz/python-pathspec/compare/v0.12.0...v0.12.1)

Bug fixes:

- `Issue #&#8203;84`\_: PathSpec.match_file() returns None since 0.12.0.

.. \_`Issue #&#8203;84`:
[https://github.com/cpburnz/python-pathspec/issues/84](https://togithub.com/cpburnz/python-pathspec/issues/84)

###
[`v0.12.0`](https://togithub.com/cpburnz/python-pathspec/blob/HEAD/CHANGES.rst#0120-2023-12-09)

[Compare
Source](https://togithub.com/cpburnz/python-pathspec/compare/v0.11.2...v0.12.0)

Major changes:

-   Dropped support of EOL Python 3.7. See `Pull #&#8203;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 #&#8203;81`\_: GitIgnoreSpec behaviors differ from git.
-   `Pull #&#8203;83`\_: Fix ReadTheDocs builds.

Improvements:

-   Mark Python 3.12 as supported. See `Pull #&#8203;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 #&#8203;81`:
[https://github.com/cpburnz/python-pathspec/issues/81](https://togithub.com/cpburnz/python-pathspec/issues/81)
.. \_`Pull #&#8203;82`:
[https://github.com/cpburnz/python-pathspec/pull/82](https://togithub.com/cpburnz/python-pathspec/pull/82)
.. \_`Pull #&#8203;83`:
[https://github.com/cpburnz/python-pathspec/pull/83](https://togithub.com/cpburnz/python-pathspec/pull/83)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/canonical/charmcraft).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jan 4, 2024
1 parent f41e333 commit 30303b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mypy-extensions==1.0.0
nodeenv==1.8.0
overrides==7.4.0
packaging==23.2
pathspec==0.11.2
pathspec==0.12.1
platformdirs==3.11.0
pluggy==1.3.0
protobuf==3.20.3
Expand Down

0 comments on commit 30303b2

Please sign in to comment.