Revisions of python-pathspec

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1132675 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 16)
- 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()`.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1109524 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 15)
- update to 0.11.2:
  * `Issue #80`_: match_files with negated path spec.
    `pathspec.PathSpec.match_*()` now have a `negate` parameter
    to make using *.gitignore* logic easier and more efficient.
  * Add edge case: patterns that end with an escaped
    space
  * Negate with caret symbol as with the exclamation mark.

- Update to version 0.10.3
- Update to version 0.10.2:
  * `Issue #43`_: Add support for addition operator
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1074507 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 13)
- update to 0.11.1:
  * `Issue #74`_: Include directory should override exclude file.
  * `Pull #75`_: Fix partially unknown PathLike type.
  * Convert `os.PathLike` to a string properly using `os.fspath`.
  * Major changes:
  * Changed build backend to `flit_core.buildapi`_ from
    `setuptools.build_meta`_. Building with `setuptools` through
    `setup.py` is still supported for distributions that need it.
  * `Issue #72`_/`Pull #73`_: Please consider switching the
    build-system to flit_core to ease setuptools bootstrap.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 943953 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 9)
- update to 0.9.0:
  * Raise `GitWildMatchPatternError` for invalid git patterns.
  * Fix for duplicate leading double-asterisk, and edge cases.
  * Fix matching absolute paths.
  * API change: `util.normalize_files()` now returns a
    `Dict[str, List[pathlike]]` instead of a `Dict[str, pathlike]`.
  * Added type hinting.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 856973 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 7)
- update to 0.8.1:
  * `Issue #43`_: Add support for addition operator
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 736800 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 4)
- Update to 0.6.0:
  * Issue #24: Drop support for Python 2.6, 3.2, and 3.3.
  * Issue #25: Update README.rst.
  * Issue #26: Method to escape gitwildmatch.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 659542 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 2)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 605992 from Todd R's avatar Todd R (TheBlackCat) (revision 1)
Utility library for gitignore style pattern matching of file paths
Displaying all 16 revisions
openSUSE Build Service is sponsored by