From 38d829cf24cd56499dcc1010c9c40bc8dc93ab18 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 21 Jun 2021 12:25:21 +0200 Subject: gnu: python-argh: Remove python-tox. * gnu/packages/python-xyz.scm (python-argh)[propagated-inputs]: Remove python-tox. --- gnu/packages/python-xyz.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bb263a6f20..7270aefa1b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22805,8 +22805,7 @@ standard error channel (stderr) in your program.") ("python-mock" ,python-mock) ("python-pytest" ,python-pytest) ("python-pytest-cov" ,python-pytest-cov) - ("python-pytest-xdist" ,python-pytest-xdist) - ("python-tox" ,python-tox))) + ("python-pytest-xdist" ,python-pytest-xdist))) (home-page "https://github.com/neithere/argh/") (synopsis "Argparse wrapper with natural syntax") (description -- cgit v1.2.3 From ac02d423d3fcb11048ee2e4a02626fca40cf1419 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 21 Jun 2021 14:38:00 +0200 Subject: gnu: python-pyyaml: Update to 5.4.1. * gnu/packages/python-xyz.scm (python-pyyaml): Update to 5.4.1. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7270aefa1b..1268ff257a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3551,14 +3551,14 @@ environments and back.") (define-public python-pyyaml (package (name "python-pyyaml") - (version "5.3.1") + (version "5.4.1") (source (origin (method url-fetch) (uri (pypi-uri "PyYAML" version)) (sha256 (base32 - "0pb4zvkfxfijkpgd1b86xjsqql97ssf1knbd1v53wkg1qm9cgsmq")))) + "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))) (build-system python-build-system) (inputs `(("libyaml" ,libyaml))) -- cgit v1.2.3 From 14f72bd48dcba8b626091d4afe8e7106eca6d7d0 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 22 Jun 2021 08:34:51 +0200 Subject: gnu: python-ddt: Update to 1.4.2. * gnu/packages/python-xyz.scm (python-ddt): Update to 1.4.2. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1268ff257a..a989158036 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16713,14 +16713,14 @@ can even create animations with the cursor controls.") (define-public python-ddt (package (name "python-ddt") - (version "1.4.1") + (version "1.4.2") (source (origin (method url-fetch) (uri (pypi-uri "ddt" version)) (sha256 (base32 - "1niqpzc26sxdbyi46r07n4pma5fjx6crww2539vpfmsf0w6yg585")))) + "0y2k756qjz1rhpivi60hy29b4bf0bh3wck39i1mn6pkil9k779k4")))) (build-system python-build-system) (native-inputs `(("python-pytest" ,python-pytest))) -- cgit v1.2.3 From a5e6b705ac48b0294b998f73af1f23cf2b2583ac Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 22 Jun 2021 17:09:18 +0200 Subject: gnu: python-pika: Update to 1.2.0. * gnu/packages/python-xyz.scm (python-pika): Update to 1.2.0. [source]: Change to GIT-FETCH. [arguments]: New field. Override and disable tests. [native-inputs]: Remove PYTHON-PYEV. Add PYTHON-MOCK, PYTHON-NOSE, and PYTHON-GEVENT. (python2-pika): Remove variable. --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a989158036..1b7c19fdec 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14404,17 +14404,40 @@ focus on event-based network programming and multiprotocol integration.") (define-public python-pika (package (name "python-pika") - (version "0.12.0") + (version "1.2.0") (source (origin - (method url-fetch) - (uri (pypi-uri "pika" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/pika/pika") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0ld7akgm93s8pfa4dsx9qlzlhj76zspbr5m9ms0ns09yd2w4aq9h")))) + "0cm45xydk2jigydwszwik89qlbk6l3l18sxhzppzqmxw2rdkm22s")))) (build-system python-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-before 'check 'disable-live-tests + (lambda _ + ;; Disable tests that require RabbitMQ, which is not + ;; yet available in Guix. + (substitute* "setup.cfg" + (("tests/unit,tests/acceptance") + "tests/unit")) + (with-directory-excursion "tests" + (for-each delete-file + '("unit/base_connection_tests.py" + "unit/threaded_test_wrapper_test.py"))))) + (replace 'check + (lambda _ + (invoke "nosetests")))))) (native-inputs - `(("python-pyev" ,python-pyev) + `(("python-mock" ,python-mock) + ("python-nose" ,python-nose) + + ;; These are optional at runtime, and provided here for tests. + ("python-gevent" ,python-gevent) ("python-tornado" ,python-tornado) ("python-twisted" ,python-twisted))) (home-page "https://pika.readthedocs.org") @@ -14425,9 +14448,6 @@ Protocol) 0-9-1 protocol that tries to stay fairly independent of the underlying network support library.") (license license:bsd-3))) -(define-public python2-pika - (package-with-python2 python-pika)) - (define-public python-ply (package (name "python-ply") -- cgit v1.2.3 From 7c5d50f431198d08ebc4c83943748132396f666d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 22 Jun 2021 17:42:15 +0200 Subject: gnu: python-pikepdf: Update to 2.13.0. * gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.13.0. --- gnu/packages/python-xyz.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1b7c19fdec..744648b9f3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6253,13 +6253,13 @@ the OleFileIO module from PIL, the Python Image Library.") (define-public python-pikepdf (package (name "python-pikepdf") - (version "2.12.2") + (version "2.13.0") (source (origin (method url-fetch) (uri (pypi-uri "pikepdf" version)) (sha256 - (base32 "1r68zh8whp8wg4brjf5vha8h1ly8pjqyb37pfw91hyxfn6cm9wsz")))) + (base32 "1di5bbh2mr8m1aydky8ix12pkybrd0cvs8xqf5s2y1xa349r514l")))) (build-system python-build-system) (arguments `(#:tests? #false)) ;require python-xmp-toolkit -- cgit v1.2.3 From 6623d1cd7f3298f2e5c224299d11a77f7ae18bf5 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 22 Jun 2021 17:24:10 +0200 Subject: gnu: python-numpy, python-scipy: Remove dependency on lapack. The dependency on lapack was unused; the LAPACK interface of OpenBLAS is used instead. The dependency on lapack was added in cba256f8faaa18457fc9b77e8b401f17b89bdd75 (numpy) and 719b01c1575b8599b0dca9f245a9d759032f3168 (scipy). * gnu/packages/python-science.scm (python-scipy)[inputs]: Remove LAPACK. * gnu/packages/python-xyz.scm (python-numpy)[inputs]: Likewise. --- gnu/packages/python-science.scm | 3 +-- gnu/packages/python-xyz.scm | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 10fb2403e6..d2c4caac3a 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -73,8 +73,7 @@ ("python-matplotlib" ,python-matplotlib) ("python-pyparsing" ,python-pyparsing))) (inputs - `(("lapack" ,lapack) - ("openblas" ,openblas) + `(("openblas" ,openblas) ("pybind11" ,pybind11))) (native-inputs `(("python-cython" ,python-cython) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 744648b9f3..7ff7c1e4cc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Nikita Karetnikov -;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ludovic Courtès ;;; Copyright © 2013, 2014, 2015, 2016, 2019 Andreas Enge ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2014, 2017, 2021 Eric Bavier @@ -4950,8 +4950,7 @@ between language specification and implementation aspects.") "1ak9dmjja0q90a7fsxli51ypcwssh8c4pb6f8wkrsnf2xgdk6dy9")))) (build-system python-build-system) (inputs - `(("openblas" ,openblas) - ("lapack" ,lapack))) + `(("openblas" ,openblas))) (native-inputs `(("python-cython" ,python-cython) ("python-pytest" ,python-pytest) -- cgit v1.2.3 From 4b39a6fa14e5b7a4f075d8f980c974560ffc47ad Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Tue, 25 May 2021 14:28:20 -0300 Subject: gnu: Add python-pykdtree. * gnu/packages/python-xyz.scm (python-pykdtree): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7ff7c1e4cc..ec4209108f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5895,6 +5895,28 @@ operators such as union, intersection, and difference.") (define-public python2-pysnptools (package-with-python2 python-pysnptools)) +(define-public python-pykdtree + (package + (name "python-pykdtree") + (version "1.3.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pykdtree" version)) + (sha256 + (base32 "0p8n2ljdacfixkiw092974dmhy4s1c0h032ii1z9kwi9h5h5rgmy")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (propagated-inputs + `(("python-numpy" ,python-numpy))) + (home-page "https://github.com/storpipfugl/pykdtree") + (synopsis "Fast kd-tree implementation with OpenMP-enabled queries") + (description + "@code{pykdtree} is a kd-tree implementation for fast nearest neighbour +search in Python.") + (license license:lgpl3+))) + (define-public python-wurlitzer (package (name "python-wurlitzer") -- cgit v1.2.3