| Message ID | 20260119114103.1592373-1-leon.anavi@konsulko.com |
|---|---|
| State | New |
| Headers | show |
| Series | python3-pathspec: Upgrade 0.12.1 -> 1.0.3 | expand |
diff --git a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb b/meta/recipes-devtools/python/python3-pathspec_1.0.3.bb similarity index 80% rename from meta/recipes-devtools/python/python3-pathspec_0.12.1.bb rename to meta/recipes-devtools/python/python3-pathspec_1.0.3.bb index 2c80b24c28..58651bced2 100644 --- a/meta/recipes-devtools/python/python3-pathspec_0.12.1.bb +++ b/meta/recipes-devtools/python/python3-pathspec_1.0.3.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" -SRC_URI[sha256sum] = "a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712" +SRC_URI[sha256sum] = "bac5cf97ae2c2876e2d25ebb15078eb04d76e4b98921ee31c6f85ade8b59444d" inherit pypi python_flit_core
Upgrade to release 1.0.3: Bug fixes: - pyright strict errors with pathspec >= 1.0.0. - No module named 'tomllib'. Major changes from release 1.0.0: - 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 from release 1.0.0: - 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. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> --- .../{python3-pathspec_0.12.1.bb => python3-pathspec_1.0.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/python/{python3-pathspec_0.12.1.bb => python3-pathspec_1.0.3.bb} (80%)