diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-02 15:25:33 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:20:17 +0100 |
| commit | 8aa80ded7828f58355f55408cc62348c7cea187c (patch) | |
| tree | 7cf10d48da67215d905855b103e0c3a1980c3d1e /gnu/packages/graph.scm | |
| parent | 1cc63553036a73fb81352b81217d0897840baaa4 (diff) | |
gnu: Add python-pyunlocbox.
* gnu/packages/graph.scm (python-pyunlocbox): New variable.
Change-Id: I0281d2e1cfa4ad61a64e168f2c70344afd96ad3a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/graph.scm')
| -rw-r--r-- | gnu/packages/graph.scm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm index 2fb76292cdc..7479bc3c435 100644 --- a/gnu/packages/graph.scm +++ b/gnu/packages/graph.scm @@ -473,6 +473,44 @@ algorithm for a number of different methods.") graphs.") (license license:bsd-3))) +(define-public python-pyunlocbox + (package + (name "python-pyunlocbox") + (version "0.6.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/epfl-lts2/pyunlocbox") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0pv3srpkyprp0vamlg1pgzqk5ws4ydjb8y9nabndjf2f8519kgv4")))) + (build-system pyproject-build-system) + (arguments + (list + ;; tests: 38 passed, 3 warnings + #:test-flags + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))) + ;; Not equal to tolerance rtol=0.001, atol=0 + "--deselect=pyunlocbox/tests/test_functions.py::TestFunctions::test_proj_b2"))) + (native-inputs + (list python-pytest + python-pytest-xdist + python-setuptools + python-setuptools-scm)) + (propagated-inputs + (list python-numpy + python-pytest-cov ;XXX: Why... it's in a dependency list? + python-scipy)) + (home-page "https://github.com/epfl-lts2/pyunlocbox") + (synopsis "Convex Optimization in Python using Proximal Splitting") + (description + "PyUNLocBoX uses @url{https://en.wikipedia.org/wiki/Proximal_gradient_method, +proximal splitting methods} to solve non-differentiable convex optimization +problems.") + (license license:bsd-3))) + (define-public qvge (package (name "qvge") |
