Update dependency pathspec to v0.12.1 - autoclosed #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.8.0
->==0.12.1
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/84v0.12.0
Compare Source
Major changes:
Pull #​82
_.API changes:
pathspec.pathspec.PathSpec._match_file()
(with a leading underscore) has been changed fromdef _match_file(patterns: Iterable[Pattern], file: str) -> bool
todef _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]]
.New features:
pathspec.pathspec.PathSpec.check_*()
methods. These methods behave similarly to.match_*()
but return additional information in thepathspec.util.CheckResult
objects (e.g.,CheckResult.index
indicates the index of the last pattern that matched the file).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:
Pull #​82
_.pathspec.pathspec.PathSpec.match_tree_entries()
.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/83v0.11.2
Compare Source
New features:
Issue #​80
_: match_files with negated path spec.pathspec.PathSpec.match_*()
now have anegate
parameter to make using .gitignore logic easier and more efficient.Bug fixes:
Pull #​76
_: Add edge case: patterns that end with an escaped spaceIssue #​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/80v0.11.1
Compare Source
Bug fixes:
Issue #​74
_: Include directory should override exclude file.Improvements:
Pull #​75
_: Fix partially unknown PathLike type.os.PathLike
to a string properly usingos.fspath
... _
Issue #​74
: https://github.com/cpburnz/python-pathspec/issues/74.. _
Pull #​75
: https://github.com/cpburnz/python-pathspec/pull/75v0.11.0
Compare Source
Major changes:
flit_core.buildapi
_ fromsetuptools.build_meta
. Building withsetuptools
throughsetup.py
is still supported for distributions that need it. SeeIssue #​72
.Improvements:
Issue #​72
/Pull #​73
: Please consider switching the build-system to flit_core to ease setuptools bootstrap... _
flit_core.buildapi
: https://flit.pypa.io/en/latest/index.html.. _
Issue #​72
: https://github.com/cpburnz/python-pathspec/issues/72.. _
Pull #​73
: https://github.com/cpburnz/python-pathspec/pull/73v0.10.3
Compare Source
New features:
pathspec.util.append_dir_sep()
to aid in distinguishing between directories and files on the file-system. SeeIssue #​65
_.Bug fixes:
Issue #​66
/Pull #​67
: Package not marked as py.typed.Issue #​68
_: Exports are considered private.Issue #​70
/Pull #​71
: 'Self' string literal type is Unknown in pyright.Improvements:
Issue #​65
_: Checking directories via match_file() does not work on Path objects... _
Issue #​65
: https://github.com/cpburnz/python-pathspec/issues/65.. _
Issue #​66
: https://github.com/cpburnz/python-pathspec/issues/66.. _
Pull #​67
: https://github.com/cpburnz/python-pathspec/pull/67.. _
Issue #​68
: https://github.com/cpburnz/python-pathspec/issues/68.. _
Issue #​70
: https://github.com/cpburnz/python-pathspec/issues/70.. _
Pull #​71
: https://github.com/cpburnz/python-pathspec/pull/71v0.10.2
Compare Source
Bug fixes:
pathspec.pathspec.PathSpec.match_tree_entries()
.pathspec.pathspec.PathSpec.match_tree_files()
.pathspec.util.iter_tree_entries()
.pathspec.util.iter_tree_files()
.Issue #​64
_: IndexError with my .gitignore file when trying to build a Python package.Improvements:
Pull #​58
_: CI: add GitHub Actions test workflow... _
Pull #​58
: https://github.com/cpburnz/python-pathspec/pull/58.. _
Issue #​64
: https://github.com/cpburnz/python-pathspec/issues/64v0.10.1
Compare Source
Bug fixes:
pathspec.pattern.RegexPattern.match_file()
.Pull #​60
_: Remove redundant wheel dep from pyproject.toml.Issue #​61
_: Dist failure for Fedora, CentOS, EPEL.Issue #​62
_: Since version 0.10.0 pure wildcard does not work in some cases.Improvements:
setup.py
. SeeIssue #​61
_... _
Pull #​60
: https://github.com/cpburnz/python-pathspec/pull/60.. _
Issue #​61
: https://github.com/cpburnz/python-pathspec/issues/61.. _
Issue #​62
: https://github.com/cpburnz/python-pathspec/issues/62v0.10.0
Compare Source
Major changes:
Issue #​47
_.dir/*
is now handled the same asdir/
. This meansdir/*
will now match all descendants rather than only direct children. SeeIssue #​19
_.pathspec.GitIgnoreSpec
class (see new features).pyproject.toml
_ and build backend tosetuptools.build_meta
_ which may have unforeseen consequences.python-path-specification
_ topython-pathspec
. SeeIssue #​35
.API changes:
pathspec.util.match_files()
is an old function no longer used.pathspec.match_files()
is an old function no longer used.pathspec.util.normalize_files()
is no longer used.pathspec.util.iter_tree()
is an alias forpathspec.util.iter_tree_files()
.pathspec.iter_tree()
is an alias forpathspec.util.iter_tree_files()
.pathspec.pattern.Pattern.match()
is no longer used. Use or implementpathspec.pattern.Pattern.match_file()
.New features:
pathspec.gitignore.GitIgnoreSpec
(with aliaspathspec.GitIgnoreSpec
) to implement gitignore behavior not possible with standardPathSpec
class. The particular gitignore behavior implemented is prioritizing patterns matching the file directly over matching an ancestor directory.Bug fixes:
Issue #​19
_: Files inside an ignored sub-directory are not matched.Issue #​41
_: Incorrectly (?) matches files inside directories that do match.Pull #​51
_: Refactor deprecated unittest aliases for Python 3.11 compatibility.Issue #​53
_: Symlink pathspec_meta.py breaks Windows.Issue #​54
_: test_util.py uses os.symlink which can fail on Windows.Issue #​55
_: Backslashes at start of pattern not handled correctly.Pull #​56
_: pyproject.toml: include subpackages in setuptools configIssue #​57
_:!
doesn't exclude files in directories if the pattern doesn't have a trailing slash.Improvements:
Issue #​52
: match_files() is not a pure generator function, and it impacts tree*() gravely... _
python-path-specification
: https://github.com/cpburnz/python-path-specification.. _
python-pathspec
: https://github.com/cpburnz/python-pathspec.. _
pyproject.toml
: https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/.. _
setuptools.build_meta
: https://setuptools.pypa.io/en/latest/build_meta.html.. _
Issue #​19
: https://github.com/cpburnz/python-pathspec/issues/19.. _
Issue #​35
: https://github.com/cpburnz/python-pathspec/issues/35.. _
Issue #​41
: https://github.com/cpburnz/python-pathspec/issues/41.. _
Issue #​47
: https://github.com/cpburnz/python-pathspec/issues/47.. _
Pull #​51
: https://github.com/cpburnz/python-pathspec/pull/51.. _
Issue #​52
: https://github.com/cpburnz/python-pathspec/issues/52.. _
Issue #​53
: https://github.com/cpburnz/python-pathspec/issues/53.. _
Issue #​54
: https://github.com/cpburnz/python-pathspec/issues/54.. _
Issue #​55
: https://github.com/cpburnz/python-pathspec/issues/55.. _
Pull #​56
: https://github.com/cpburnz/python-pathspec/pull/56.. _
Issue #​57
: https://github.com/cpburnz/python-pathspec/issues/57v0.9.0
Compare Source
Issue #​44
/Pull #​50
: RaiseGitWildMatchPatternError
for invalid git patterns.Pull #​45
_: Fix for duplicate leading double-asterisk, and edge cases.Issue #​46
_: Fix matching absolute paths.util.normalize_files()
now returns aDict[str, List[pathlike]]
instead of aDict[str, pathlike]
... _
Issue #​44
: https://github.com/cpburnz/python-pathspec/issues/44.. _
Pull #​45
: https://github.com/cpburnz/python-pathspec/pull/45.. _
Issue #​46
: https://github.com/cpburnz/python-pathspec/issues/46.. _
Pull #​50
: https://github.com/cpburnz/python-pathspec/pull/50v0.8.1
Pull #​43
_: Add support for addition operator... _
Pull #​43
: https://github.com/cpburnz/python-pathspec/pull/43Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR has been generated by Mend Renovate. View repository job log here.