[BACK]Return to distinfo CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pathspec

File: [cvs.NetBSD.org] / pkgsrc / devel / py-pathspec / distinfo (download)

Revision 1.13, Wed Sep 14 10:31:36 2022 UTC (4 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.12: +4 -4 lines

py-pathspec: updated to 0.10.1

0.10.1 (2022-09-02)
-------------------

Bug fixes:

- Fix documentation on `pathspec.pattern.RegexPattern.match_file()`.
- Remove redundant wheel dep from pyproject.toml.
- Dist failure for Fedora, CentOS, EPEL.
- Since version 0.10.0 pure wildcard does not work in some cases.

Improvements:

- Restore support for legacy installations using `setup.py`.


0.10.0 (2022-08-30)
-------------------

Major changes:

- Dropped support of EOL Python 2.7, 3.5, 3.6.
- The *gitwildmatch* pattern `dir/*` is now handled the same as `dir/`. This means `dir/*` will now match all descendants rather than only direct children.
- Added `pathspec.GitIgnoreSpec` class (see new features).
- Changed build system to `pyproject.toml`_ and build backend to `setuptools.build_meta`_ which may have unforeseen consequences.
- Renamed GitHub project from `python-path-specification`_ to `python-pathspec`_.

API changes:

- Deprecated: `pathspec.util.match_files()` is an old function no longer used.
- Deprecated: `pathspec.match_files()` is an old function no longer used.
- Deprecated: `pathspec.util.normalize_files()` is no longer used.
- Deprecated: `pathspec.util.iter_tree()` is an alias for `pathspec.util.iter_tree_files()`.
- Deprecated: `pathspec.iter_tree()` is an alias for `pathspec.util.iter_tree_files()`.
- Deprecated: `pathspec.pattern.Pattern.match()` is no longer used. Use or implement
  `pathspec.pattern.Pattern.match_file()`.

New features:

- Added class `pathspec.gitignore.GitIgnoreSpec` (with alias `pathspec.GitIgnoreSpec`) to implement *gitignore* behavior not possible with standard `PathSpec` class. The particular *gitignore* behavior implemented is prioritizing patterns matching the file directly over matching an ancestor directory.

Bug fixes:

- Files inside an ignored sub-directory are not matched.
- Incorrectly (?) matches files inside directories that do match.
- Refactor deprecated unittest aliases for Python 3.11 compatibility.
- Symlink pathspec_meta.py breaks Windows.
- test_util.py uses os.symlink which can fail on Windows.
- Backslashes at start of pattern not handled correctly.
- pyproject.toml: include subpackages in setuptools config
- `!` doesn't exclude files in directories if the pattern doesn't have a trailing slash.

Improvements:

- Support Python 3.10, 3.11.
- Modernize code to Python 3.7.
- match_files() is not a pure generator function, and it impacts tree_*() gravely.

$NetBSD: distinfo,v 1.13 2022/09/14 10:31:36 adam Exp $

BLAKE2s (pathspec-0.10.1.tar.gz) = dc56d6aa4622ffc3de9b15d2d24f9a2917e7c7a85a9cd76b436b920bca1701d0
SHA512 (pathspec-0.10.1.tar.gz) = 886c16ba9a221720a9fbac6a2aead5a16de62988afbf0ed976f28c312fe524f41ccfb139e0b9699942ca32aa90f183e20656986ed631cf2435818c082d58115d
Size (pathspec-0.10.1.tar.gz) = 43155 bytes