Go to file
Ana Guerrero 11ba307734 Accepting request 1132675 from devel:languages:python
- update to 0.12.1:
  * `Issue #84`_: PathSpec.match_file() returns None since
    0.12.0.
  * 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]]`.
  * 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.
  * Mark Python 3.12 as supported.
  * 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()`.

OBS-URL: https://build.opensuse.org/request/show/1132675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=16
2023-12-13 17:34:06 +00:00
.gitattributes Accepting request 605991 from devel:languages:python:misc 2018-05-10 00:23:54 +00:00
.gitignore Accepting request 605991 from devel:languages:python:misc 2018-05-10 00:23:54 +00:00
pathspec-0.12.1.tar.gz - update to 0.12.1: 2023-12-12 13:14:49 +00:00
python-pathspec.changes - update to 0.12.1: 2023-12-12 13:14:49 +00:00
python-pathspec.spec - update to 0.12.1: 2023-12-12 13:14:49 +00:00