gnu: python-pathlib-abc: Update to 0.5.0.

* gnu/packages/python-xyz.scm (python-pathlib-abc): Update to 0.5.0.
(python-pathlib-abc-for-python-pathy): New variable.

* gnu/packages/python-web.scm (python-pathy)[propagated-inputs]:
Remove python-pathlib-abc; add python-pathlib-abc-for-python-pathy.

Change-Id: I36572bfbbf43681bdb0fcefbd5e985a530d465ab
This commit is contained in:
Sharlatan Hellseher 2025-10-28 14:47:00 +00:00
parent fee48cd249
commit 5801c62e8d
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 16 additions and 3 deletions

View file

@ -1478,7 +1478,7 @@ in Python 3.13 by PEP-594.")
python-pytest
python-setuptools))
(propagated-inputs
(list python-pathlib-abc
(list python-pathlib-abc-for-python-pathy
python-smart-open-6
python-typer))
(home-page "https://github.com/justindujardin/pathy")

View file

@ -1491,13 +1491,13 @@ terminal.")
(define-public python-pathlib-abc
(package
(name "python-pathlib-abc")
(version "0.1.1")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pathlib_abc" version))
(sha256
(base32 "1gjsj7r331i54kbisy0zz1h9icx1hv6n97jaj5s7f3wvj7fpnkh8"))))
(base32 "1hy2rscq3msbpjs17jbhsqjs800kcnv2w1n425yh1ly609a9x726"))))
(build-system pyproject-build-system)
(native-inputs (list python-pytest python-hatchling))
(home-page "https://github.com/barneygale/pathlib-abc")
@ -1508,6 +1508,19 @@ release of Python; specifically, it provides three ABCs that can be used to
implement path classes for non-local filesystems")
(license license:psfl)))
;; XXX: It's for python-pathy@0.11.0, remove when no longer required.
(define-public python-pathlib-abc-for-python-pathy
(hidden-package
(package
(inherit python-pathlib-abc)
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pathlib_abc" version))
(sha256
(base32 "1gjsj7r331i54kbisy0zz1h9icx1hv6n97jaj5s7f3wvj7fpnkh8")))))))
(define-public python-pbs-installer
(package
(name "python-pbs-installer")