From 8d5637103fab0ce69e55d88bdc929f903ac58edd Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 16:52:27 +0200 Subject: gnu: python-et-xmlfile: Update to 1.1.0. * gnu/packages/python-xyz.scm (python-et-xmlfile): Update to 1.1.0. [source]: Switch to HG-FETCH. [arguments]: Use G-expression and respect TESTS? keyword. --- gnu/packages/python-xyz.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b0587041721..d292f329b06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2574,20 +2574,25 @@ downloaded, or download a strip for a particular date or index, if possible.") (define-public python-et-xmlfile (package (name "python-et-xmlfile") - (version "1.0.1") + (version "1.1") (source (origin - (method url-fetch) - (uri (pypi-uri "et_xmlfile" version)) + ;; Use a checkout because the PyPI archive does not contain tests. + (method hg-fetch) + (uri (hg-reference + (url "https://foss.heptapod.net/openpyxl/et_xmlfile") + (changeset version))) + (file-name (string-append name "-" version "-checkout")) (sha256 - (base32 - "0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1")))) + (base32 "09r8rjc5bhkqrm5c4n9jrlvad8vrvbyswl9g0wrc1qc7nzh9mpw7")))) (build-system python-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest")))))) + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest python-lxml)) ;used for the tests (home-page "https://bitbucket.org/openpyxl/et_xmlfile") -- cgit v1.2.3 From 1329b64db55f5a3d8735349e09be05157a062d63 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 17:02:23 +0200 Subject: gnu: python-jdcal: Update to 1.4.1. * gnu/packages/python-xyz.scm (python-jdcal): Update to 1.4.1. [arguments]: Use G-expression and respect TESTS? keyword. --- 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 d292f329b06..90fb380f889 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3549,20 +3549,22 @@ version numbers.") (define-public python-jdcal (package (name "python-jdcal") - (version "1.4") + (version "1.4.1") (source (origin (method url-fetch) (uri (pypi-uri "jdcal" version)) (sha256 (base32 - "1ja6j2xq97bsl6rv09mhdx7n0xnrsfx0mj5xqza0mxghqmkm02pa")))) + "1j6g19jf21qprjsr8h0r7nsbss366gy8j9izq8cz53gbjvh74a27")))) (build-system python-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest")))))) + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs (list python-pytest)) (home-page "https://github.com/phn/jdcal") -- cgit v1.2.3 From 79143344f875c56c6b2a790a7963bd0f6a2a9592 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 17:04:51 +0200 Subject: gnu: python-xlsxwriter: Update to 3.0.3. * gnu/packages/python-xyz.scm (python-xlsxwriter): Update to 3.0.3. --- 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 90fb380f889..ea962c3b57c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7508,7 +7508,7 @@ a front-end for C compilers or analysis tools.") (define-public python-xlsxwriter (package (name "python-xlsxwriter") - (version "1.3.9") + (version "3.0.3") (source (origin ;; There are no tests in the PyPI tarball. @@ -7518,7 +7518,7 @@ a front-end for C compilers or analysis tools.") (commit (string-append "RELEASE_" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "04idf331rp0iyhlnh7268jmim8ydw4jjb81hr5rh548sqnq4bhpl")))) + (base32 "1lr7mmik6r4zns069i4zfx1cnwhz6snmlh2zsiry0cwx8cv33wpm")))) (build-system python-build-system) (home-page "https://github.com/jmcnamara/XlsxWriter") (synopsis "Python module for creating Excel XLSX files") -- cgit v1.2.3 From a867125b3aaaa7201b6546b8803373f55a9e059f Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 17:06:26 +0200 Subject: gnu: python-cairocffi: Update to 1.3.0. * gnu/packages/python-xyz.scm (python-cairocffi): Update to 1.3.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 ea962c3b57c..ac5070b50c8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7705,7 +7705,7 @@ support for Python 3 and PyPy. It is based on cffi.") (define-public python-cairocffi (package (name "python-cairocffi") - (version "1.2.0") + (version "1.3.0") (source (origin ;; The PyPI archive does not include the documentation, so use Git. @@ -7716,7 +7716,7 @@ support for Python 3 and PyPy. It is based on cffi.") (file-name (git-file-name name version)) (sha256 (base32 - "1ypw0c2lr43acn57hbmckk183zq4h477j7p4ig2zjvw0mcpvia50")))) + "0lylyxyyd8csjhn5kxwzrcr6ick6pvvm1wclpmb5ni28jznxn7lb")))) (build-system python-build-system) (outputs '("out" "doc")) (inputs -- cgit v1.2.3 From 6ba66072e0a58fa10e8fe17f694558009bc5b482 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 17:55:46 +0200 Subject: gnu: python-fs: Update to 2.4.16. * gnu/packages/python-xyz.scm (python-fs): Update to 2.4.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 ac5070b50c8..75070c8b82e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11269,13 +11269,13 @@ It has a flexible system of @samp{authorizers} able to manage both (define-public python-fs (package (name "python-fs") - (version "2.4.14") + (version "2.4.16") (source (origin (method url-fetch) (uri (pypi-uri "fs" version)) (sha256 - (base32 "0v5kqzi0vd8ar4j4qf5440nzwa9dcagpxb3q6k0cln4cqlmxqmcm")))) + (base32 "04ykd7q49qgv13hl2n71lzihs2c9099r50lmd85vgx0k2bawg5xf")))) (build-system python-build-system) (arguments (list -- cgit v1.2.3 From 9046adf8efa3d33a2a9123786be4788d02cf131a Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Mon, 5 Sep 2022 17:56:08 +0200 Subject: gnu: python-cfgv: Update to 3.3.1. * gnu/packages/python-xyz.scm (python-cfgv): Update to 3.3.1. [arguments]: Respect TESTS? keyword in check phase. [native-inputs]: Remove PYTHON-COVERAGE and PYTHON-COVDEFAULTS. --- gnu/packages/python-xyz.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 75070c8b82e..a73f07ece30 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -22577,7 +22577,7 @@ Let's Encrypt.") (define-public python-cfgv (package (name "python-cfgv") - (version "3.1.0") + (version "3.3.1") (source (origin ;; There are no tests in the PyPI tarball. @@ -22587,16 +22587,17 @@ Let's Encrypt.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1vvkkqw92sak4b28bpscpppq483amy52ch2yqy1i2m23q7xjkabx")))) + (base32 "1pci97cmn3v45sfch9s3lshidrl0309ls9byidic0l8drkwnkwcj")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs - (list python-covdefaults python-coverage python-pytest)) + (list python-pytest)) (home-page "https://github.com/asottile/cfgv") (synopsis "Configuration validation library") (description -- cgit v1.2.3