From 80c091e911a14fef6177138ef1cab3e0404b2751 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 9 May 2021 21:55:38 +0200 Subject: gnu: python-pikepdf: Update to 2.12.0. * gnu/packages/python-xyz.scm (python-pikepdf): Update to 2.12.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 de7c303b6c..92b0789717 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6137,13 +6137,13 @@ the OleFileIO module from PIL, the Python Image Library.") (define-public python-pikepdf (package (name "python-pikepdf") - (version "2.11.4") + (version "2.12.0") (source (origin (method url-fetch) (uri (pypi-uri "pikepdf" version)) (sha256 - (base32 "0kd5ydnsmlikkg69r255wvq4vy7plh7dx077s2saly5s5vdcqlkk")))) + (base32 "1fgk93v5zac38ak00nw94mi44z9701kn20dkdfpwqr3588vnxfzw")))) (build-system python-build-system) (arguments `(#:tests? #false)) ;require python-xmp-toolkit -- cgit v1.2.3 From 7e863ecd3cd3c3ce684a56b6a81d84d801474aaf Mon Sep 17 00:00:00 2001 From: Greg Hogan Date: Tue, 11 May 2021 19:44:17 +0000 Subject: gnu: python-networkx: Update to 2.5.1. * gnu/packages/python-xyz.scm (python-networkx): Update to 2.5.1. Signed-off-by: Leo Famulari --- 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 92b0789717..3c57498c40 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8390,13 +8390,13 @@ interfaces in an easy and portable manner.") (define-public python-networkx (package (name "python-networkx") - (version "2.5") + (version "2.5.1") (source (origin (method url-fetch) (uri (pypi-uri "networkx" version)) (sha256 - (base32 "00hnii2lplig2s324k1hvi29pyfab6z7i22922f67jgv4da9ay3r")))) + (base32 "0ni3pdisdr8vfp5m9sw8jzr7jwzgqqmc9hq327vrf4n4ra2xb70h")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From 16ad755f94597cc47725a030ef1a65f94d4155c8 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 14 May 2021 15:53:48 +0200 Subject: gnu: python-jupyter-core: Disable config migration. * gnu/packages/python-xyz.scm (python-jupyter-core) [#:phases]: Add new phase 'disable-migration, which disables migration of Guix-owned configuration directories. --- gnu/packages/python-xyz.scm | 13 ++++++++++++- 1 file changed, 12 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 3c57498c40..cf0eba3234 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7605,7 +7605,18 @@ without using the configuration machinery.") "env = {'PATH': '', 'PYTHONPATH': os.environ['PYTHONPATH']}") (("env = \\{'PATH': str\\(b\\)\\}") "env = {'PATH': str(b), 'PYTHONPATH': os.environ['PYTHONPATH']}")) - #t))))) + #t)) + ;; Migration is running whenever etc/jupyter exists, but the + ;; Guix-managed directory will never contain any migratable IPython + ;; config files and cannot be written to anyway, so just pretend we + ;; already did that. + (add-after 'install 'disable-migration + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append (assoc-ref outputs "out") "/etc/jupyter")) + (invoke "touch" + (string-append + (assoc-ref outputs "out") + "/etc/jupyter/migrated"))))))) (propagated-inputs `(("python-traitlets" ,python-traitlets))) (native-inputs -- cgit v1.2.3 From e026b226cda7e6513cf34ee80b278f60fdc7fbf4 Mon Sep 17 00:00:00 2001 From: Xinglu Chen Date: Wed, 5 May 2021 22:06:36 +0200 Subject: gnu: Add python-fb-re2. * gnu/packages/python-xyz.scm (python-fb-re2): New variable. --- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cf0eba3234..2ff0332c7f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -99,6 +99,7 @@ ;;; Copyright © 2021 Sharlatan Hellseher ;;; Copyright © 2021 Ellis Kenyő ;;; Copyright © 2021 LibreMiami +;;; Copyright © 2021 Xinglu Chen ;;; ;;; This file is part of GNU Guix. ;;; @@ -181,6 +182,7 @@ #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) + #:use-module (gnu packages regex) #:use-module (gnu packages sdl) #:use-module (gnu packages search) #:use-module (gnu packages scanner) @@ -1304,6 +1306,30 @@ conventions and aliases in the same expression.") API for locking files.") (license license:expat))) +(define-public python-fb-re2 + (package + (name "python-fb-re2") + (version "1.0.7") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/facebook/pyre2") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0snprxdnh3m45r3b0az4v0l28h90ycmfbybzla6xg1qviwv9w1ak")))) + (build-system python-build-system) + (inputs + `(("re2" ,re2))) + (home-page "https://github.com/facebook/pyre2") + (synopsis "Python wrapper for RE2") + (description "This package provides a Python extension that wraps Google's +RE2 regular expression library. It implements many of the features of +Python's built-in @code{re} module with compatible interfaces.") + (license license:bsd-3))) + (define-public python-filelock (package (name "python-filelock") -- cgit v1.2.3