From a45a259135701dc6e0f1485b64fc373f03a080c4 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Fri, 24 Jul 2020 09:52:27 +0200 Subject: gnu: poetry: Update to 1.0.10. * gnu/packages/python-xyz.scm (poetry): Update to 1.0.10. Signed-off-by: Oleg Pykhalov --- 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 07a52a0e5c..d2dde0e44f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12251,7 +12251,7 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") (define-public poetry (package (name "poetry") - (version "1.0.9") + (version "1.0.10") ;; Poetry can only be built from source with Poetry. (source (origin @@ -12259,7 +12259,7 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") (uri (pypi-uri "poetry" version)) (sha256 (base32 - "1avp0db1a4hf6lz3wrzhpdvj4rpmzr4in3myrd3lp5j66nc5ck0a")))) + "1wm66xlsls4f0q4skmq96yb7aahjsqwgwvbrw4iax6rd4xfqj6sb")))) (build-system python-build-system) (arguments `(#:tests? #f ;; Pypi does not have tests. -- cgit v1.2.3 From 5a6d0413a9d3f567faeee640697c2ff9f444bcaa Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Fri, 24 Jul 2020 09:54:38 +0200 Subject: gnu: python-pifpaf: Update to 2.5.0. * gnu/packages/python-xyz.scm (python-pifpaf): Update to 2.5.0. Signed-off-by: Oleg Pykhalov --- 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 d2dde0e44f..e9a3ab535c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19935,14 +19935,14 @@ logging in Python. It also provides some custom formatters and handlers.") (define-public python-pifpaf (package (name "python-pifpaf") - (version "2.4.0") + (version "2.5.0") (source (origin (method url-fetch) (uri (pypi-uri "pifpaf" version)) (sha256 (base32 - "150av2pylsjy8ykrpyi0vzy2q24s9rhh2ya01zvwnvj9j5dspviz")))) + "1gy9p4nqf70fh38wn4icyfm7i9wrvx22wnjpg71g89wxbz27igaa")))) (build-system python-build-system) (arguments '(#:phases -- cgit v1.2.3 From 6e06192ca4cf42af13f52c402cb71aebb72462c4 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Fri, 24 Jul 2020 09:56:48 +0200 Subject: gnu: python-tomlkit: Update to 0.6.0. * gnu/packages/python-xyz.scm (python-tomlkit): Update to 0.6.0. Signed-off-by: Oleg Pykhalov --- 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 e9a3ab535c..5f62d045e6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12087,13 +12087,13 @@ docstring and colored output.") (define-public python-tomlkit (package (name "python-tomlkit") - (version "0.5.11") + (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "tomlkit" version)) (sha256 - (base32 "1kq1663iqxgwrmb883n55ypi5axnixla2hrby9g2x227asifsi7h")))) + (base32 "16jf0060csn8p500jnxa7m5h1sl3pzispvd11961dzrhh287dybl")))) (build-system python-build-system) (native-inputs `(("python-pytest" ,python-pytest))) -- cgit v1.2.3 From cd09634ad52e6f32d85af71e0410ab4e2b6eaed9 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Tue, 21 Jul 2020 13:56:24 +0200 Subject: gnu: python-typing-extension: Update to 3.7.4.2. * gnu/packages/python-xyz.scm (python-typing-extension): Update to 3.7.4.2. 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 5f62d045e6..22b2c6b4e9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16816,14 +16816,14 @@ and other tools.") (define-public python-typing-extensions (package (name "python-typing-extensions") - (version "3.7.4.1") + (version "3.7.4.2") (source (origin (method url-fetch) (uri (pypi-uri "typing_extensions" version)) (sha256 (base32 - "1wj1vcgbnm20aiinmphyxfrbv3qi9xdhvw89ab3qm42y9n4wq7h9")))) + "1bk9b60s3rm1c8cwhv0bl3gh0x43153xxa6jpyllk9mc7jd5ivkr")))) (build-system python-build-system) (home-page "https://github.com/python/typing/blob/master/typing_extensions/README.rst") -- cgit v1.2.3 From 9c4d0d29a25def622ff2020ca472d464259cff13 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 24 Jul 2020 09:01:40 -0300 Subject: gnu: Add python-cfgv. * gnu/packages/python-xyz.scm (python-cfgv): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 22b2c6b4e9..a2ec1fc88c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17578,6 +17578,38 @@ Let's Encrypt.") (define-public python2-dns-lexicon (package-with-python2 python-dns-lexicon)) +(define-public python-cfgv + (package + (name "python-cfgv") + (version "3.1.0") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/asottile/cfgv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1vvkkqw92sak4b28bpscpppq483amy52ch2yqy1i2m23q7xjkabx")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-covdefaults" ,python-covdefaults) + ("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/asottile/cfgv") + (synopsis "Configuration validation library") + (description + "This library helps to validate configuration files and produce human +readable error messages.") + (license license:expat))) + (define-public python-commandlines (package (name "python-commandlines") -- cgit v1.2.3 From 48443dc8805fc398a1108dbde86e077b0646cf30 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 24 Jul 2020 09:01:41 -0300 Subject: gnu: Add python-identify. * gnu/packages/python-xyz.scm (python-identify): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a2ec1fc88c..031ce91885 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -162,6 +162,7 @@ #:use-module (gnu packages terminals) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) + #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) @@ -17487,6 +17488,40 @@ library to allow local file system access via @code{file://} URLs.") (define-public python2-requests-file (package-with-python2 python-requests-file)) +(define-public python-identify + (package + (name "python-identify") + (version "1.4.25") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/chriskuehl/identify") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fqgci6skckcq0x5pnxh6k2qjzn1ndsrgha1j6wwv1ld4g9bd3hz")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-editdistance" ,python-editdistance))) + (home-page "https://github.com/chriskuehl/identify") + (synopsis "File identification library for Python") + (description + "@code{identify} is a file identification library for Python. Given +a file (or some information about a file), return a set of standardized tags +identifying what the file is.") + (license license:expat))) + (define-public python-tldextract (package (name "python-tldextract") -- cgit v1.2.3 From b8bf0f8c2ce8931298bb810e747836acfb06011c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 24 Jul 2020 09:01:42 -0300 Subject: gnu: Add python-nodeenv. * gnu/packages/python-xyz.scm (python-nodeenv): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 031ce91885..446e0a6def 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17555,6 +17555,41 @@ Public Suffix List's private domains as well.") (define-public python2-tldextract (package-with-python2 python-tldextract)) +(define-public python-nodeenv + (package + (name "python-nodeenv") + (version "1.4.0") + (source + (origin + ;; There's no tarball in PyPI. + (method git-fetch) + (uri (git-reference + (url "https://github.com/ekalinin/nodeenv") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0y443icx0w7jlzmxmmcm4q8dqfiwgafbb9cp8jpm68mbqxbz40a7")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + ;; This test fails. It tries to open a network socket. + (invoke "pytest" "-vv" "-k" "not test_smoke")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (home-page "https://ekalinin.github.io/nodeenv/") + (synopsis "Create isolated node.js environments") + (description + "Nodeenv (node.js virtual environment) is a tool to create isolated +node.js environments. It creates an environment that has its own installation +directories, that doesn't share libraries with other node.js virtual +environments.") + (license license:bsd-3))) + (define-public python-pynamecheap (package (name "python-pynamecheap") -- cgit v1.2.3 From b2c163cec38f349a8b508edfd022f6255d5d3811 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 26 Jul 2020 19:28:23 +0200 Subject: gnu: python-bleach: Update to 3.1.5. * gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.5. --- 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 446e0a6def..60141d0c8e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9057,14 +9057,13 @@ Jupyter Notebook format and Python APIs for working with notebooks.") (define-public python-bleach (package (name "python-bleach") - (version "3.1.3") + (version "3.1.5") (source (origin (method url-fetch) (uri (pypi-uri "bleach" version)) (sha256 - (base32 - "0al437aw4p2xp83az5hhlrp913nsf0cg6kg4qj3fjhv4wakxipzq")))) + (base32 "0jqa8f1ni10cyf4h7sjpf8mbqlcbkyvmsnli77qrxdcxvc7m4k1w")))) (build-system python-build-system) (propagated-inputs `(("python-webencodings" ,python-webencodings) -- cgit v1.2.3 From 083bc36215198298510f64757e299ac2edb76569 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2020 02:03:45 +0200 Subject: gnu: python-dbus: Update to 1.2.16. * gnu/packages/python-xyz.scm (python-dbus): Update to 1.2.16. --- 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 60141d0c8e..42bb160a75 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -6996,14 +6996,14 @@ parsing (browser/HTTP) user agent strings.") (define-public python-dbus (package (name "python-dbus") - (version "1.2.14") + (version "1.2.16") (source (origin (method url-fetch) (uri (string-append "https://dbus.freedesktop.org/releases/dbus-python/" "dbus-python-" version ".tar.gz")) (sha256 - (base32 "0cdchkgnivlka4lf8q4qfk0yxq483i3r3aqickjf8hfn7nx0c0mi")))) + (base32 "196m5rk3qzw5nkmgzjl7wmq0v7vpwfhh8bz2sapdi5f9hqfqy8qi")))) (build-system gnu-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From c64f0eea880efa4953cce93f293b2935b45b9721 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2020 03:40:33 +0200 Subject: gnu: python-jedi: Update to 0.17.2. * gnu/packages/python-xyz.scm (python-jedi): Update to 0.17.2. [source, arguments]: Remove upstreamed patching. * gnu/packages/patches/python-jedi-sort-project-test.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/local.mk | 1 - .../patches/python-jedi-sort-project-test.patch | 18 ------------------ gnu/packages/python-xyz.scm | 14 ++------------ 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 gnu/packages/patches/python-jedi-sort-project-test.patch (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/local.mk b/gnu/local.mk index ef6533bd8d..e574697f32 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1454,7 +1454,6 @@ dist_patch_DATA = \ %D%/packages/patches/python-pep8-stdlib-tokenize-compat.patch \ %D%/packages/patches/python-pyfakefs-remove-bad-test.patch \ %D%/packages/patches/python-flint-includes.patch \ - %D%/packages/patches/python-jedi-sort-project-test.patch \ %D%/packages/patches/python-libxml2-utf8.patch \ %D%/packages/patches/python-memcached-syntax-warnings.patch \ %D%/packages/patches/python-mox3-python3.6-compat.patch \ diff --git a/gnu/packages/patches/python-jedi-sort-project-test.patch b/gnu/packages/patches/python-jedi-sort-project-test.patch deleted file mode 100644 index b2d602dfe6..0000000000 --- a/gnu/packages/patches/python-jedi-sort-project-test.patch +++ /dev/null @@ -1,18 +0,0 @@ -Sort the result of file system traversal to avoid test failure on different -file systems. - -Taken from upstream: -https://github.com/davidhalter/jedi/commit/7ff76bb7d0d94514e17cd1647f4ffaf533dd55f5 - -diff --git a/test/test_api/test_project.py b/test/test_api/test_project.py ---- a/test/test_api/test_project.py -+++ b/test/test_api/test_project.py -@@ -135,7 +135,7 @@ def test_search(string, full_names, kwargs, skip_pre_python36): - defs = project.complete_search(string, **kwargs) - else: - defs = project.search(string, **kwargs) -- assert [('stub:' if d.is_stub() else '') + d.full_name for d in defs] == full_names -+ assert sorted([('stub:' if d.is_stub() else '') + d.full_name for d in defs]) == full_names - - - @pytest.mark.parametrize( diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 42bb160a75..3aebff078b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12607,27 +12607,17 @@ characters, mouse support, and auto suggestions.") (define-public python-jedi (package (name "python-jedi") - (version "0.17.0") + (version "0.17.2") (source (origin (method url-fetch) (uri (pypi-uri "jedi" version)) - (patches (search-patches "python-jedi-sort-project-test.patch")) (sha256 - (base32 - "0c1h9x3a9klvk2g288wl328x8xgzw7136k6vs9hkd56b85vcjh6z")))) + (base32 "080xyf97ifabdz7jp8clg00b8zv5g33fva1fb2xf80q6fndpvvc6")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-before 'check 'adjust-test-for-python-3.8 - (lambda _ - ;; Mimic upstream commit e7feeef64 to allow for extra output lines - ;; in TestSetupReadline on Python 3.8. Remove for jedi > 0.17.0. - (substitute* "test/test_utils.py" - (("assert len\\(difference\\) < 20") - "assert len(difference) < 22")) - #t)) (replace 'check (lambda _ (setenv "HOME" "/tmp") -- cgit v1.2.3 From 3d320ae1af61ad7e3a520e50b67d5ef836ba865d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2020 23:34:34 +0200 Subject: gnu: python2-ttystatus: Don't use unstable tarball. * gnu/packages/python-xyz.scm (python2-ttystatus)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/python-xyz.scm | 12 ++++++------ 1 file changed, 6 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 3aebff078b..38765904b3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14275,13 +14275,13 @@ iterating over input files.") (version "0.36") (source (origin - (method url-fetch) - (uri (string-append - "http://git.liw.fi/cgi-bin/cgit/cgit.cgi/ttystatus/snapshot/ttystatus-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "http://git.liw.fi/ttystatus") + (commit (string-append "ttystatus-" version)))) (sha256 - (base32 - "06mdk4d19zw2j3is54gndhzl396g3xc8k52m7i86z69s9hcz71by")))) + (base32 "1vwr086yi5wky1zc7jqq49fl8yvzqnp9a7rrg67arc55j4awsn5l")) + (file-name (git-file-name name version)))) (build-system python-build-system) (native-inputs `(("python2-coverage-test-runner" ,python2-coverage-test-runner) -- cgit v1.2.3 From ad4ee037fd334ddd0a6b69498743e02fea6385f9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 27 Jul 2020 23:34:54 +0200 Subject: gnu: python-parso: Update to 0.7.1. * gnu/packages/python-xyz.scm (python-parso): Update to 0.7.1. --- 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 38765904b3..9b08cd9736 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17108,14 +17108,13 @@ time-based (TOTP) passwords.") (define-public python-parso (package (name "python-parso") - (version "0.7.0") + (version "0.7.1") (source (origin (method url-fetch) (uri (pypi-uri "parso" version)) (sha256 - (base32 - "0b7irps2dqmzq41sxbpvxbivhh1x2hwmbqp45bbpd82446p9z3lh")))) + (base32 "1f9fc99mjx0h2ad4mgsid728nnmw58hvnq3411g8ljlr9dr49fna")))) (native-inputs `(("python-pytest" ,python-pytest))) (build-system python-build-system) -- cgit v1.2.3 From f43458d70a149f78d25aaf0f9362129ecfc1048a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 28 Jul 2020 01:34:57 +0200 Subject: gnu: python2-ttystatus: Update to 0.38. * gnu/packages/python-xyz.scm (python2-ttystatus): Update to 0.38. --- gnu/packages/python-xyz.scm | 7 ++++--- 1 file changed, 4 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 9b08cd9736..8e59ef0fd6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14272,15 +14272,16 @@ iterating over input files.") (define-public python2-ttystatus (package (name "python2-ttystatus") - (version "0.36") + (version "0.38") (source (origin (method git-fetch) (uri (git-reference (url "http://git.liw.fi/ttystatus") - (commit (string-append "ttystatus-" version)))) + ;; There are no tags after ttystatus-0.36. + (commit "e9fc573326c5d1348f5fe56263b4f7a8c32f58c9"))) (sha256 - (base32 "1vwr086yi5wky1zc7jqq49fl8yvzqnp9a7rrg67arc55j4awsn5l")) + (base32 "0v49q839nrwdm19c83wfmj6n2kw80xslwq9k0n5509r2h7wzjiqj")) (file-name (git-file-name name version)))) (build-system python-build-system) (native-inputs -- cgit v1.2.3 From 48a17846fa8fe201eec005ab04635cfe7a862f15 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 27 Jul 2020 11:44:04 -0300 Subject: gnu: Add python-libsass. * gnu/packages/python-xyz.scm (python-libsass): New variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/python-xyz.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8e59ef0fd6..c487fd425f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8748,6 +8748,50 @@ specification.") (define-public python2-idna (package-with-python2 python-idna)) +(define-public python-libsass + (package + (name "python-libsass") + (version "0.20.0") + (source + (origin + ;; PyPI tarball is missing some test files. + (method git-fetch) + (uri (git-reference + (url "https://github.com/sass/libsass-python") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0h9rj4k9izkfdvli8ip72bbvh6a7bvrv5pxz6zay2bq235gpfgfc")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Use Guix package of libsass instead of compiling from a checkout. + (add-before 'build 'set-libsass + (lambda _ + (setenv "SYSTEM_SASS" (assoc-ref %build-inputs "libsass")) + #t)) + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "sasstests.py" "-k" + ;; See https://github.com/sass/libsass/issues/3092. + ;; This test may work in a future release of libsass. + "not test_stack_trace_formatting")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-werkzeug" ,python-werkzeug))) + (inputs + `(("libsass" ,libsass))) + (propagated-inputs + `(("python-six" ,python-six))) + (home-page "https://sass.github.io/libsass-python/") + (synopsis "Straightforward binding of libsass for Python") + (description + "This package provides a simple Python extension module @code{sass} which +is binding LibSass.") + (license license:expat))) + (define-public python-idna-ssl (package (name "python-idna-ssl") -- cgit v1.2.3 From 9f665a14822509bda2dc90e3632ce3d2abc05fa1 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 29 Jul 2020 11:18:43 +0300 Subject: gnu: python-twine: Update to 1.15.0. * gnu/packages/python-xyz.scm (python-twine): Update to 1.15.0. [propagated-inputs]: Add python-packaging, python-readme-renderer. --- gnu/packages/python-xyz.scm | 7 ++++--- 1 file changed, 4 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 c487fd425f..4e73a2a5d7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15952,18 +15952,19 @@ created by running @code{python setup.py develop}).") (define-public python-twine (package (name "python-twine") - (version "1.9.1") + (version "1.15.0") (source (origin (method url-fetch) (uri (pypi-uri "twine" version)) (sha256 - (base32 - "1ay1b6kdq6k4bfbjsvf6ymj41wrgpvinhxndb09355pwhxwmp96a")))) + (base32 "11rpd653zcgzkq3sgwkzs3mpxl3r5rij59745ni84ikv8smjmlm3")))) (build-system python-build-system) (propagated-inputs `(("python-tqdm" ,python-tqdm) + ("python-packaging" ,python-packaging) ("python-pkginfo" ,python-pkginfo) + ("python-readme-renderer" ,python-readme-renderer) ("python-requests" ,python-requests) ("python-requests-toolbelt" ,python-requests-toolbelt))) (home-page "https://github.com/pypa/twine") -- cgit v1.2.3 From e6b2552a96b328d81f681c2ae17c54a795ab2547 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 29 Jul 2020 11:23:38 +0300 Subject: gnu: python-rfc3986: Update to 1.4.0. * gnu/packages/python-xyz.scm (python-rfc3986): Update to 1.4.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 4e73a2a5d7..2613ca46b7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15291,13 +15291,13 @@ applying JSON Patches according to RFC 6902.") (define-public python-rfc3986 (package (name "python-rfc3986") - (version "1.1.0") + (version "1.4.0") (source (origin (method url-fetch) (uri (pypi-uri "rfc3986" version)) (sha256 (base32 - "06wlmysw83f75ff84zr1yr6n0shvc2xn1n1sb4iwzqap9hf5fn44")))) + "17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi")))) (build-system python-build-system) (arguments `(#:modules ((guix build utils) -- cgit v1.2.3 From 97554fb9ab181b50342df2b5a4f590f18510302f Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 10:00:44 +0200 Subject: gnu: Add python-typing-inspect. * gnu/packages/python-xyz.scm (python-typing-inspect): New variable. Signed-off-by: Marius Bakke --- 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 2613ca46b7..4f78f69c8e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12341,6 +12341,27 @@ 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-typing-inspect + (package + (name "python-typing-inspect") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "typing_inspect" version)) + (sha256 + (base32 + "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg")))) + (build-system python-build-system) + (propagated-inputs + `(("python-mypy-extensions" ,python-mypy-extensions) + ("python-typing-extensions" ,python-typing-extensions))) + (home-page "https://github.com/ilevkivskyi/typing_inspect") + (synopsis "API for inspection of types in the Python @code{typing} module") + (description + "The @code{typing_inspect} module defines experimental API for runtime +inspection of types defined in the Python standard typing module.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- cgit v1.2.3 From 2f60db668a8e22b7c535b67e3f6f06c270cd2a69 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 10:00:46 +0200 Subject: gnu: Add python-libcst. * gnu/packages/python-xyz.scm (python-libcst): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4f78f69c8e..5429982c8c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12341,6 +12341,63 @@ 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-libcst + (package + (name "python-libcst") + (version "0.3.8") + (source (origin + (method url-fetch) + (uri (pypi-uri "libcst" version)) + (sha256 + (base32 + "05zsc61gsd2pyb6wiyh58zczndxi6rm4d2jl94rpf5cv1fzw6ks8")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-failing-tests + (lambda _ + ;; Reported upstream: . + (delete-file "libcst/tests/test_fuzz.py") + ;; Reported upstream: . + (delete-file "libcst/tests/test_pyre_integration.py") + (delete-file "libcst/codemod/tests/test_codemod_cli.py") + (delete-file "libcst/metadata/tests/test_full_repo_manager.py") + (delete-file "libcst/metadata/tests/test_type_inference_provider.py") + #t)) + (add-before 'check 'generate-test-data + (lambda _ + (setenv "PYTHONPATH" (string-append (getcwd) ":" (getenv "PYTHONPATH"))) + (invoke "python" "-m" "libcst.codegen.generate" "visitors") + (invoke "python" "-m" "libcst.codegen.generate" "return_types"))) + (replace 'check + (lambda _ + (invoke "python" "-m" "unittest") + #t))))) + (native-inputs + `(("python-black" ,python-black) + ("python-isort" ,python-isort))) + (propagated-inputs + `(("python-typing-extensions" ,python-typing-extensions) + ("python-typing-inspect" ,python-typing-inspect) + ("python-pyyaml" ,python-pyyaml))) + (home-page "https://github.com/Instagram/LibCST") + (synopsis "Concrete Syntax Tree (CST) parser and serializer library for Python") + (description + "LibCST parses Python source code as a CST tree that keeps all +formatting details (comments, whitespaces, parentheses, etc). It's useful +for building automated refactoring (codemod) applications and linters. +LibCST creates a compromise between an Abstract Syntax Tree (AST) and +a traditional Concrete Syntax Tree (CST). By carefully reorganizing and +naming node types and fields, LibCST creates a lossless CST that looks and +feels like an AST.") + (license (list license:expat + ;; Some files unde libcst/_parser/ are under Python Software + ;; Foundation license (see LICENSE file for details) + license:psfl + ;; libcst/_add_slots.py + license:asl2.0)))) + (define-public python-typing-inspect (package (name "python-typing-inspect") -- cgit v1.2.3 From 882979023e1a4f83ee7df8b576c39ea50e5d8c00 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 10:00:47 +0200 Subject: gnu: Add python-lark-parser. * gnu/packages/python-xyz.scm (python-lark-parser): New variable. Signed-off-by: Marius Bakke --- 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 5429982c8c..b54b6538dc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12341,6 +12341,26 @@ 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-lark-parser + (package + (name "python-lark-parser") + (version "0.9.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "lark-parser" version)) + (sha256 + (base32 + "1kd61asrb3h9spgsj4bslfbgp8q4271sw3hblk6f2vbbblv8jxcy")))) + (build-system python-build-system) + (home-page "https://github.com/lark-parser/lark") + (synopsis "Multi-language parser for Python") + (description + "Lark is a parser built with a focus on ergonomics, performance and +resilience. Lark can parse all context-free languages. That means it is +capable of parsing almost any programming language out there, and to +some degree most natural languages too.") + (license license:expat))) + (define-public python-libcst (package (name "python-libcst") -- cgit v1.2.3 From 5eebb4f41b00b1092e817046c1b1a665f298aa4b Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 10:00:49 +0200 Subject: gnu: Add python-flake8-bugbear. * gnu/packages/python-xyz.scm (python-flake8-bugbear): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b54b6538dc..65541994fe 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7910,6 +7910,42 @@ complexity of Python source code.") ("python-pyflakes" ,python-pyflakes-1.2) ("python-mccabe" ,python-mccabe))))) +(define-public python-flake8-bugbear + (package + (name "python-flake8-bugbear") + (version "20.1.4") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-bugbear" version)) + (sha256 + (base32 + "0qiihb242fygzyrfynq913ak7cdmx8mcac9c0zk3y5gv16qf80mx")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-before 'check 'disable-test + (lambda _ + ;; This test fails on slow computers. + (substitute* "tests/test_bugbear.py" + (("def test_does_not_crash_on_any_valid_code") + "def _test_does_not_crash_on_any_valid_code"))))))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-hypothesmith" ,python-hypothesmith))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8))) + (home-page "https://github.com/PyCQA/flake8-bugbear") + (synopsis + "Flake8 plugin for finding likely bugs and design problems in your program") + (description + "This package contains a plugin for Flake8 finding likely bugs and +design problems in your program. It contains warnings that don't belong +in pyflakes and pycodestyle.") + (license license:expat))) + (define-public python-flake8-polyfill (package (name "python-flake8-polyfill") -- cgit v1.2.3 From 4c12b09ecdb7eaa6f8af7111a105e9ac21d22e37 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 10:00:50 +0200 Subject: gnu: Add python-flake8-pyi. * gnu/packages/python-xyz.scm (python-flake8-pyi): New variable. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 65541994fe..0050427247 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7989,6 +7989,36 @@ plugins that intend to support Flake8 2.x and 3.x simultaneously.") (define-public python2-flake8-polyfill (package-with-python2 python-flake8-polyfill)) +(define-public python-flake8-pyi + (package + (name "python-flake8-pyi") + (version "20.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "flake8-pyi" version)) + (sha256 + (base32 + "1zpq4s9kp8w95pccmhhyyx1ff2zhnidcf1zb3xs46lzcx9plvnzk")))) + (build-system python-build-system) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-flake8" ,python-flake8) + ("python-pyflakes" ,python-pyflakes))) + (home-page "https://github.com/ambv/flake8-pyi") + (synopsis + "Flake8 plugin that provides specializations for type hinting stub files") + (description + "This package contains a plugin that provides specializations for +type hinting stub files, especially interesting for linting typeshed. It +adds the @file{.pyi} extension to the default value of the @code{--filename} +command-line argument to Flake8. This means stubs are linted by default with +this plugin enabled, without needing to explicitly list every file. It +modifies PyFlakes runs for @file{.pyi} files to defer checking type annotation +expressions after the entire file has been read. This enables support for +first-class forward references that stub files use.") + (license license:expat))) + (define-public python-mistune (package (name "python-mistune") -- cgit v1.2.3 From 4f0f00d757181d43eb233c2110fc984247c0904b Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 27 Jul 2020 22:08:18 +0200 Subject: gnu: python-cookiecutter: Update to 1.7.2. * gnu/packages/python-xyz.scm (python-cookiecutter): Update to 1.7.2. [propagated-inputs]: Add python-slugify, python-text-unidecode. [home-page]: Update URL. Signed-off-by: Marius Bakke --- gnu/packages/python-xyz.scm | 8 +++++--- 1 file changed, 5 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 0050427247..0b33fb3a4c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10656,14 +10656,14 @@ designed to work across multiple versions of Python.") (define-public python-cookiecutter (package (name "python-cookiecutter") - (version "1.6.0") + (version "1.7.2") (source (origin (method url-fetch) (uri (pypi-uri "cookiecutter" version)) (sha256 (base32 - "0glsvaz8igi2wy1hsnhm9fkn6560vdvdixzvkq6dn20z3hpaa5hk")))) + "1b2xa5dypk1vf8aq599fd8zw4y0pwvq3hgl7ia8aiv8gg3ab5dpg")))) (build-system python-build-system) (native-inputs `(("python-freezegun" ,python-freezegun) @@ -10679,8 +10679,10 @@ designed to work across multiple versions of Python.") ("python-jinja2-time" ,python-jinja2-time) ("python-poyo" ,python-poyo) ("python-requests" ,python-requests) + ("python-slugify" ,python-slugify) + ("python-text-unidecode" ,python-text-unidecode) ("python-whichcraft" ,python-whichcraft))) - (home-page "https://github.com/audreyr/cookiecutter") + (home-page "https://github.com/cookiecutter/cookiecutter") (synopsis "Command-line utility that creates projects from project templates") (description -- cgit v1.2.3 From 39386de24439c81f1a7c683ae8c5dd1c5f24e09e Mon Sep 17 00:00:00 2001 From: Michael Rohleder Date: Thu, 30 Jul 2020 09:32:18 +0200 Subject: gnu: python2-setproctitle: Fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python2-setproctitle): Don't pass ‘--embed’ to python-config. Signed-off-by: Tobias Geerinckx-Rice --- 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 0b33fb3a4c..a5c2e60ce4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13529,9 +13529,9 @@ English stemmer.") (replace 'check (lambda _ (setenv "PYTHON" (or (which "python3") (which "python"))) - (setenv "PYCONFIG" (string-append (or (which "python3-config") - (which "python-config")) - " --embed")) + (setenv "PYCONFIG" (if (which "python3-config") + "python3-config --embed" + "python-config")) (setenv "CC" "gcc") ;; No need to extend PYTHONPATH to find the built package, since ;; the Makefile will build anyway -- cgit v1.2.3 From 74e9c31a1080f9d40efdcda4cbb450b88e4d1cfd Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Tue, 28 Jul 2020 11:28:16 +0200 Subject: gnu: Add python-crashtest. * gnu/packages/python-xyz.scm (python-crashtest): New public variable. Signed-off-by: Oleg Pykhalov --- gnu/packages/python-xyz.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a5c2e60ce4..d4d507b697 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8173,6 +8173,24 @@ output.") (define-public python2-cram (package-with-python2 python-cram)) +(define-public python-crashtest + (package + (name "python-crashtest") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "crashtest" version)) + (sha256 + (base32 + "056zzbznl3xfnbblfci8lvcam3h7k7va68vi6asrm4q0ck4nrh79")))) + (build-system python-build-system) + (home-page "https://github.com/sdispater/crashtest") + (synopsis "Manage Python errors with ease") + (description + "Python library that makes exceptions handling and inspection easier.") + (license license:expat))) + (define-public python-straight-plugin (package (name "python-straight-plugin") -- cgit v1.2.3 From fbbd536c5b6aefdf45a2f05bfd776e4d3c558afd Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Tue, 28 Jul 2020 11:28:17 +0200 Subject: gnu: python-clikit: Update to 0.6.2. * gnu/packages/python-xyz.scm (python-clikit): Update to 0.6.2. [arguments] Explicitly disable tests. [propagated-inputs]: Add python-crashtest. Signed-off-by: Oleg Pykhalov --- gnu/packages/python-xyz.scm | 8 +++++--- 1 file changed, 5 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 d4d507b697..4a16dfe985 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12292,17 +12292,19 @@ more, possibly remote, memcached servers.") (define-public python-clikit (package (name "python-clikit") - (version "0.4.2") + (version "0.6.2") (source (origin (method url-fetch) (uri (pypi-uri "clikit" version)) (sha256 (base32 - "1jnnr21hvzx4i29nbph1z96ympv0njiwyvngjq48w1q05133cwzn")))) + "0ngdkmb73gkp5y00q7r9k1cdlfn0wyzws2wrqlshc4hlkbdyabj4")))) (build-system python-build-system) + (arguments '(#:tests? #f)) ; no test in the PyPI tarball (propagated-inputs - `(("python-pastel" ,python-pastel) + `(("python-crashtest" ,python-crashtest) + ("python-pastel" ,python-pastel) ("python-pylev" ,python-pylev))) (home-page "https://github.com/sdispater/clikit") (synopsis "Group of utilities to build command line interfaces") -- cgit v1.2.3 From 636d573b7496d2b03670dd9db98b464141761fc6 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 30 Jul 2020 14:29:13 +0200 Subject: gnu: python-mamba: Update to 0.11.1. * gnu/packages/python-xyz.scm (python-mamba): Update to 0.11.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 4a16dfe985..a7c9049e09 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14783,13 +14783,13 @@ in other versions.") (define-public python-mamba (package (name "python-mamba") - (version "0.11.0") + (version "0.11.1") (source (origin (method url-fetch) (uri (pypi-uri "mamba" version)) (sha256 (base32 - "0bpbgz9v63rpanjjpc8bnvrr8fkms5rzylh77xrcki1x6az7gnsz")))) + "1jxy3bva94ac02a0wjsms79rp5104zmalxh8rhqqg6mw95cp6xpr")))) (build-system python-build-system) (arguments `(#:tests? #f)) ; No test (propagated-inputs -- cgit v1.2.3 From 1619d350a354bb6c04a34baa5bf4a2ac29a5ebe5 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 31 Jul 2020 10:38:02 -0300 Subject: gnu: Add python-wurlitzer. * gnu/packages/python-xyz.scm (python-wurlitzer): New 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 a7c9049e09..9ab0b12383 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5031,6 +5031,34 @@ operators such as union, intersection, and difference.") (define-public python2-pysnptools (package-with-python2 python-pysnptools)) +(define-public python-wurlitzer + (package + (name "python-wurlitzer") + (version "2.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "wurlitzer" version)) + (sha256 + (base32 "0hvmbc41kdwrjns8z1s4a59a4azdvzb8q3vs7nn1li4qm4l0g3yh")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "test.py")))))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest))) + (home-page "https://github.com/minrk/wurlitzer") + (synopsis "Capture C-level output in context managers") + (description + "This library helps to redirect @code{sys.stdout} to a stream or a file +while executing some piece of code, including C code running within a Python +process.") + (license license:expat))) + (define-public python-socksipy-branch (package (name "python-socksipy-branch") -- cgit v1.2.3 From 993391c0e129606050045abef4617149fd353568 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Fri, 31 Jul 2020 13:44:40 +0200 Subject: gnu: python-cleo: Update to 0.8.1. * gnu/packages/python-xyz.scm (python-cleo): Update to 0.8.1. Signed-off-by: Kei Kebreau --- 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 9ab0b12383..d3e916c5dd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12214,13 +12214,13 @@ Wikipedia code samples at (define-public python-cleo (package (name "python-cleo") - (version "0.7.6") + (version "0.8.1") (source (origin (method url-fetch) (uri (pypi-uri "cleo" version)) (sha256 (base32 - "02dlc0rn43zgvw0s5v4j80bca9n1jfpwy3r78gn9qjgk0qj39kwr")))) + "17q6wi3q280kxmxzb2iwnnqih2xbljn18v0bjx2ip18p079j43ix")))) (build-system python-build-system) (native-inputs `( ;; For testing -- cgit v1.2.3 From fc45f2fcf8c1cd19fa162d5c8fd43956f442f11d Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Fri, 31 Jul 2020 13:44:41 +0200 Subject: gnu: poetry: Fix problems with some dependencies. * gnu/packages/python-xyz.scm (poetry) [arguments]: Modify the required versions of python-tomlkit, python-clikit and python-cleo. Signed-off-by: Kei Kebreau --- gnu/packages/python-xyz.scm | 7 ++++++- 1 file changed, 6 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 d3e916c5dd..48e612acd1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12430,7 +12430,12 @@ database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") (substitute* "setup.py" ;; poetry won't update version as 21.0.0 relies on python > 3.6 (("keyring>=20.0.1,<21.0.0") "keyring>=21.0.0,<22.0.0") - (("pyrsistent>=0.14.2,<0.15.0") "pyrsistent>=0.14.2,<0.17.0")) + (("pyrsistent>=0.14.2,<0.15.0") "pyrsistent>=0.14.2,<0.17.0") + ;; Reported upstream: + ;; . + (("tomlkit>=0.5.11,<0.6.0") "tomlkit>=0.5.11,<0.7.0") + (("cleo>=0.7.6,<0.8.0") "cleo>=0.7.6,<0.9.0") + (("clikit>=0.4.2,<0.5.0") "clikit>=0.4.2,<0.7.0")) #t))))) (propagated-inputs `(("python-cachecontrol" ,python-cachecontrol) -- cgit v1.2.3 From 647bbd9e9a95b2d4c1ef3d833c4329ebf6141861 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 5 Aug 2020 12:33:15 -0300 Subject: gnu: Add python-immutables. * gnu/packages/python-xyz.scm (python-immutables): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 48e612acd1..a86056e034 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8551,6 +8551,25 @@ Unicode-aware. It is not intended as an end-user tool.") (define-public python2-xlrd (package-with-python2 python-xlrd)) +(define-public python-immutables + (package + (name "python-immutables") + (version "0.14") + (source + (origin + (method url-fetch) + (uri (pypi-uri "immutables" version)) + (sha256 + (base32 "0y0aqw29g525frdnmv9paljzacpp4s21sadfbca5b137iciwr8d0")))) + (build-system python-build-system) + (home-page "https://github.com/MagicStack/immutables") + (synopsis "High-performance immutable mapping type for Python") + (description + "An immutable mapping type for Python. The underlying datastructure is a +Hash Array Mapped Trie (HAMT) used in Clojure, Scala, Haskell, and other +functional languages.") + (license license:asl2.0))) + (define-public python-prettytable (package (name "python-prettytable") -- cgit v1.2.3 From ce3ce4f7cd78ec8cc574692f69f8b56396539a77 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 5 Aug 2020 12:33:16 -0300 Subject: gnu: Add python-curio. * gnu/packages/python-xyz.scm (python-curio): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a86056e034..0128e27b8a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8594,6 +8594,36 @@ printing of sub-tables by specifying a row range.") (define-public python2-prettytable (package-with-python2 python-prettytable)) +(define-public python-curio + (package + (name "python-curio") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "curio" version)) + (sha256 + (base32 "16wkww6kh511b9bzsfhpvrv0766cc6ssgbzz4lgpjnrzzgx21wwh")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "-k" + ;; Tries to open an outgoing connection. + "not test_ssl_outgoing")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/dabeaz/curio") + (synopsis "Coroutine-based library for concurrent Python") + (description + "Curio is a coroutine-based library for concurrent Python systems +programming. It provides standard programming abstractions such as as +tasks, sockets, files, locks, and queues.") + (license license:bsd-3))) + (define-public python-tables (package (name "python-tables") -- cgit v1.2.3 From 509bd7a75fd75549c5c685f4d7d41a78eddb003e Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Wed, 5 Aug 2020 12:33:17 -0300 Subject: gnu: Add python-sniffio. * gnu/packages/python-xyz.scm (python-sniffio): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0128e27b8a..9e2296457d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8696,6 +8696,35 @@ designed to efficiently cope with extremely large amounts of data.") (define-public python2-tables (package-with-python2 python-tables)) +(define-public python-sniffio + (package + (name "python-sniffio") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sniffio" version)) + (sha256 + (base32 "08bsp2pp2dxzn9yzcafwzw8jlm0jf50as0ix8vfhxzk91w810f4f")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-curio" ,python-curio) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/python-trio/sniffio") + (synopsis "Detect which async library a program is running under") + (description "This package detects which async library a program is +running under. It supports multiple async I/O packages, like Trio, and +asyncio.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-pytest-black (package (name "python-pytest-black") -- cgit v1.2.3 From 7c2b6eb11b30f305ada57b8f43ada4716c1754f7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 7 Aug 2020 16:07:43 +0300 Subject: gnu: python-lazy-object-proxy: Update to 1.5.1. * gnu/packages/python-xyz.scm (python-lazy-object-proxy): Update to 1.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 9e2296457d..89f6a898f3 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12641,13 +12641,13 @@ inspection of types defined in the Python standard typing module.") (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") - (version "1.4.3") + (version "1.5.1") (source (origin (method url-fetch) (uri (pypi-uri "lazy-object-proxy" version)) (sha256 (base32 - "1w1aaay424ciz8fz3fkzxb0pxzfxn184f2whpyn4fx72bn50x47k")))) + "0hwh29m9wa582ramj30p4pysckdrmki1z1b8iaaxk6mpfx2kc8wp")))) (native-inputs `(("python-setuptools-scm" ,python-setuptools-scm))) (build-system python-build-system) -- cgit v1.2.3 From 3f0d604093428a6422ce236181a4ba53f3607d46 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 7 Aug 2020 16:10:42 +0300 Subject: gnu: python-astroid: Update to 2.4.2. * gnu/packages/python-xyz.scm (python-astroid): Update to 2.4.2. [source]: Add snippet to loosen version requirements of dependants. --- gnu/packages/python-xyz.scm | 11 +++++++++-- 1 file changed, 9 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 89f6a898f3..5daf0cf657 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14721,13 +14721,20 @@ clone, while other processes access the original tree.") (define-public python-astroid (package (name "python-astroid") - (version "2.4.1") + (version "2.4.2") (source (origin (method url-fetch) (uri (pypi-uri "astroid" version)) (sha256 - (base32 "1h99jal7ax07xna1djw5z7hpgb8vjrl3hrrg49p1phljwniww5sc")))) + (base32 "00xp5gqxidxvgg1bwd91myqzdf2fpb9cjwbdl3p7gwqvlk17hh1g")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Check to see if the version pinning has been removed. + (substitute* "astroid/__pkginfo__.py" + (("==1\\.4\\.\\*") ">=1.4.0")) + #t)))) (build-system python-build-system) (propagated-inputs `(("python-lazy-object-proxy" ,python-lazy-object-proxy) -- cgit v1.2.3 From 8e6344a5fb22e2614dcb0db8e24658e63c6121c7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 8 Aug 2020 23:45:57 +0300 Subject: gnu: Add python-pep517. * gnu/packages/python-xyz.scm (python-pep517): New variable. --- gnu/packages/python-xyz.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5daf0cf657..f4ae9df829 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7757,6 +7757,55 @@ PEP 8.") (define-public python2-pep8 (package-with-python2 python-pep8)) +(define-public python-pep517 + (package + (name "python-pep517") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pep517" version)) + (sha256 + (base32 + "17m2bcabx3sr5wjalgzppfx5xahqrwm12zq58h68mm482b7rjqcf")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (delete-file "pytest.ini") + ;; This test tries to connect to the internet + (delete-file "tests/test_meta.py") + (if tests? + (invoke "pytest") + #t)))))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-pytest" ,python-pytest) + ("python-testpath" ,python-testpath))) + (propagated-inputs + `(("python-toml" ,python-toml) + ("python-wheel" ,python-wheel))) + (home-page "https://github.com/pypa/pep517") + (synopsis "Wrappers to build Python packages using PEP 517 hooks") + (description + "Wrappers to build Python packages using PEP 517 hooks.") + (properties `((python2-variant . ,(delay python2-pep517)))) + (license license:expat))) + +;; Skip the tests so we don't create a cyclical dependency with pytest. +(define-public python2-pep517 + (let ((base (package-with-python2 + (strip-python2-variant python-pep517)))) + (package + (inherit base) + (name "python2-pep517") + (arguments + `(#:tests? #f + ,@(package-arguments base))) + (native-inputs `())))) + (define-public python-pyflakes (package (name "python-pyflakes") -- cgit v1.2.3 From 7d7ad3c946897014cc1ccb7094382b21a8f7b45c Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 7 Aug 2020 10:24:13 -0300 Subject: gnu: Add python-outcome. * gnu/packages/python-xyz.scm (python-outcome): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f4ae9df829..58f9d2cc1e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18990,6 +18990,39 @@ easy-to-extend subclass system, and lots of primitive constructs to make your work easier.") (license license:expat))) +(define-public python-outcome + (package + (name "python-outcome") + (version "1.0.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "outcome" version)) + (sha256 + (base32 "0vxn04vspmlkkyijjkjnsc46f93ki8g62hr7ag10zpd7ic324y7w")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-asyncio" ,python-pytest-asyncio))) + (propagated-inputs + `(("python-async-generator" ,python-async-generator) + ("python-attrs" ,python-attrs))) + (home-page "https://github.com/python-trio/outcome") + (synopsis "Capture the outcome of Python function calls") + (description + "Capture the outcome of Python function calls. Extracted from the Trio +project.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-humanize (package (name "python-humanize") -- cgit v1.2.3 From deca924aa5dafc84a5da1693a0bf494bdbae44c7 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Fri, 7 Aug 2020 10:24:15 -0300 Subject: gnu: Add python-trio. * gnu/packages/python-xyz.scm (python-trio): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/python-xyz.scm | 62 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 58f9d2cc1e..4026d13f2d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19023,6 +19023,68 @@ project.") ;; Either license applies. (license (list license:expat license:asl2.0)))) +(define-public python-trio + (package + (name "python-trio") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trio" version)) + (sha256 + (base32 "0g6gkwz6i05rm9ym4l4imxakzld7qcgxhb21kprilchcav87s1nz")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'change-home + (lambda _ + ;; Tests require a writable home. + (setenv "HOME" "/tmp") + #t)) + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "-k" + (string-append + ;; This test times out. + "not test_ki_protection_works" + ;; Assertion errors. + " and not test_guest_mode_ki" + " and not test_run_in_trio_thread_ki" + ;; These try to raise KeyboardInterrupt which does not work + ;; in the build environment. + " and not test_ki_self" + " and not test_ki_wakes_us_up" + ;; Failure in name resolution. + " and not test_getnameinfo" + " and not test_SocketType_resolve" + ;; OSError: protocol not found. + " and not test_getprotobyname"))))))) + (native-inputs + `(("python-astor" ,python-astor) + ("python-ipython" ,python-ipython) + ("python-jedi" ,python-jedi) + ("python-pylint" ,python-pylint) + ("python-pyopenssl" ,python-pyopenssl) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-trustme" ,python-trustme))) + (propagated-inputs + `(("python-attrs" ,python-attrs) + ("python-idna" ,python-idna) + ("python-outcome" ,python-outcome) + ("python-sniffio" ,python-sniffio) + ("python-sortedcontainers" + ,python-sortedcontainers))) + (home-page "https://github.com/python-trio/trio") + (synopsis "Friendly Python library for async concurrency and I/O") + (description + "Trio strives to be a production-quality, async/await-native I/O library +for Python. Like all async libraries, its main purpose is to help you write +programs that do multiple things at the same time with parallelized I/O.") + ;; Either license applies. + (license (list license:expat license:asl2.0)))) + (define-public python-humanize (package (name "python-humanize") -- cgit v1.2.3 From 0f89ec799e391d9d2453a929bca7a2a906d3435f Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 10 Aug 2020 10:43:43 +0200 Subject: gnu: Add python-pydantic. * gnu/packages/python-xyz.scm (python-pydantic): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4026d13f2d..4102902465 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3820,6 +3820,43 @@ Language (TOML) configuration files.") "This package provides a JSON RPC 2.0 server library for Python.") (license license:expat))) +(define-public python-pydantic + (package + (name "python-pydantic") + (version "1.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/pydantic") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1380s9k77g6q15by9fkxndczjk89q6xpz09jdrqip535xws2z3j8")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + ;; Reported upstream: + ;; . + ;; Disable the faulty test as the fix is unclear. + (add-before 'check 'disable-test + (lambda _ + (substitute* "tests/test_validators.py" + (("test_assert_raises_validation_error") + "_test_assert_raises_validation_error")) + #t)) + (replace 'check + (lambda _ (invoke "pytest" "-vv" "tests")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/samuelcolvin/pydantic") + (synopsis "Python data validation and settings management") + (description + "Pydantic enforces type hints at runtime, and provides user friendly +errors when data is invalid.") + (license license:expat))) + (define-public python-pydocstyle (package (name "python-pydocstyle") -- cgit v1.2.3 From 5d6ff1e8282f31c3590d8dacfb90f175d7b16e72 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Mon, 10 Aug 2020 09:55:17 +0200 Subject: gnu: Add python-devtools. * gnu/packages/python-xyz.scm (python-devtools): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4102902465..50c36a1e03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21569,3 +21569,35 @@ and have a maximum lifetime built-in.") "This package contains a small collection of test tool plugins for @code{nose2} and @code{flake8}.") (license license:asl2.0))) + +(define-public python-devtools + (package + (name "python-devtools") + (version "0.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/python-devtools") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "15zczdcm90wl54c68f1qjb05nkd5bjsc9xjl3lk4frs7k7wkmrvp")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-mock" ,python-pytest-mock))) + (propagated-inputs + `(("python-pygments" ,python-pygments))) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest") + #t))))) + (home-page "https://github.com/samuelcolvin/python-devtools") + (synopsis "Debug command and development tools") + (description + "This package provides a debug print command and other development tools. +It adds a simple and readable way to print stuff during development.") + (license license:expat))) -- cgit v1.2.3 From c9ec3c0763c668807dec74c6049a63883bb3aaec Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 12 Aug 2020 23:35:08 +0200 Subject: gnu: python-pycosat: Update to 0.6.3. * gnu/packages/python-xyz.scm (python-pycosat): Update to 0.6.3. --- gnu/packages/python-xyz.scm | 8 +++++--- 1 file changed, 5 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 50c36a1e03..9d27a480df 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -14392,16 +14392,18 @@ through a Python API.") (define-public python-pycosat (package (name "python-pycosat") - (version "0.6.1") + (version "0.6.3") (source (origin (method url-fetch) - (uri (pypi-uri "pycosat" version)) + (uri (pypi-uri "pycosat" version ".zip")) (sha256 (base32 - "1kl3wh1f47rc712n4bmwplbx3fqz3x9i1b587jrbpmvdva4c8f6l")))) + "1vg0f2fwcybpdqv92z0hwdl603n2safh3fqvjjxkksd78r4qg6ac")))) ;; TODO: Unundle picosat. http://fmv.jku.at/picosat/ (build-system python-build-system) + (native-inputs + `(("unzip" ,unzip))) (home-page "https://github.com/ContinuumIO/pycosat") (synopsis "Bindings to picosat (a SAT solver)") (description -- cgit v1.2.3 From ca1e978586b327c9e09483549dc4ac7625c00852 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 04:51:10 +0200 Subject: gnu: python-aenum: Update to 2.2.4. * gnu/packages/python-xyz.scm (python-aenum): Update to 2.2.4. --- 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 9d27a480df..93107b20d2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -1177,14 +1177,13 @@ language. It aims to be fast.") (define-public python-aenum (package (name "python-aenum") - (version "2.2.3") + (version "2.2.4") (source (origin (method url-fetch) (uri (pypi-uri "aenum" version)) (sha256 - (base32 - "1s3008rklv4n1kvmq6xdbdfyrpl0gf1rhqasmd27s5kwyjmlqcx4")))) + (base32 "0r1812bjm72x73pl7y4yhffr4zbdjgxa08avsy4b3di0pqgqv0l1")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases -- cgit v1.2.3 From f1c294e0fa6d2bbd2d9cfb6a0a04e5ca7400ef60 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 13 Aug 2020 16:08:55 +0200 Subject: gnu: python-crashtest: Update to 0.3.1. * gnu/packages/python-xyz.scm (python-crashtest): Update to 0.3.1. --- 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 93107b20d2..caa91d0d2e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8289,14 +8289,13 @@ output.") (define-public python-crashtest (package (name "python-crashtest") - (version "0.3.0") + (version "0.3.1") (source (origin (method url-fetch) (uri (pypi-uri "crashtest" version)) (sha256 - (base32 - "056zzbznl3xfnbblfci8lvcam3h7k7va68vi6asrm4q0ck4nrh79")))) + (base32 "1p9p7mn8x2j9psc4jxab98897v4i9s4fliyfw8rp8v4bx1n7pjj2")))) (build-system python-build-system) (home-page "https://github.com/sdispater/crashtest") (synopsis "Manage Python errors with ease") -- cgit v1.2.3 From da4df2f9fba23e1489d951212df1b075f2820e05 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 14 Jul 2020 22:39:05 +0200 Subject: gnu: python-typing: Update to 3.7.4.3. * gnu/packages/python-xyz.scm (python-typing): Update to 3.7.4.3. --- 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 caa91d0d2e..e1b1729b43 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17217,14 +17217,13 @@ based on the CPython 2.7 and 3.7 parsers.") (define-public python-typing (package (name "python-typing") - (version "3.7.4.1") + (version "3.7.4.3") (source (origin (method url-fetch) (uri (pypi-uri "typing" version)) (sha256 - (base32 - "08xs7s5pyq99hbrzw23inczmidz90krvpv9q5p1qrvh6yzrydpwi")))) + (base32 "1j8wnz8c9s049w9xbf7ssr1dmgg4rz7vdfq7m880srzxhafgp1qi")))) (build-system python-build-system) (home-page "https://docs.python.org/3/library/typing.html") (synopsis "Type hints for Python") -- cgit v1.2.3 From 2183887ba90fc102684277721314d71c556e59c5 Mon Sep 17 00:00:00 2001 From: Hendursaga Date: Sat, 22 Aug 2020 15:19:01 +0000 Subject: gnu: Add dosage. * gnu/packages/python-xyz.scm (dosage): New variable. --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e1b1729b43..c62be2e8e4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -83,6 +83,7 @@ ;;; Copyright © 2020 Michael Rohleder ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Guy Fleury Iteriteka +;;; Copyright © 2020 Hendursaga ;;; ;;; This file is part of GNU Guix. ;;; @@ -1503,6 +1504,43 @@ files are easily readable and they work nicely with version control systems.") ;; "fnmatch.py" and "ini.py" are licensed under psfl, the rest is bsd-2. (license (list license:bsd-2 license:psfl)))) +(define-public dosage + (package + (name "dosage") + (version "2.17") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dosage" version)) + (sha256 + (base32 + "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0")))) + (build-system python-build-system) + (propagated-inputs + `(("python2-backports-functools-lru-cache" + ,python2-backports-functools-lru-cache) + ("python2-backports-shutil-get-terminal-size" + ,python2-backports-shutil-get-terminal-size) + ("python-cached-property" ,python-cached-property) + ("python-colorama" ,python-colorama) + ("python-imagesize" ,python-imagesize) + ("python-importlib-metadata" ,python-importlib-metadata) + ("python-lxml" ,python-lxml) + ("python-requests" ,python-requests) + ("python-six" ,python-six))) + (native-inputs + `(("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-xdist" ,python-pytest-xdist) + ("python-responses" ,python-responses) + ("python-setuptools-scm" ,python-setuptools-scm))) + (home-page "https://github.com/webcomics/dosage") + (synopsis "Comic strip downloader and archiver") + (description "Dosage is designed to keep a local copy of specific webcomics and other +picture-based content such as Picture of the Day sites. With the @command{dosage} +command-line script you can get the latest strip of a webcomic, catch-up to the last strip +downloaded, or download a strip for a particular date or index, if possible.") + (license license:expat))) + (define-public python-et-xmlfile (package (name "python-et-xmlfile") -- cgit v1.2.3 From 9b170887ce433bce412693fd12fd05d5916165df Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 24 Aug 2020 19:17:48 -0300 Subject: gnu: Add python-forex-python. * gnu/packages/python-xyz.scm (python-forex-python): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c62be2e8e4..7a0307f3ab 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9498,6 +9498,43 @@ functions to find and load entry points.") from elisp.") (license license:gpl3))) +(define-public python-forex-python + (package + (name "python-forex-python") + (version "1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "forex-python" version)) + (sha256 + (base32 "1ma8cl1i2dh8aa99pifnlilyy4d1gd1s07fj0yd17wcbpsh532cj")))) + (build-system python-build-system) + (arguments + ;; Tests are not included in the PyPI tarball. Also, the tests in the + ;; repository require online data. + `(#:tests? #f)) + (propagated-inputs + `(("python-requests" ,python-requests) + ("python-simplejson" ,python-simplejson))) + (home-page "https://github.com/MicroPyramid/forex-python") + (synopsis "Foreign exchange rates and currency conversion") + (description + "@code{python-forex-python} can be used to manipulate foreign +exchange rates and to operate currency conversions. + +Features: +@itemize +@item List all currency rates. +@item BitCoin price for all currencies. +@item Converting amount to BitCoins. +@item Get historical rates for any day since 1999. +@item Conversion rate for one currency(ex; USD to INR). +@item Convert amount from one currency to other.('USD 10$' to INR). +@item Currency symbols. +@item Currency names. +@end itemize") + (license license:expat))) + (define-public python-nbconvert (package (name "python-nbconvert") -- cgit v1.2.3 From 69e983300f7522af66381a4d41335b8c3d59f8ba Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 24 Aug 2020 19:20:15 -0300 Subject: gnu: Add python-simpleeval. * gnu/packages/python-xyz.scm (python-simpleeval): New 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 7a0307f3ab..6ddd253ed9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9535,6 +9535,27 @@ Features: @end itemize") (license license:expat))) +(define-public python-simpleeval + (package + (name "python-simpleeval") + (version "0.9.10") + (source + (origin + (method url-fetch) + (uri (pypi-uri "simpleeval" version)) + (sha256 + (base32 "1skvl467kj83rzkhk01i0wm8m5vmh6j5znrfdizn6r18ii45a839")))) + (build-system python-build-system) + (home-page "https://github.com/danthedeckie/simpleeval") + (synopsis "Simple, safe single expression evaluator library") + (description + "This package provides a quick single file library for easily adding +evaluatable expressions into python projects. Say you want to allow a user +to set an alarm volume, which could depend on the time of day, alarm level, +how many previous alarms had gone off, and if there is music playing at the +time.") + (license license:expat))) + (define-public python-nbconvert (package (name "python-nbconvert") -- cgit v1.2.3 From 5f9a9efb69e0b6e00b0e6e37a11fe0aa1b995f88 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Tue, 25 Aug 2020 19:37:31 +0200 Subject: gnu: Add python-pyparsing-2.4.7. * gnu/packages/python-xyz.scm (python-pyparsing-2.4.7): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ddd253ed9..0e5001427c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4654,6 +4654,17 @@ that client code uses to construct the grammar directly in Python code.") (define-public python2-pyparsing (package-with-python2 python-pyparsing)) +(define-public python-pyparsing-2.4.7 + (package + (inherit python-pyparsing) + (version "2.4.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyparsing" version)) + (sha256 + (base32 "1hgc8qrbq1ymxbwfbjghv01fm3fbpjwpjwi0bcailxxzhf3yq0y2")))))) + (define-public python-numpydoc (package (name "python-numpydoc") -- cgit v1.2.3 From f80b800dbecd4aca2ed5ee90bfc043a15c3058cc Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Tue, 25 Aug 2020 19:37:32 +0200 Subject: gnu: Add python-dateparser. * gnu/packages/python-xyz.scm (python-dateparser): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0e5001427c..e32d7771cf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21707,3 +21707,46 @@ and have a maximum lifetime built-in.") "This package provides a debug print command and other development tools. It adds a simple and readable way to print stuff during development.") (license license:expat))) + +(define-public python-dateparser + (package + (name "python-dateparser") + (version "0.7.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dateparser" version)) + (sha256 + (base32 + "1ypbyqxlk7n6zibk90js3ybz37xmin3kk0i35g8c51bwqpcfyxg8")))) + (build-system python-build-system) + (inputs + `(("tzdata" ,tzdata))) + (propagated-inputs + `(("python-dateutil" ,python-dateutil) + ("python-pytz" ,python-pytz) + ("python-regex" ,python-regex) + ("python-ruamel.yaml" ,python-ruamel.yaml) + ("python-tzlocal" ,python-tzlocal))) + (native-inputs + `(("python-mock" ,python-mock) + ("python-parameterized" ,python-parameterized))) + (arguments + `(;; TODO: Of 23320 tests, 6 fail and 53 error. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-before 'check 'set-check-environment + (lambda* (#:key inputs #:allow-other-keys) + (setenv "TZ" "UTC") + (setenv "TZDIR" + (string-append (assoc-ref inputs "tzdata") + "/share/zoneinfo")) + #t))))) + (home-page "https://github.com/scrapinghub/dateparser") + (synopsis + "Date parsing library designed to parse dates from HTML pages") + (description + "@code{python-dateparser} provides modules to easily parse localized +dates in almost any string formats commonly found on web pages.") + (license license:bsd-3))) -- cgit v1.2.3 From f2d70885c3e8b856d91b33801ba701a0038a0814 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 27 Aug 2020 16:41:14 +0200 Subject: gnu: Add python-dparse. * gnu/packages/python-xyz.scm (python-dparse): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e32d7771cf..26ee801419 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21750,3 +21750,26 @@ It adds a simple and readable way to print stuff during development.") "@code{python-dateparser} provides modules to easily parse localized dates in almost any string formats commonly found on web pages.") (license license:bsd-3))) + +(define-public python-dparse + (package + (name "python-dparse") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "dparse" version)) + (sha256 + (base32 + "0rzkg3nymsbwdjc0ms2bsajkda02jipwyp3xk97qj71f21lz3dd1")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-packaging" ,python-packaging) + ("python-pyyaml" ,python-pyyaml) + ("python-toml" ,python-toml))) + (home-page "https://github.com/pyupio/dparse") + (synopsis "Parser for Python dependency files") + (description "This package provides a parser for Python dependency files.") + (license license:expat))) -- cgit v1.2.3 From c849446b82c1c091bd521d8111349867bc45e622 Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Thu, 27 Aug 2020 16:41:15 +0200 Subject: gnu: Add python-safety. * gnu/packages/python-xyz.scm (python-safety): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 26ee801419..cd3b35832f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21773,3 +21773,35 @@ dates in almost any string formats commonly found on web pages.") (synopsis "Parser for Python dependency files") (description "This package provides a parser for Python dependency files.") (license license:expat))) + +(define-public python-safety + (package + (name "python-safety") + (version "1.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "safety" version)) + (sha256 + (base32 + "1j801xsxfzavjbzhhc934awvnk1b7jc0qsw3jp3ys0241mlj1gr3")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'disable-tests + (lambda _ + (substitute* "tests/test_safety.py" + ;; requires network + (("def test_check_live") "def _test_check_live")) + #t))))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-dparse" ,python-dparse) + ("python-packaging" ,python-packaging) + ("python-requests" ,python-requests))) + (home-page "https://github.com/pyupio/safety") + (synopsis "Check installed dependencies for known vulnerabilities") + (description "Safety checks installed dependencies for known vulnerabilities. +By default it uses the open Python vulnerability database Safety DB.") + (license license:expat))) -- cgit v1.2.3 From 1d99fca6c92e58a60c532e6aae5f5d070c286d38 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Fri, 28 Aug 2020 16:47:05 +0200 Subject: gnu: python-apache-libcloud: Update to 3.1.0. * gnu/packages/python-xyz.scm (python-apache-libcloud): Update to 3.1.0. [arguments]: Drop test patching, apparently corrected upstream. --- gnu/packages/python-xyz.scm | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd3b35832f..52c83a0402 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -16071,14 +16071,14 @@ validating Swagger API specifications.") (define-public python-apache-libcloud (package (name "python-apache-libcloud") - (version "2.4.0") + (version "3.1.0") (source (origin (method url-fetch) (uri (pypi-uri "apache-libcloud" version)) (sha256 (base32 - "0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j")))) + "1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v")))) (build-system python-build-system) (arguments `(#:phases @@ -16091,22 +16091,10 @@ validating Swagger API specifications.") #t)) (add-after 'unpack 'patch-tests (lambda _ - (substitute* "./libcloud/test/test_file_fixtures.py" - ;; See . - (("def _ascii") "def _raw_data(self, method, url, body, headers): - return (httplib.OK, - \"1234abcd\", - {\"test\": \"value\"}, - httplib.responses[httplib.OK]) - def _ascii")) (substitute* "libcloud/test/compute/test_ssh_client.py" (("class ShellOutSSHClientTests") "@unittest.skip(\"Guix container doesn't have ssh service\") -class ShellOutSSHClientTests") - ;; See . - (("'.xf0.x90.x8d.x88'") "b'\\xF0\\x90\\x8D\\x88'") - (("'.xF0', '.x90', '.x8D', '.x88'") - "b'\\xF0', b'\\x90', b'\\x8D', b'\\x88'")) +class ShellOutSSHClientTests")) #t)) (add-before 'check 'copy-secret (lambda _ -- cgit v1.2.3 From 2bf9cc5ea714185cc380bbe3bb6b3391bc26c9b1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Sep 2020 01:30:01 +0200 Subject: gnu: python-prompt-toolkit: Specify the correct Python 2 variant. * gnu/packages/python-xyz.scm (python-prompt-toolkit)[properties]: The Python-2 version of this package is version 2.x of this package. --- gnu/packages/python-xyz.scm | 6 ++++-- 1 file changed, 4 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 52c83a0402..1d99c19974 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13101,7 +13101,8 @@ interfaces in Python. It's like GNU Readline but it also features syntax highlighting while typing, out-of-the-box multi-line input editing, advanced code completion, incremental search, support for Chinese double-width characters, mouse support, and auto suggestions.") - (license license:bsd-3))) + (license license:bsd-3) + (properties `((python2-variant . ,(delay python-prompt-toolkit-2)))))) (define-public python-prompt-toolkit-2 (package (inherit python-prompt-toolkit) @@ -13117,7 +13118,8 @@ characters, mouse support, and auto suggestions.") (propagated-inputs `(("python-wcwidth" ,python-wcwidth) ("python-six" ,python-six) - ("python-pygments" ,python-pygments))))) + ("python-pygments" ,python-pygments))) + (properties '()))) (define-public python2-prompt-toolkit (package-with-python2 python-prompt-toolkit-2)) -- cgit v1.2.3 From 5b8bcc23b174d171dbec8089ef2893923dcaa24f Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Sep 2020 01:14:28 +0200 Subject: gnu: python-prompt-toolkit: Update to 3.0.7. * gnu/packages/python-xyz.scm (python-prompt-toolkit): Update to 3.0.7. --- 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 1d99c19974..96f9f202e6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13068,14 +13068,13 @@ collections of data.") (define-public python-prompt-toolkit (package (name "python-prompt-toolkit") - (version "3.0.5") + (version "3.0.7") (source (origin (method url-fetch) (uri (pypi-uri "prompt_toolkit" version)) (sha256 - (base32 - "1j3x5s4gp4ih73sbcni0a0vffbzvrxbrbnkvb3fzjgxn810ilgan")))) + (base32 "12a4pyrpnm3vcrvx7lb4cglp220lbvi336mhn2k2nzcgy82lcbw2")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From 03b27b396bd653797c5c3d1c170b39e9c1130415 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 1 Sep 2020 01:14:37 +0200 Subject: gnu: ptpython: Update to 3.0.5. The previous version had been broken ever since python-prompt-toolkit was updated to 3.x. * gnu/packages/python-xyz.scm (ptpython): Update to 3.0.5. [propagated-inputs]: Add python-appdirs. Remove python-docopt. --- 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 96f9f202e6..a4c797cc08 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13177,18 +13177,18 @@ well.") (define-public ptpython (package (name "ptpython") - (version "0.34") + (version "3.0.5") (source (origin (method url-fetch) (uri (pypi-uri "ptpython" version)) (sha256 (base32 - "1mmbiyzf0n8hm7z2a562x7w5cbl6jc0zsk6vp40q1z4cyblv1k13")))) + "0c2ry5gwi2v99slna62j8r2bwq0hpzmvgdryqg9m6x57vbjfg52h")))) (build-system python-build-system) (arguments '(#:tests? #f)) ; FIXME: No tests in pypi tarball. (propagated-inputs - `(("python-docopt" ,python-docopt) + `(("python-appdirs" ,python-appdirs) ("python-jedi" ,python-jedi) ("python-prompt-toolkit" ,python-prompt-toolkit) ("python-pygments" ,python-pygments))) -- cgit v1.2.3