From d6c394d6a177fdaf6b28f82a9dd2163633e5eeee Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 25 Jan 2024 20:48:37 +0100 Subject: [PATCH] gnu: python-pyscss: Update to 1.4.0. * gnu/packages/python-web.scm (python-pyscss): Update to 1.4.0. [source]: Remove snippet. [arguments]: Remove; enable tests. Change-Id: I954baf228e6e343b616b6a0eb15742920873f31d --- gnu/packages/python-web.scm | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 096c2b2b0f..0c0cc46e5f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1440,32 +1440,17 @@ (define-public python-jwcrypto (define-public python-pyscss (package (name "python-pyscss") - (version "1.3.7") + (version "1.4.0") (source (origin (method git-fetch) ; no tests in PyPI release (uri (git-reference (url "https://github.com/Kronuz/pyScss") - (commit version))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6")) - (snippet - #~(begin (use-modules (guix build utils)) - (substitute* "scss/types.py" - (("from collections import Iterable") - "from collections.abc import Iterable")))))) - (build-system python-build-system) - (arguments - ;; XXX: error in test collection, possible incompatibility with Pytest 6. - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest" "--pyargs" "scss"))))))) + (base32 "1vinddg8sbh3v9n1r1wmvjx6ydk8xp7scbvhb3csl4y9xz7vhk6g")))) + (build-system pyproject-build-system) (native-inputs (list python-pytest python-pytest-cov)) (inputs