Revisions of python-pathspec
buildservice-autocommit
accepted
request 1132675
from
Dirk Mueller (dirkmueller)
(revision 31)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 30)
- 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()`.
buildservice-autocommit
accepted
request 1109524
from
Dirk Mueller (dirkmueller)
(revision 29)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 28)
- 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
buildservice-autocommit
accepted
request 1081842
from
Dirk Mueller (dirkmueller)
(revision 27)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1081513
from
Dirk Mueller (dirkmueller)
(revision 26)
SR for python stack proposal
buildservice-autocommit
accepted
request 1074507
from
Dirk Mueller (dirkmueller)
(revision 25)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 24)
- 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.
buildservice-autocommit
accepted
request 1042885
from
Dirk Mueller (dirkmueller)
(revision 23)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1042720
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 22)
- Update to version 0.10.3 * New features: Added utility function pathspec.util.append_dir_sep() to aid in distinguishing between directories and files on the file-system. See Issue #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.
buildservice-autocommit
accepted
request 1039910
from
Dirk Mueller (dirkmueller)
(revision 21)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
accepted
request 1039863
from
Yogalakshmi Arunachalam (yarunachalam)
(revision 20)
- Update to version 0.10.2: Bug fixes: * Fix failing tests on Windows. * Type hint on root parameter on pathspec.pathspec.PathSpec.match_tree_entries(). * Type hint on root parameter on pathspec.pathspec.PathSpec.match_tree_files(). * Type hint on root parameter on pathspec.util.iter_tree_entries(). * Type hint on root parameter on pathspec.util.iter_tree_files(). * Issue #64: IndexError with my .gitignore file when trying to build a Python package. Improvements: * Issue #58: CI: add GitHub Actions test workflow.
buildservice-autocommit
accepted
request 1003577
from
Matej Cepl (mcepl)
(revision 19)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 1003385
from
Benoît Monin (benoit_monin)
(revision 18)
- update to 0.10.1 - add BuildRequires for python >= 3.7
Dirk Mueller (dirkmueller)
committed
(revision 17)
- 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.
buildservice-autocommit
accepted
request 896588
from
Matej Cepl (mcepl)
(revision 16)
baserev update by copy to link target
Matej Cepl (mcepl)
accepted
request 896584
from
Petr Gajdos (pgajdos)
(revision 15)
- %check: use %pyunittest rpm macro
buildservice-autocommit
accepted
request 856973
from
Dirk Mueller (dirkmueller)
(revision 14)
baserev update by copy to link target
Dirk Mueller (dirkmueller)
committed
(revision 13)
- update to 0.8.1: * `Issue #43`_: Add support for addition operator
buildservice-autocommit
accepted
request 839941
from
Tomáš Chvátal (scarabeus_iv)
(revision 12)
baserev update by copy to link target
Displaying revisions 1 - 20 of 31