From a3dd88710f8a7a2cc334fddc94f3861ea392b336 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 27 Oct 2019 21:49:02 +0100 Subject: gnu: python-pathpy: Update to 11.5.1. * gnu/packages/python-xyz.scm (python-pathpy): Update to 11.5.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 e69a17a463..7d084b7c0d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5218,13 +5218,13 @@ releases.") (define-public python-pathpy (package (name "python-pathpy") - (version "11.5.0") + (version "11.5.1") (source (origin (method url-fetch) (uri (pypi-uri "path.py" version)) (sha256 - (base32 "1jxkf91syzxlpiwgm83fjfz1m5xh3jrvv4iyl5wjsnkk599pls5n")))) + (base32 "0ir9j1haq2jbi7aip6k2fa9l7q1l03k4hp1awxhjhcwzsnwp3ll8")))) (outputs '("out" "doc")) (build-system python-build-system) (propagated-inputs -- cgit v1.2.3 From da107cf5be52278da472f53f0671407bd5b6e015 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 27 Oct 2019 21:11:47 +0100 Subject: gnu: python-cftime: Update to 1.0.4.2. * gnu/packages/python-xyz.scm (python-cftime): Update to 1.0.4.2. --- gnu/packages/python-xyz.scm | 5 ++--- 1 file changed, 2 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 7d084b7c0d..8ad5c92239 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -548,14 +548,13 @@ concepts.") (define-public python-cftime (package (name "python-cftime") - (version "1.0.3.4") + (version "1.0.4.2") (source (origin (method url-fetch) (uri (pypi-uri "cftime" version)) (sha256 - (base32 - "0362dhxbzk593walyjz30dll6y2y79wialik647cbwdsf3ad0x6x")))) + (base32 "0w0gi6jnch38hiygl62j4xkcirv4y3dcwrvxl9p7bsk6j27lzihs")))) (build-system python-build-system) (propagated-inputs `(("python-numpy" ,python-numpy))) -- cgit v1.2.3 From ee51577325525fcecc2828da94e9001b3c5d7636 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 28 Oct 2019 00:08:32 +0100 Subject: gnu: python-ipython: Update to 7.9.0. * gnu/packages/python-xyz.scm (python-ipython): Update to 7.9.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 8ad5c92239..476ac2f588 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5624,13 +5624,13 @@ computing.") (define-public python-ipython (package (name "python-ipython") - (version "7.5.0") + (version "7.9.0") (source (origin (method url-fetch) (uri (pypi-uri "ipython" version ".tar.gz")) (sha256 - (base32 "09mbxq37mfn88xjnib7qfzaq9krr7gf1jxwy1p6mcjr254082h78")))) + (base32 "103jkw18z7fnwdal1mdbijjxi1fndzn31g887lmj7ddpf2r07lyz")))) (build-system python-build-system) (propagated-inputs `(("python-backcall" ,python-backcall) -- cgit v1.2.3 From 2a74f9284e7a798c26938d8475522c8312c33dea Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 28 Oct 2019 21:54:16 +0100 Subject: gnu: python-lxml: Update to 4.4.1. * gnu/packages/python-xyz.scm (python-lxml): Update to 4.4.1. Signed-off-by: Marius Bakke --- 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 476ac2f588..3a3c573c6f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5963,14 +5963,14 @@ the GObject Introspection bindings to libnotify for non-GTK applications.") (define-public python-lxml (package (name "python-lxml") - (version "4.2.5") + (version "4.4.1") (source (origin (method url-fetch) (uri (pypi-uri "lxml" version)) (sha256 (base32 - "0zw0y9hs0nflxhl9cs6ipwwh53szi3w2x06wl0k9cylyqac0cwin")))) + "14jnpfcpgqr9sx8ppd286jzcbk0b36hbqsvd8jkvffipzw5v8768")))) (build-system python-build-system) (inputs `(("libxml2" ,libxml2) -- cgit v1.2.3 From 2f3c2dafefa08244e0d5834f06416d8dd5a102e4 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 28 Oct 2019 22:33:09 +0100 Subject: gnu: python-lxml: Run the test suite. * gnu/packages/python-xyz.scm (python-lxml)[arguments]: New field. --- gnu/packages/python-xyz.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3a3c573c6f..e11a3ea42b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5972,6 +5972,11 @@ the GObject Introspection bindings to libnotify for non-GTK applications.") (base32 "14jnpfcpgqr9sx8ppd286jzcbk0b36hbqsvd8jkvffipzw5v8768")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "make" "test")))))) (inputs `(("libxml2" ,libxml2) ("libxslt" ,libxslt))) -- cgit v1.2.3 From 3ce91d44290cee4e10d4436d3fcfba4141b67fcb Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 28 Oct 2019 18:44:14 +0100 Subject: gnu: python-pyro4: Update to 4.77. * gnu/packages/python-xyz.scm (python-pyro4): Update to 4.77. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 10 ++++++++-- 1 file changed, 8 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 e11a3ea42b..bf5371c07a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14329,14 +14329,20 @@ such as figshare or Zenodo.") (define-public python-pyro4 (package (name "python-pyro4") - (version "4.75") + (version "4.77") (source (origin (method url-fetch) (uri (pypi-uri "Pyro4" version)) (sha256 - (base32 "1dfpp36imddx19yv0kd28gk1l71ckhpqy6jd590wpm2680jw15rq")))) + (base32 "0gsjg869y4gpy265s1gj1f2qy6jn5iz8r2bwwnq78r1r5yi15zib")))) (build-system python-build-system) + (arguments + '(#:tests? #f)) ;FIXME: Some tests require network access. + (native-inputs + `(("python-cloudpickle" ,python-cloudpickle) + ("python-dill" ,python-dill) + ("python-msgpack" ,python-msgpack))) (propagated-inputs `(("python-serpent" ,python-serpent))) (home-page "https://pyro4.readthedocs.io") -- cgit v1.2.3 From b2b8a39c4130b6a7bb1c9a96078cd14f0f086860 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 28 Oct 2019 18:23:58 +0100 Subject: gnu: python-coloredlogs: Update to 10.0. * gnu/packages/python-xyz.scm (python-coloredlogs): Update to 10.0. Signed-off-by: Marius Bakke --- 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 bf5371c07a..04d72e285b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -933,14 +933,14 @@ add the log levels NOTICE, SPAM, SUCCESS and VERBOSE.") (define-public python-coloredlogs (package (name "python-coloredlogs") - (version "7.3") + (version "10.0") (source (origin (method url-fetch) (uri (pypi-uri "coloredlogs" version)) (sha256 (base32 - "1blcann6dyg5dhps9pg12rn0q0rjrlajpmmil0gy0j4cbvnl2il9")))) + "0dkw6xp0r1dwgz4s2f58npx5nxfq51wf4l6qkm5ib27slgfs4sdq")))) (build-system python-build-system) (arguments `(;Tests require some updated modules -- cgit v1.2.3 From af2d37133b43ec232d99960b924f22575624d7af Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:29 +0100 Subject: gnu: python-cleo: Update to 0.6.8. * gnu/packages/python-xyz.scm (python-cleo): Update to 0.6.8. Signed-off-by: Mathieu Othacehe --- 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 04d72e285b..f1132c5206 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10592,16 +10592,16 @@ Wikipedia code samples at (define-public python-cleo (package (name "python-cleo") - (version "0.6.1") + (version "0.6.8") (source (origin (method url-fetch) (uri (pypi-uri "cleo" version)) (sha256 (base32 - "0q1cf0szr0d54am4pypzwdnm74zpladdsinad94c2fz5i06fdpf7")))) + "06zp695hq835rkaq6irr1ds1dp2qfzyf32v60vxpd8rcnxv319l5")))) (build-system python-build-system) (native-inputs - `(;; For testing + `( ;; For testing ("python-mock" ,python-mock) ("python-pytest-mock" ,python-pytest-mock) ("python-pytest" ,python-pytest))) -- cgit v1.2.3 From 2be85c4531adcf2b59641b75e66c458b895e5a96 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:30 +0100 Subject: gnu: Add python-tomlkit. * gnu/packages/python-xyz.scm (python-tomlkit): New public variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f1132c5206..1ed79a9a4f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10619,6 +10619,31 @@ docstring and colored output.") (define-public python2-cleo (package-with-python2 python-cleo)) +(define-public python-tomlkit + (package + (name "python-tomlkit") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tomlkit" version)) + (sha256 + (base32 + "18820ga5z3if1w8dvykxrfm000akracq01ic402xrbljgbn5grn4")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page + "https://github.com/sdispater/tomlkit") + (synopsis "Style preserving TOML library") + (description + "TOML Kit is a 0.5.0-compliant TOML library. It includes a parser that +preserves all comments, indentations, whitespace and internal element ordering, +and makes them accessible and editable via an intuitive API. It can also +create new TOML documents from scratch using the provided helpers. Part of the +implementation as been adapted, improved and fixed from Molten.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From 0bb322014084ee76f193bbc3348f29479f014e23 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:31 +0100 Subject: gnu: Add python-shellingham. * gnu/packages/python-xyz.scm (python-shellingham): New public variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1ed79a9a4f..edca719547 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10644,6 +10644,26 @@ create new TOML documents from scratch using the provided helpers. Part of the implementation as been adapted, improved and fixed from Molten.") (license license:expat))) +(define-public python-shellingham + (package + (name "python-shellingham") + (version "1.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "shellingham" version)) + (sha256 + (base32 + "1q7kws7w4x2hji3g7y0ni9ddk4sd676ylrb3db54gbpys6xj6nwq")))) + (build-system python-build-system) + (home-page + "https://github.com/sarugaku/shellingham") + (synopsis "Tool to detect surrounding shell") + (description + "Shellingham detects what shell the current Python executable is +running in.") + (license license:isc))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From aee92957b5032196cb830f0288557de864c9c644 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:32 +0100 Subject: gnu: Add python-memcached. * gnu/packages/python-xyz.scm (python-memcached): New public variable. Signed-off-by: Mathieu Othacehe --- 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 edca719547..e082351e36 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10664,6 +10664,28 @@ implementation as been adapted, improved and fixed from Molten.") running in.") (license license:isc))) +(define-public python-memcached + (package + (name "python-memcached") + (version "1.59") + (source + (origin + (method url-fetch) + (uri (pypi-uri "python-memcached" version)) + (sha256 + (base32 + "0kvyapavbirk2x3n1jx4yb9nyigrj1s3x15nm3qhpvhkpqvqdqm2")))) + (build-system python-build-system) + (propagated-inputs `(("python-six" ,python-six))) + (home-page + "https://github.com/linsomniac/python-memcached") + (synopsis "Pure python memcached client") + (description + "This software is a pure Python interface to the memcached memory cache +daemon. It is the client side software which allows storing values in one or +more, possibly remote, memcached servers.") + (license license:psfl))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From b2ac2508b09f264b11721fa42edefd2b96ac6476 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:33 +0100 Subject: gnu: Add python-clikit. * gnu/packages/python-xyz.scm (python-clikit): New public variable. Signed-off-by: Mathieu Othacehe --- 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 e082351e36..00bc41083a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10686,6 +10686,28 @@ daemon. It is the client side software which allows storing values in one or more, possibly remote, memcached servers.") (license license:psfl))) +(define-public python-clikit + (package + (name "python-clikit") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "clikit" version)) + (sha256 + (base32 + "0dc8czib5f4j9px1ivcpqnmivnx2zjpc0xb00ldrhsqylks7r06n")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pastel" ,python-pastel) + ("python-pylev" ,python-pylev))) + (home-page "https://github.com/sdispater/clikit") + (synopsis "Group of utilities to build command line interfaces") + (description + "CliKit is a group of utilities to build testable command line +interfaces.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From c6f008d6266a443344ce89e222c9534b2056d806 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:34 +0100 Subject: gnu: Add python-msgpack-python. * gnu/packages/python-xyz.scm (python-msgpack-python): New public variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 00bc41083a..c518783bb0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10708,6 +10708,27 @@ more, possibly remote, memcached servers.") interfaces.") (license license:expat))) +(define-public python-msgpack-python + (package + (name "python-msgpack-python") + (version "0.5.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "msgpack-python" version)) + (sha256 + (base32 + "16wh8qgybmfh4pjp8vfv78mdlkxfmcasg78lzlnm6nslsfkci31p")))) + (build-system python-build-system) + (home-page "http://msgpack.org/") + (synopsis "Package to deserialize messages in MessagePack binary format") + (description + "MessagePack is an efficient binary serialization format. It lets you +exchange data among multiple languages like JSON. But it's faster and +smaller. Small integers are encoded into a single byte, and typical short +strings require only one extra byte in addition to the strings themselves.") + (license license:asl2.0))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From badc1c630f6406b060cdcfbc7b846ba7c5e3c612 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:35 +0100 Subject: gnu: Add python-cachy. * gnu/packages/python-xyz.scm (python-cachy): New public variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c518783bb0..0927601027 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10729,6 +10729,34 @@ smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.") (license license:asl2.0))) +(define-public python-cachy + (package + (name "python-cachy") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cachy" version)) + (sha256 + (base32 + "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp")))) + (build-system python-build-system) + (native-inputs + `(("python-fakeredis" ,python-fakeredis) + ("python-flexmock" ,python-flexmock) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-memcached" ,python-memcached) + ("python-msgpack-python" ,python-msgpack-python) + ("python-redis" ,python-redis))) + (home-page "https://github.com/sdispater/cachy") + (synopsis "Simple yet effective caching library") + (description + "Cachy provides a simple yet effective caching library. A simple but +powerful API: thread-safety; decorator syntax; support for memcached, redis, +database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From 617bb67b4eb2a2de7a440c77853de85e9c4c09eb Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:37 +0100 Subject: gnu: Add poetry. * gnu/packages/python-xyz.scm (poetry): New public variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0927601027..98e2d7e92b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10757,6 +10757,53 @@ powerful API: thread-safety; decorator syntax; support for memcached, redis, database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") (license license:expat))) +(define-public poetry + (package + (name "poetry") + (version "0.12.17") + ;; Poetry can only be built from source with poetry. + (source + (origin + (method url-fetch) + (uri (pypi-uri "poetry" version)) + (sha256 + (base32 + "0gxwcd65qjmzqzppf53x51sic1rbcd9py6cdzx3aprppipimslvf")))) + (build-system python-build-system) + (arguments + `(#:tests? #f ;; Pypi does not have tests. + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda _ + ;; Bug in poetry https://github.com/sdispater/poetry/issues/866. + (invoke "sed" "-i" "-e" "s/from distutils.core/from setuptools/" + "setup.py") + #t))))) + (propagated-inputs + `(("python-cachecontrol" ,python-cachecontrol) + ("python-cachy" ,python-cachy) + ("python-cleo" ,python-cleo) + ("python-glob2" ,python-glob2) + ("python-html5lib" ,python-html5lib) + ("python-jsonschema" ,python-jsonschema) + ("python-msgpack" ,python-msgpack) + ("python-pathlib2" ,python-pathlib2) + ("python-pkginfo" ,python-pkginfo) + ("python-pyparsing" ,python-pyparsing) + ("python-pyrsistent" ,python-pyrsistent) + ("python-requests" ,python-requests) + ("python-requests-toolbelt" ,python-requests-toolbelt) + ("python-shellingham" ,python-shellingham) + ("python-tomlkit" ,python-tomlkit) + ("python-virtualenv" ,python-virtualenv))) + (home-page "https://poetry.eustace.io/") + (synopsis "Python dependency management and packaging made easy") + (description "Poetry is a tool for dependency management and packaging +in Python. It allows you to declare the libraries your project depends on and +it will manage (install/update) them for you.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From 8e5fbd5dda93e137ff527cabe25989b28ab9e1c0 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 28 Oct 2019 22:22:23 +0100 Subject: gnu: python-numpy: Update to 1.17.3. * gnu/packages/python-xyz.scm (python-numpy): Update to 1.17.3. Signed-off-by: Mathieu Othacehe --- 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 98e2d7e92b..f6347d7039 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3450,7 +3450,7 @@ between language specification and implementation aspects.") (define-public python-numpy (package (name "python-numpy") - (version "1.15.4") + (version "1.17.3") (source (origin (method url-fetch) @@ -3459,7 +3459,7 @@ between language specification and implementation aspects.") version "/numpy-" version ".tar.gz")) (sha256 (base32 - "102vcl2qq4pjbm7a3d67vkkvn4466ngia1d8wi5avqwqh8j0jvkn")))) + "1ak9dmjja0q90a7fsxli51ypcwssh8c4pb6f8wkrsnf2xgdk6dy9")))) (build-system python-build-system) (inputs `(("openblas" ,openblas) -- cgit v1.2.3 From 3a2b1a3c9c3033345a091026d4299b0399d8f14c Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 28 Oct 2019 23:53:27 +0100 Subject: gnu: python-xlrd: Update to 1.2.0. * gnu/packages/python-xyz.scm (python-xlrd): Update to 1.2.0. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 14 ++++++++------ 1 file changed, 8 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 f6347d7039..136c786102 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7247,21 +7247,23 @@ Supported netlink families and protocols include: (define-public python-xlrd (package (name "python-xlrd") - (version "1.0.0") + (version "1.2.0") (source (origin (method url-fetch) (uri (pypi-uri "xlrd" version)) (sha256 (base32 - "0s8hjiz01vbhy85xalrz0qlsmd9ypf36zjqrf97hh984spapvy0g")))) + "1ci93fda4n67qhdvfl16zasyxrpygzk53hs6m8z0rd4dxrnb6vjl")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - ;; Current test in setup.py does not work as of 1.0.0, so use nose to - ;; run tests instead for now. - (replace 'check (lambda _ (invoke "nosetests")))))) - (native-inputs `(("python-nose" ,python-nose))) + ;; Some tests depend on writing a temp file + ;; to the user's home directory + (add-after 'unpack 'fix-tests + (lambda _ + (delete-file "tests/test_open_workbook.py") + #t))))) (home-page "http://www.python-excel.org/") (synopsis "Library for extracting data from Excel files") (description "This package provides a library to extract data from -- cgit v1.2.3 From 7a97a26d012da08fad4540eed99643f6306de423 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Tue, 29 Oct 2019 00:16:25 +0100 Subject: gnu: python-pandas: Update to 0.25.2. * gnu/packages/python-xyz.scm (python-pandas): Update to 0.25.2. Signed-off-by: Mathieu Othacehe --- 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 136c786102..d39c08c1c4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1157,13 +1157,13 @@ human-friendly syntax.") (define-public python-pandas (package (name "python-pandas") - (version "0.24.2") + (version "0.25.2") (source (origin (method url-fetch) (uri (pypi-uri "pandas" version)) (sha256 - (base32 "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag")))) + (base32 "1gp2pvzdiakvgjmykdzdlzrsfbg4vjm49jjdl9s0ha0a3yfs34fa")))) (build-system python-build-system) (arguments `(#:modules ((guix build utils) -- cgit v1.2.3 From 3ccdd3a5ff505864bc0ab887e509e5d5b07c6847 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Wed, 30 Oct 2019 10:19:08 +0100 Subject: gnu: python-xlrd: Fix comment. * gnu/packages/python-xyz.scm (python-xlrd)[arguments]: Turn comment into a full sentence. --- 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 d39c08c1c4..2617f316d9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7258,8 +7258,8 @@ Supported netlink families and protocols include: (arguments `(#:phases (modify-phases %standard-phases - ;; Some tests depend on writing a temp file - ;; to the user's home directory + ;; Some tests depend on writing a temporary file to the user's home + ;; directory. (add-after 'unpack 'fix-tests (lambda _ (delete-file "tests/test_open_workbook.py") -- cgit v1.2.3 From 2679d9a41903ada9186f593159347cf31c8e4a6e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 30 Oct 2019 12:38:11 +0200 Subject: gnu: python-whoosh: Skip test suite. * gnu/packages/python-xyz.scm (python-whoosh)[arguments]: Disable the test suite. --- gnu/packages/python-xyz.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2617f316d9..6392032d6e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9564,6 +9564,7 @@ useful for solving the Assignment Problem.") (base32 "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw")))) (build-system python-build-system) + (arguments '(#:tests? #f)) ; Test invocation is no longer supported by Python. (native-inputs `(("python-pytest" ,python-pytest))) (home-page "https://bitbucket.org/mchaput/whoosh") -- cgit v1.2.3 From adb396eae3524d9b82294aaf5cc87a615515b04d Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 30 Oct 2019 14:27:57 +0100 Subject: gnu: python2-numpy: Downgrade to 1.16.5. Fixes . Reported by Josh Holland . This is a follow-up to commit 8e5fbd5dda93e137ff527cabe25989b28ab9e1c0. * gnu/packages/python-xyz.scm (python-numpy)[properties]: New field. (python2-numpy): Downgrade to 1.16.5. --- gnu/packages/python-xyz.scm | 16 +++++++++++++++- 1 file changed, 15 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 6392032d6e..061d9b9822 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3524,10 +3524,24 @@ with Python. It contains among other things: a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, useful linear algebra, Fourier transform, and random number capabilities.") + (properties `((python2-variant . ,(delay python2-numpy)))) (license license:bsd-3))) +;; Numpy 1.16.x are the last versions that support Python 2. (define-public python2-numpy - (package-with-python2 python-numpy)) + (let ((numpy (package-with-python2 + (strip-python2-variant python-numpy)))) + (package/inherit + numpy + (version "1.16.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/numpy/numpy/releases/download/v" + version "/numpy-" version ".tar.gz")) + (sha256 + (base32 + "0lg1cycxzi4rvvrd5zxinpdz0ni792fpx6xjd75z1923zcac8qrb"))))))) ;; NOTE: NumPy 1.8 is packaged only for Python 2 because it is of ;; interest only for legacy code going back to NumPy's predecessor -- cgit v1.2.3 From d8bb1097d764949e80f9e41d26b3b194163dd716 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 30 Oct 2019 14:28:39 +0100 Subject: gnu: python2-pandas: Downgrade to 0.24.2. This is a follow-up to commit 7a97a26d012da08fad4540eed99643f6306de423. * gnu/packages/python-xyz.scm (python-pandas)[properties]: New field. (python2-pandas): Downgrade to 0.24.2. --- gnu/packages/python-xyz.scm | 14 +++++++++++++- 1 file changed, 13 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 061d9b9822..29362e2f2b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1226,10 +1226,22 @@ structures designed to make working with structured (tabular, multidimensional, potentially heterogeneous) and time series data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python.") + (properties `((python2-variant . ,(delay python2-pandas)))) (license license:bsd-3))) +;; Pandas 0.24.x are the last versions that support Python 2. (define-public python2-pandas - (package-with-python2 python-pandas)) + (let ((pandas (package-with-python2 + (strip-python2-variant python-pandas)))) + (package/inherit + pandas + (version "0.24.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pandas" version)) + (sha256 + (base32 + "18imlm8xbhcbwy4wa957a1fkamrcb0z988z006jpfda3ki09z4ag"))))))) (define-public python2-mechanize (package -- cgit v1.2.3