Opened 9 months ago

Closed 9 months ago

Last modified 8 months ago

#22661 closed enhancement (fixed)

Python dependency updates - pathspec-1.0.3, trove-classifiers-2026.1.14.14, hatchling-1.28.0, roman-numerals-4.1.0, and meson_python-0.19.0

Reported by: Joe Locash Owned by: Joe Locash
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description

Updates for the mentioned python dependency modules.

Change History (4)

comment:1 by Joe Locash, 9 months ago

Owner: changed from blfs-book to Joe Locash
Status: new → assigned

comment:2 by Joe Locash, 9 months ago

pathspec

1.0.3 (2026-01-09)
Bug fixes:
    * Issue #101: pyright strict errors with pathspec >= 1.0.0.
    * Issue #102: No module named 'tomllib'.

1.0.2 (2026-01-07)
Bug fixes:
    * Type hint collections.abc.Callable does not properly replace typing.Callable until Python 3.9.2.

1.0.1 (2026-01-06)
Bug fixes:
    * Issue #100: ValueError(f"{patterns=!r} cannot be empty.") when using black.

1.0.0 (2026-01-05)
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 underscore) has been removed and replaced by backends. This does not affect normal usage of PathSpec or GitIgnoreSpec. Only custom subclasses will be affected. If this breaks your usage, let me know by opening an issue.
    * Deprecated: "gitwildmatch" is now an alias for "gitignore".
    * Deprecated: pathspec.patterns.GitWildMatchPattern is now an alias for pathspec.patterns.gitignore.spec.GitIgnoreSpecPattern.
    * Deprecated: pathspec.patterns.gitwildmatch module has been replaced by the pathspec.patterns.gitignore package.
    * Deprecated: pathspec.patterns.gitwildmatch.GitWildMatchPattern is now an alias for pathspec.patterns.gitignore.spec.GitIgnoreSpecPattern.
    * Deprecated: pathspec.patterns.gitwildmatch.GitWildMatchPatternError is now an alias for pathspec.patterns.gitignore.GitIgnorePatternError.
    * Removed: pathspec.patterns.gitwildmatch.GitIgnorePattern has been deprecated since v0.4 (2016-07-15).
    * Signature of method pathspec.pattern.RegexPattern.match_file() has been changed from def match_file(self, file: str) -> RegexMatchResult | None to def match_file(self, file: AnyStr) -> RegexMatchResult | None to reflect usage.
    * Signature of class method pathspec.pattern.RegexPattern.pattern_to_regex() has been changed from def pattern_to_regex(cls, pattern: str) -> tuple[str, bool] to def pattern_to_regex(cls, pattern: AnyStr) -> tuple[AnyStr | None, bool | None] to reflect usage and documentation.

New features:
    * Added optional "hyperscan" backend using hyperscan library. It will automatically be used when installed. This dependency can be installed with pip install 'pathspec[hyperscan]'.
    * Added optional "re2" backend using the google-re2 library. It will automatically be used when installed. This dependency can be installed with pip install 'pathspec[re2]'.
    * Added optional dependency on typing-extensions library to improve some type hints.

Bug fixes:
    * Issue #93: Do not remove leading spaces.
    * Issue #95: Matching for files inside folder does not seem to behave like .gitignore's.
    * Issue #98: UnboundLocalError in RegexPattern when initialized with pattern=None.
    * Type hint on return value of pathspec.pattern.RegexPattern.match_file() to match documentation.

Improvements:
    * Mark Python 3.13 and 3.14 as supported.
    * No-op patterns are now filtered out when matching files, slightly improving performance.
    * Fix performance regression in iter_tree_files() from v0.10.

trove-classifiers

2026.1.14.14
  Update __init__.py to add Cygwin as a classifier (#232)

  Add "Environment :: Cygwin (MS Windows)" as a classifier as some modules, such as mine, work on Windows but only via the Cygwin POSIX layer (www.cygwin.com)


2026.1.12.15
  Add support for Django CMS 5.1 (#231)


2025.12.1.14
  - add classifier for Zope 6 (#229)

hatchling

1.28.0 - 2025-11-26
Changed:
    * Drop support for Python 3.9
Added:
    * Add sbom-files option and sbom_files build data to the wheel build target for including Software Bill of Materials files.

roman-numerals

Release 4.1.0 (released 17 Dec 2025)
    * Restore LICENCE.rst in the roman-numerals-py meta-package
    * Add some debug assertions for unsafe blocks

Release 4.0.0 (released 16 Dec 2025)
    * Rename Python package to roman-numerals on PyPI.
    * Publish roman-numerals-py as a meta-package that depends on roman-numerals and installs no modules.
    * Drop support for Python 3.9.
    * Declare support for Python 3.15.
    * Increase the minimum supported Rust version (MSRV) to 1.81.0.
    * Implement the core::error::Error trait for all error types.
    * Implement the core::fmt traits in no-std mode.
    * Implement From<RomanNumeral> for most integer types.
    * Publish the roman-numerals-rs crate using Trusted Publishing

meson_python

0.19.0
======
- Drop Python 3.8 support.
- Development-related extras were moved to dependency groups.
- Add support for targeting the iOS platform.
- The ``strip`` binary is now included in synthesized cross files.
- Documentation improvements: add more examples for specific use cases, and a
  contributing guide.
- Use trusted publishing with digital attestations to upload release artifacts
  to PyPI.

comment:3 by Joe Locash, 9 months ago

Resolution: → fixed
Status: assigned → closed

Fixed at f4d3c876ac.

comment:4 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.