summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 14:47:00 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 17:46:25 +0000
commit5801c62e8dfd8814ef1155562164451ef182b893 (patch)
tree15a0f4dcf4c820c1483d17ba57fad322cad7cff0 /gnu/packages
parentfee48cd2495bd99f31cd2bd640d019829d8a4701 (diff)
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-web.scm2
-rw-r--r--gnu/packages/python-xyz.scm17
2 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d1c121ddc3d..e638ff3c4f7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9cbaa782776..0dfd70cfe3f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -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")