17
0

40 Commits

Author SHA256 Message Date
875ace7cf4 Accepting request 1331999 from devel:languages:python
- Add pythons_for_pypi macro. This macro will help to build the python
  minimal stack for different python versions.

OBS-URL: https://build.opensuse.org/request/show/1331999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=19
2026-02-11 17:47:04 +00:00
b04d997ca4 - Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=38
2026-02-09 11:11:02 +00:00
c981cfe8d0 Accepting request 1330656 from devel:languages:python
- Update to 1.0.4:
  * Using re2 fails if pyre2 is also installed.
- Remove unneeded BuildRequires on setuptools.

- update to 1.0.3:
  * Bug fixes:
    - Issue #101: pyright strict errors with pathspec >= 1.0.0.
    - Issue #102: No module named 'tomllib'.
  * - update to 1.0.2:
  * Bug fixes:
    - Type hint collections.abc.Callable does not properly replace
      typing.Callable until Python 3.9.2.
  * - update to 1.0.1:
  * Bug fixes:
    - Issue #100: ValueError(f"{patterns=!r} cannot be empty.")
      when using black.
  * - update to 1.0.0:
  * Major changes:
    - Issue #91: Dropped support of EoL Python 3.8.
    - Added concept of backends to allow for faster regular
      expression matching. The backend can be controlled using the
      backend argument to PathSpec(), PathSpec.from_lines(),
      GitIgnoreSpec(), and GitIgnoreSpec.from_lines().
    - Renamed "gitwildmatch" pattern back to "gitignore". The
      "gitignore" pattern behaves slightly differently when used
      with PathSpec (gitignore as documented) than with
      GitIgnoreSpec (replicates Git's edge cases).
  * API changes:
    - Breaking: protected method
      pathspec.pathspec.PathSpec._match_file() (with a leading

OBS-URL: https://build.opensuse.org/request/show/1330656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=18
2026-02-04 20:00:41 +00:00
fd942a1a14 - Update to 1.0.4:
* Using re2 fails if pyre2 is also installed.
- Remove unneeded BuildRequires on setuptools.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=36
2026-02-03 03:48:06 +00:00
01731440c9 Accepting request 1327538 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.0.3

OBS-URL: https://build.opensuse.org/request/show/1327538
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=35
2026-01-16 13:11:35 +00:00
3c63951e5c Accepting request 1282325 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1282325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=17
2025-06-04 18:27:01 +00:00
4efba93759 fix build deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=33
2025-06-03 13:03:24 +00:00
4323d9da6f - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=32
2025-06-03 09:08:02 +00:00
4a3a47e505 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
dc17208be1 - 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/package/show/devel:languages:python/python-pathspec?expand=0&rev=30
2023-12-12 13:14:49 +00:00
f6b69cd5aa Accepting request 1109524 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1109524
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=15
2023-09-08 19:15:05 +00:00
37828c5f57 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=28
2023-09-07 11:28:09 +00:00
5b2a1ebddf Accepting request 1081842 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=14
2023-04-22 19:59:49 +00:00
946518c0d2 Accepting request 1081513 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081513
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=26
2023-04-21 14:16:26 +00:00
1591f5149b Accepting request 1074507 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1074507
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=13
2023-03-29 21:26:10 +00:00
3876eb9f6f - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=24
2023-03-26 19:51:05 +00:00
cc9faa52a6 Accepting request 1042885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1042885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=12
2022-12-15 18:24:08 +00:00
ec191cc9a4 Accepting request 1042720 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1042720
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=22
2022-12-14 10:10:39 +00:00
cc681528ad Accepting request 1039910 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=11
2022-12-05 17:00:30 +00:00
231726f68f Accepting request 1039863 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1039863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=20
2022-12-03 22:35:33 +00:00
314b26071f Accepting request 1003577 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1003577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=10
2022-09-16 11:31:58 +00:00
ba36db564e Accepting request 1003385 from home:benoit_monin:branches:devel:languages:python
- update to 0.10.1
- add BuildRequires for python >= 3.7

OBS-URL: https://build.opensuse.org/request/show/1003385
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=18
2022-09-14 15:50:45 +00:00
62f8a2c41d Accepting request 943953 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/943953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=9
2022-01-07 11:44:54 +00:00
47ae8bcefd - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=17
2022-01-05 10:30:49 +00:00
be04f4bd88 Accepting request 896588 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/896588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=8
2021-06-11 20:29:51 +00:00
b3b758e62c Accepting request 896584 from home:pgajdos:python
- %check: use %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/896584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=15
2021-06-01 07:55:51 +00:00
f59980661d Accepting request 856973 from devel:languages:python
- update to 0.8.1:
  * `Issue #43`_: Add support for addition operator

OBS-URL: https://build.opensuse.org/request/show/856973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=7
2020-12-23 13:18:53 +00:00
0fba482c1e - update to 0.8.1:
* `Issue #43`_: Add support for addition operator

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=13
2020-12-19 10:49:50 +00:00
babd9cf3b2 Accepting request 839941 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/839941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=6
2020-10-29 08:46:48 +00:00
Tomáš Chvátal
fc1a3e2cdb Accepting request 839910 from home:jayvdb:branches:devel:languages:python
- Update to v0.8.0
  * Expose what patterns matched paths. Added `util.detailed_match_files()`
  * `match_tree()` doesn't return symlinks
    - Add `PathSpec.match_tree_entries` and `util.iter_tree_entries()` to
      support directories and symlinks
    - API change: `match_tree()` has been renamed to `match_tree_files()`
      The old name `match_tree()` is still available as an alias
    - API change: `match_tree_files()` now returns symlinks

OBS-URL: https://build.opensuse.org/request/show/839910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=11
2020-10-07 06:15:59 +00:00
093cd1dd99 Accepting request 783955 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/783955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=5
2020-03-11 17:55:54 +00:00
Tomáš Chvátal
740b90fc76 Accepting request 783949 from home:mcalabkova:branches:devel:languages:python
- update to 0.7.0
  * Add support for Python 3.8, and drop Python 3.4.
  * Publish bdist wheel.

OBS-URL: https://build.opensuse.org/request/show/783949
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=9
2020-03-11 15:59:25 +00:00
0c50e11eaf Accepting request 736800 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/736800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=4
2019-10-10 09:53:32 +00:00
Tomáš Chvátal
05ef24ebcc - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=7
2019-10-10 08:26:46 +00:00
c7a0c299be Accepting request 674890 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/674890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=3
2019-02-27 16:28:07 +00:00
Tomáš Chvátal
7e3715681f Accepting request 674877 from home:jayvdb:coala:python3-bears
- Update to v0.5.9
  * Fixed file system error handling.
- from v0.5.8
  * Improved type checking.
  * Created scripts to test Python 2.6 because Tox removed support for it.
  * Improved byte string handling in Python 3.
  * Handle dangling symlinks.
- from v0.5.7
  * Fix collections deprecation warning.

OBS-URL: https://build.opensuse.org/request/show/674877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=5
2019-02-14 08:37:56 +00:00
40d9234dd5 Accepting request 659542 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=2
2018-12-24 10:40:56 +00:00
b34d20458b Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=3
2018-12-04 13:45:37 +00:00
8e87e55a10 Accepting request 605992 from devel:languages:python
Utility library for gitignore style pattern matching of file paths

OBS-URL: https://build.opensuse.org/request/show/605992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pathspec?expand=0&rev=1
2018-05-15 08:12:35 +00:00
Todd R
3851a97461 Accepting request 605991 from devel:languages:python:misc
Utility library for gitignore style pattern matching of file paths

OBS-URL: https://build.opensuse.org/request/show/605991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pathspec?expand=0&rev=1
2018-05-10 00:23:54 +00:00