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

🌱 Bump pathspec from 0.11.2 to 0.12.1 #587

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps pathspec from 0.11.2 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.

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#84

0.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 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](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#83

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner January 22, 2024 15:28
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 22, 2024
Copy link

codecov bot commented Jan 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e84a5c6) 84.53% compared to head (1ae1817) 84.53%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #587   +/-   ##
=======================================
  Coverage   84.53%   84.53%           
=======================================
  Files          20       20           
  Lines         931      931           
=======================================
  Hits          787      787           
  Misses        100      100           
  Partials       44       44           
Flag Coverage Δ
e2e 59.82% <ø> (ø)
unit 80.29% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Bumps [pathspec](https://github.com/cpburnz/python-pathspec) from 0.11.2 to 0.12.1.
- [Release notes](https://github.com/cpburnz/python-pathspec/releases)
- [Changelog](https://github.com/cpburnz/python-pathspec/blob/master/CHANGES.rst)
- [Commits](cpburnz/python-pathspec@v0.11.2...v0.12.1)

---
updated-dependencies:
- dependency-name: pathspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/pathspec-0.12.1 branch from a7eb922 to 1ae1817 Compare February 1, 2024 11:53
@m1kola m1kola added this pull request to the merge queue Feb 1, 2024
Merged via the queue into main with commit 9e2cf32 Feb 1, 2024
17 checks passed
@dependabot dependabot bot deleted the dependabot/pip/pathspec-0.12.1 branch February 1, 2024 12:22
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant