guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 0ad0294199f06b3efb88876fdea198cad6e18641
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 14:37:03 2025 +0200
gnu: python-consul: Deprecate in favor of python-py-consul.
* gnu/packages/python-xyz.scm
(python-consul): Deprecate in favor of python-py-consul.
(python-py-consul): Update to 1.6.0.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[propagated-inputs]: Remove python-six.
[home-page]: Update it.
[description]: Improve style.
Change-Id: I49bfb7552413e801fec231fd2b9c1ac7b11d6dc4
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++----------------
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6becb4727a..9a2da3411f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23034,29 +23034,33 @@ natural language processing libraries.")
(description "Python driver for MongoDB.")
(license license:asl2.0)))
-(define-public python-consul
+(define-public python-py-consul
(package
- (name "python-consul")
- (version "0.6.1")
+ (name "python-py-consul")
+ (version "1.6.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "python-consul" version))
- (sha256
- (base32
- "0rfyxcy4cr3x848vhx876ifalxd5ghq6l5x813m49h4vq2d4jiq8"))))
- (build-system python-build-system)
- (arguments
- '(#:tests? #f)) ; The tests are not distributed
- (propagated-inputs
- (list python-requests python-six))
- (home-page "https://github.com/cablehead/python-consul")
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ ;; Fork from https://github.com/cablehead/python-consul
+ (url "https://github.com/criteo/py-consul")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jx0sx572akir5ks30d1hvxwmy2apc51idm5k73dfp9biyjhbllh"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; Tests require docker.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-requests))
+ (home-page "https://github.com/criteo/py-consul")
(synopsis "Python client for Consul")
(description
"Python client for @url{http://www.consul.io/,Consul}, a tool for service
- discovery, monitoring and configuration.")
+discovery, monitoring and configuration.")
(license license:expat)))
+(define-deprecated-package python-consul python-py-consul)
+
(define-public python-schematics
(package
(name "python-schematics")