From 245152c364aa91a9de53dea4e2a2689b8b8f5a87 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sat, 14 Jan 2023 22:28:04 +0000 Subject: gnu: python-pint: Update to 0.20.1. * gnu/packages/python-xyz.scm (python-pint): Update to 0.20.1. Signed-off-by: Maxim Cournoyer --- 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 32d826d3c5..c91561e787 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -965,13 +965,13 @@ (define-public python-pymdown-extensions (define-public python-pint (package (name "python-pint") - (version "0.19.2") + (version "0.20.1") (source (origin (method url-fetch) (uri (pypi-uri "Pint" version)) (sha256 (base32 - "1bsbiikm9i4saqc6mc3minkmrgnsgcg734agsvd7icqhyngrim71")))) + "0rv0cbala7ibjbaf6kkcn0mdhqdbajnvlcw0f15gwzfwg10g0z1q")))) (build-system python-build-system) (native-inputs (list python-pytest -- cgit v1.2.3 From bc61a788b385d88b1365327bb11ece77fe5169b3 Mon Sep 17 00:00:00 2001 From: Peter Polidoro Date: Tue, 13 Dec 2022 15:39:05 -0500 Subject: gnu: python-pyserial-asyncio: Update to 0.6. * gnu/packages/python-xyz.scm (python-pyserial-asyncio): Update to 0.6. Signed-off-by: Christopher Baines --- 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 c91561e787..c9d9d2e672 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18350,13 +18350,13 @@ (define-public python-pyserial (define-public python-pyserial-asyncio (package (name "python-pyserial-asyncio") - (version "0.5") + (version "0.6") (source (origin (method url-fetch) (uri (pypi-uri "pyserial-asyncio" version)) (sha256 - (base32 "0cwd2cjz859v6jrm3y6hikfqjyhyfj5vhfjb8vvflvl6791yah8n")))) + (base32 "0bx3syngmq2j9mh81byzka1x4ilw8ac9mbx52zn7b7ayw0ijj0xn")))) (build-system python-build-system) (propagated-inputs (list python-pyserial)) (home-page "https://github.com/pyserial/pyserial-asyncio") -- cgit v1.2.3 From bdbe7cbe8169ffaa87f3e969c617fecb6db915a3 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 20 Dec 2022 16:09:52 +0100 Subject: gnu: python-greenlet: Update to 2.0.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-greenlet): Update to 2.0.1. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c9d9d2e672..508984d671 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16985,13 +16985,13 @@ (define-public python-tftpy (define-public python-greenlet (package (name "python-greenlet") - (version "1.1.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "greenlet" version)) - (sha256 - (base32 - "0jkln5bf6rq7dbvpv7ypin3pp9jqd2jr91yyxlnfcii3msj5w3z3")))) + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "greenlet" version)) + (sha256 + (base32 "0rqgxp1fai0fcyv46nd1389mxvk3ccixgdkwws70xnk08ib05rj2")))) (build-system python-build-system) (home-page "https://greenlet.readthedocs.io/") (synopsis "Lightweight in-process concurrent programming") -- cgit v1.2.3 From 8803cb9eb9b78779ea440f21a7c65b0a62572ee3 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 20 Dec 2022 16:09:53 +0100 Subject: gnu: python-gevent: Update to 22.10.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-gevent): Update to 22.10.2. Signed-off-by: Ludovic Courtès --- 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 508984d671..86ccc00bf7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17028,13 +17028,13 @@ (define-public python-objgraph (define-public python-gevent (package (name "python-gevent") - (version "21.12.0") + (version "22.10.2") (source (origin (method url-fetch) (uri (pypi-uri "gevent" version)) (sha256 (base32 - "0kh9mmq811mzfgj60n64icybjp4ryjmfmy1vg7x92yrniibn92zl")) + "0ijwwm2yr7jgz8xs1rbvzj6gp7xw1pagf0i7g99b6dzffshiv80w")) (modules '((guix build utils))) (snippet '(begin -- cgit v1.2.3 From 7a36e8e21809d05fdd011a0ce2ce7a83127c6679 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 20 Dec 2022 16:09:54 +0100 Subject: gnu: python-eventlet: Manage broken tests with nosetests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-eventlet): [arguments] Manage broken tests with nosetests. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86ccc00bf7..acc6c051e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2876,15 +2876,14 @@ (define-public python-eventlet ;; getprotobyname is called. Thankfully there is an environment ;; variable to disable the greendns import, so use it: (setenv "EVENTLET_NO_GREENDNS" "yes"))) - (add-after 'unpack 'delete-broken-tests - (lambda _ - (delete-file "tests/greendns_test.py") - (delete-file "tests/socket_test.py"))) - ;; See https://github.com/eventlet/eventlet/issues/562#issuecomment-714183009 (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? - (invoke "nosetests" "-v" "tests/"))))))) + (invoke + "nosetests" + "-v" "tests/" + "-I" "greendns_test.py" + "-I" "socket_test.py"))))))) (home-page "https://eventlet.net") (synopsis "Concurrent networking library for Python") (description -- cgit v1.2.3 From f59df2f488061c68bb828470aef5c14811df4c4a Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 20 Dec 2022 16:09:55 +0100 Subject: gnu: python-eventlet: Exclude broken test. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-eventlet): [arguments] Exclude broken test. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index acc6c051e9..b14c4ff0f3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2883,7 +2883,8 @@ (define-public python-eventlet "nosetests" "-v" "tests/" "-I" "greendns_test.py" - "-I" "socket_test.py"))))))) + "-I" "socket_test.py" + "-e" "test_018b_http_10_keepalive_framing"))))))) (home-page "https://eventlet.net") (synopsis "Concurrent networking library for Python") (description -- cgit v1.2.3 From cd3df45c3789cb2c3a7c7565151196803193d183 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 3 Feb 2023 14:13:27 +0800 Subject: gnu: binwalk: Update to 2.3.4. * gnu/packages/python-xyz.scm (binwalk): Update to 2.3.4. Signed-off-by: Christopher Baines --- 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 b14c4ff0f3..3fe2267a0d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18695,7 +18695,7 @@ (define-public python-binaryornot (define-public binwalk (package (name "binwalk") - (version "2.3.3") + (version "2.3.4") (source (origin (method git-fetch) @@ -18704,7 +18704,7 @@ (define-public binwalk (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0phqyqv34vhh80dgipiggs4n3iq2vfjk9ywx2c5d8g61vzgbd2g8")) + (base32 "0cfm1khckq986l0q68kmfyfagc6zmb94hgjjm847fjcil77dnlw6")) (modules '((guix build utils))) (snippet #~(begin -- cgit v1.2.3 From c3bcf56f9c0cd211b014d1e70c223ab10f9d0288 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 28 Jan 2023 10:00:39 +0100 Subject: gnu: pyzo: Update to 4.12.5. * gnu/packages/python-xyz.scm (pyzo): Update to 4.12.5. --- gnu/packages/python-xyz.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3fe2267a0d..b7975c2db4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -49,7 +49,7 @@ ;;; Copyright © 2018 Mathieu Lirzin ;;; Copyright © 2018 Adam Massmann ;;; Copyright © 2016, 2018 Tomáš Čech -;;; Copyright © 2018-2022 Nicolas Goaziou +;;; Copyright © 2018-2023 Nicolas Goaziou ;;; Copyright © 2018 Oleg Pykhalov ;;; Copyright © 2018, 2019, 2021 Clément Lassieur ;;; Copyright © 2018, 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer @@ -27024,7 +27024,7 @@ (define-public python-dictpath (define-public pyzo (package (name "pyzo") - (version "4.12.4") + (version "4.12.5") (source (origin (method git-fetch) @@ -27034,7 +27034,7 @@ (define-public pyzo (file-name (git-file-name name version)) (sha256 (base32 - "10qqilbh7n4z2656qbr9gllvgi7xq11xcm2bv64h02jmkb7m4m6n")))) + "0938dk9z1l248756h4z08si4n1i2rj02lbwgd04x49p97iclgwrn")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From 44f43603d369d2df06942ecf90f983e850b87f43 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Wed, 1 Feb 2023 10:36:00 +0100 Subject: gnu: Rename 'git-minimal/fixed' to 'git-minimal/pinned'. * gnu/packages/version-control.scm: Rename variable 'git-minimal/fixed' to 'git-minimal/pinned', add depreciation. * gnu/packages/erlang.scm (erlang-erlware-commons)[native-inputs]: Replace 'git-minimal/fixed' with 'git-minimal/pinned'. (rebar3-git-vsn)[inputs]: Likewise. * gnu/packages/gnome.scm (gnome-photos)[native-inputs]: Likewise. * gnu/packages/gtk.scm (graphene)[native-inputs]: Likewise. * gnu/packages/haskell.scm (ghc-8.8, ghc-8.10)[native-inputs]: Likewise. * gnu/packages/julia-xyz.scm (julia-documenter)[native-inputs]: Likewise. * gnu/packages/ocaml.scm (opam, ocamlformat)[native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-check-manifest)[native-inputs]: Likewise. (python-scikit-build)[native-inputs]: Likewise. Signed-off-by: Liliana Marie Prikler --- gnu/packages/erlang.scm | 4 ++-- gnu/packages/gnome.scm | 2 +- gnu/packages/gtk.scm | 2 +- gnu/packages/haskell.scm | 4 ++-- gnu/packages/julia-xyz.scm | 2 +- gnu/packages/ocaml.scm | 4 ++-- gnu/packages/python-xyz.scm | 4 ++-- gnu/packages/version-control.scm | 7 ++++++- 8 files changed, 17 insertions(+), 12 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/erlang.scm b/gnu/packages/erlang.scm index cfada5a619..dc9a932aec 100644 --- a/gnu/packages/erlang.scm +++ b/gnu/packages/erlang.scm @@ -376,7 +376,7 @@ (define-public erlang-erlware-commons (propagated-inputs (list erlang-cf)) (native-inputs - (list git-minimal/fixed)) ;; Required for tests + (list git-minimal/pinned)) ;; Required for tests (arguments `(#:phases (modify-phases %standard-phases @@ -701,7 +701,7 @@ (define-public rebar3-git-vsn (base32 "1dfz56034pa25axly9vqdzv3phkn8ll0qwrkws96pbgcprhky1hx")))) (build-system rebar-build-system) (inputs - (list git-minimal/fixed)) + (list git-minimal/pinned)) (arguments `(;; Running the tests require binary artifact (tar-file containing ;; samples git repos) TODO: remove these from the source diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 4f2d716fb2..6a4d3182b2 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -909,7 +909,7 @@ (define-public gnome-photos (list dbus desktop-file-utils gettext-minimal - git-minimal/fixed + git-minimal/pinned `(,glib "bin") gobject-introspection gsettings-desktop-schemas diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 5024455368..f575194c73 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -2519,7 +2519,7 @@ (define-public graphene '("-Dintrospection=false") '())))) (native-inputs - `(("git" ,git-minimal/fixed) + `(("git" ,git-minimal/pinned) ("gobject-introspection" ,gobject-introspection) ("mutest" ,mutest) ("pkg-config" ,pkg-config))) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 91610a1f2e..4eb13f76d7 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1143,7 +1143,7 @@ (define-public ghc-8.8 (sha256 (base32 "0c55pj2820q26rikhpf636sn4mjgqsxjrl94vsywrh79dxp3k14z")))) - ("git" ,git-minimal/fixed) ; invoked during tests + ("git" ,git-minimal/pinned) ; invoked during tests ,@(filter (match-lambda (("ghc-bootstrap" . _) #f) (("ghc-testsuite" . _) #f) @@ -1195,7 +1195,7 @@ (define-public ghc-8.10 (sha256 (base32 "1zl25gg6bpx5601k8h3cqnns1xfc0nqgwnh8jvn2s65ra3f2g1nz")))) - ("git" ,git-minimal/fixed) ; invoked during tests + ("git" ,git-minimal/pinned) ; invoked during tests ,@(filter (match-lambda (("ghc-bootstrap" . _) #f) (("ghc-testsuite" . _) #f) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 414aba03f0..b831b41db2 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -1614,7 +1614,7 @@ (define-public julia-documenter (inputs (list python-wrapper)) (native-inputs - (list git-minimal/fixed ;needed for the "Utilities" test + (list git-minimal/pinned ;needed for the "Utilities" test julia-documentermarkdown julia-documentertools)) (home-page "https://juliadocs.github.io/Documenter.jl") diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 3458c87818..0cc92c3e85 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -938,7 +938,7 @@ (define-public opam ("ocaml-cppo" ,ocaml-cppo) ;; For tests. - ("git" ,git-minimal/fixed) + ("git" ,git-minimal/pinned) ("openssl" ,openssl) ("python" ,python-wrapper) ("rsync" ,rsync) @@ -8656,7 +8656,7 @@ (define-public ocamlformat ocaml-uuseg ocaml-uutf)) (native-inputs - (list git-minimal/fixed ;for tests + (list git-minimal/pinned ;for tests ocaml-alcotest ocaml-ocp-indent ocaml-bisect-ppx)) (home-page "https://github.com/ocaml-ppx/ocamlformat") (synopsis "Auto-formatter for OCaml code") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b7975c2db4..1cad8e54d8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25933,7 +25933,7 @@ (define-public python-check-manifest (invoke "git" "config" "--global" "protocol.file.allow" "always")))))) (native-inputs - (list git-minimal/fixed python-pytest)) + (list git-minimal/pinned python-pytest)) (propagated-inputs (list python-pypa-build python-setuptools python-tomli)) (home-page "https://github.com/mgedmin/check-manifest") @@ -28578,7 +28578,7 @@ (define-public python-scikit-build (native-inputs (list cmake-minimal gfortran - git-minimal/fixed ;for tests + git-minimal/pinned ;for tests ninja python-coverage python-cython diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 78a89cfd5b..12e21336ce 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -67,6 +67,7 @@ (define-module (gnu packages version-control) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix utils) #:use-module (guix packages) + #:use-module (guix deprecation) #:use-module (guix gexp) #:use-module (guix download) #:use-module (guix git-download) @@ -670,7 +671,11 @@ (define-public git-minimal perl zlib)))) -(define-public git-minimal/fixed +;;; The symbol git-minimal/fixed should be used when git-minimal needs fixes +;;; (security or else) and this deprecation could be removed. +(define-deprecated/public-alias git-minimal/fixed git-minimal/pinned) + +(define-public git-minimal/pinned ;; Version that rarely changes, depended on by Graphene/GTK+. (package/inherit git-minimal (version "2.33.1") -- cgit v1.2.3 From f70baf8af0821af68784cdc48a4d00290522fee9 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 28 Aug 2022 17:21:54 -0300 Subject: gnu: python-diff-match-patch: Update to 20200713. * gnu/packages/python-xyz.scm (python-diff-match-patch): Update to 20200713. [arguments]: Override the 'check phase. [home-page]: Update URL. --- gnu/packages/python-xyz.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1cad8e54d8..e7edbccb7c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -80,7 +80,7 @@ ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020 Yuval Kogman ;;; Copyright © 2020, 2022 Michael Rohleder -;;; Copyright © 2020, 2021, 2022 Vinicius Monego +;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka ;;; Copyright © 2020 Hendursaga ;;; Copyright © 2020 Malte Frank Gerdes @@ -20338,16 +20338,23 @@ (define-public python-utils (define-public python-diff-match-patch (package (name "python-diff-match-patch") - (version "20121119") + (version "20200713") (source (origin (method url-fetch) (uri (pypi-uri "diff-match-patch" version)) (sha256 (base32 - "0k1f3v8nbidcmmrk65m7h8v41jqi37653za9fcs96y7jzc8mdflx")))) + "063s8zcxz787xfg7d1wxpqh59fxg3iz85ww9zhyz4vaqm80mlvys")))) (build-system python-build-system) - (home-page "https://code.google.com/p/google-diff-match-patch") + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" + "diff_match_patch.tests"))))))) + (home-page "https://github.com/diff-match-patch-python/diff-match-patch") (synopsis "Synchronize plain text") (description "Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.") -- cgit v1.2.3 From 39e80baafce41a7e8ae516953625f27e2f087f57 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 3 Dec 2022 11:25:29 -0300 Subject: gnu: python-pyqtgraph: Update to 0.13.1. * gnu/packages/python-xyz.scm (python-pyqtgraph): Update to 0.13.1. [build-system]: Use pyproject-build-system. [arguments]: Rewrite as G-expressions; disable tests through test-flags, not by replacing the 'check phase. [phases]: Remove trailing #t; rename the 'set-home-and-qpa phase to 'set-qpa. [native-inputs]: Replace python-pytest with python-pytest-7.1. [home-page]: Use https. --- gnu/packages/python-xyz.scm | 45 ++++++++++++++------------------------------- 1 file changed, 14 insertions(+), 31 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e7edbccb7c..de71c48d84 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16146,48 +16146,31 @@ (define-public python-anyqt (define-public python-pyqtgraph (package (name "python-pyqtgraph") - (version "0.12.1") + (version "0.13.1") (source (origin (method url-fetch) (uri (pypi-uri "pyqtgraph" version)) (sha256 - (base32 "0kc7ncv0lr3spni29i9g8nszyr4xinswqi2zzs6v8kqqi593pvyj")))) - (build-system python-build-system) + (base32 "026wq2p7h1dmg2ldwhxiv28i5qld0llhnak06dxp4rdrkpsqg3v9")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-before 'check 'set-home-and-qpa - (lambda _ - (setenv "HOME" "/tmp") - (setenv "QT_QPA_PLATFORM" "offscreen") - #t)) - (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "-k" - (string-append - ;; These tests try to download online data. - "not test_PolyLineROI" - " and not test_getArrayRegion_axisorder" - " and not test_getArrayRegion" - " and not test_PlotCurveItem" - " and not test_NonUniformImage_colormap" - " and not test_NonUniformImage_lut" - " and not test_ImageItem_axisorder" - " and not test_ImageItem" - ;; The test_reload test fails and suggests adding - ;; "--assert=plain" to the pytest command, but it - ;; doesn't solve the failure. - " and not test_reload"))))))) - (native-inputs - (list python-pytest python-pytest-cov python-pytest-xdist)) + ;; This test fails. It suggests to disable assert rewriting in Pytest, + ;; but it still doesn't pass. + (list #:test-flags #~'("-k" "not test_reload") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-qpa + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (native-inputs + (list python-pytest-7.1 python-pytest-cov python-pytest-xdist)) (inputs (list qtbase-5)) (propagated-inputs (list python-h5py python-numpy python-pyopengl python-scipy python-pyqt-without-qtwebkit)) - (home-page "http://www.pyqtgraph.org") + (home-page "https://www.pyqtgraph.org") (synopsis "Scientific graphics and GUI library for Python") (description "PyQtGraph is a Pure-python graphics library for PyQt5, PyQt6, PySide2 -- cgit v1.2.3 From cd0ae604f4dcb3799c23c9332cc463eb1a04957c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 5 Dec 2022 21:20:04 -0300 Subject: gnu: python-janus: Update to 1.0.0. * gnu/packages/python-xyz.scm (python-janus): Update to 1.0.0. [build-system]: Switch to pyproject-build-system. [arguments]: Don't override the 'check phase. [propagated-inputs]: Add python-typing-extensions. --- gnu/packages/python-xyz.scm | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index de71c48d84..1866f9c920 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -291,24 +291,17 @@ (define-public python-xmldiff (define-public python-janus (package (name "python-janus") - (version "0.6.1") + (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "janus" version)) (sha256 - (base32 "030xvl2vghi5ispfalhvch1rl6i2jsy5bf1dgjafa7vifppy04j7")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "--cov=janus" "--cov=tests"))))))) + (base32 "04hnrdcf03g1s0x3sr72sh9gnszz6kyfsl9dg8a4n0zvvhn6z5yz")))) + (build-system pyproject-build-system) (native-inputs (list python-pytest python-pytest-cov python-pytest-asyncio)) + (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/aio-libs/janus/") (synopsis "Sync-async queue to interoperate between asyncio tasks and classic threads") -- cgit v1.2.3 From e053fcd3e30532c4126779c02053106a0a68b8d8 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sun, 29 Jan 2023 07:59:47 -0300 Subject: gnu: python-wand: Update to 0.6.11. * gnu/packages/python-xyz.scm (python-wand): Update to 0.6.11. [arguments]: Override the 'check phase. --- gnu/packages/python-xyz.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1866f9c920..15f1a80fed 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2083,13 +2083,13 @@ (define-public python-license-expression (define-public python-wand (package (name "python-wand") - (version "0.6.10") + (version "0.6.11") (source (origin (method url-fetch) (uri (pypi-uri "Wand" version)) (sha256 - (base32 "0mywzs235skwq670c80achrd34kangwy24793k1nij3651zllgrp")))) + (base32 "15d9kxyc7qvknx0kv27m2jamnmisckyf89i7wlqykwgqm46p0qdn")))) (build-system python-build-system) (arguments `(#:phases @@ -2097,7 +2097,11 @@ (define-public python-wand (add-after 'unpack 'find-magickwand (lambda* (#:key inputs #:allow-other-keys) (setenv "MAGICK_HOME" (assoc-ref inputs "imagemagick")) - (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16")))))) + (setenv "WAND_MAGICK_LIBRARY_SUFFIX" ".Q16"))) + (replace 'check + (lambda _ + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest)) (inputs -- cgit v1.2.3