guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 7e85482ed7591c894e0419c95a328b2c1279970d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Jan 2 12:16:40 2026 +0000
gnu: python-scs: Update to 3.2.10.
* gnu/packages/python-science.scm (python-scs): Update to 3.2.10.
[source]: Do not pull git submodules.
[phases]{substitute-git-submodules}: New phase.
[inputs]: Add lapack.
[native-inputs]: Add pythoncapi-compat and scs.
Change-Id: I44778c1969f074c80ca4ddf8350b6db5c2db136a
---
gnu/packages/python-science.scm | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 4550c3611c..8933a58b62 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5057,24 +5057,41 @@ arrays. It is a fork of the Aesara library.")
(define-public python-scs
(package
(name "python-scs")
- (version "3.2.4")
+ (version "3.2.10")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/bodono/scs-python")
- (commit "3.2.4")
- (recursive? #true)))
+ (commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "06wd8m3ri0gaddl7qq6243g25zjlnh3da915b73jnrfh7sg1nqsj"))))
+ (base32 "1wg1g6das5hs53z3sjn2m8646023d14q9shmwfb38n23baqi468g"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; tests: 26 passed
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'ensure-no-mtimes-pre-1980 'substitute-git-submodules
+ (lambda _
+ (rmdir "scs_source")
+ (symlink #$(package-source
+ (this-package-native-input "scs"))
+ "scs_source")
+ (rmdir "scs/pythoncapi-compat")
+ (symlink #$(package-source
+ (this-package-native-input "pythoncapi-compat"))
+ "scs/pythoncapi-compat"))))))
(native-inputs
- (list pkg-config
+ (list meson-python
+ pkg-config
python-pytest
- meson-python))
+ pythoncapi-compat
+ scs))
(inputs
- (list openblas))
+ (list lapack
+ openblas))
(propagated-inputs
(list python-numpy
python-scipy))