guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 30100106d5c8af00f858e1dcf1e20ec8a6690cc2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Jan 6 23:15:07 2026 +0000
gnu: python-pandapower: Update to 3.3.0.
* gnu/packages/engineering.scm (python-pandapower): Update to 3.3.0.
[source]: Switch to git-fetch.
[arguments] <test-flags>: Run tests in parallel, supported by upstream.
<phases>: Add 'relax-requirements.
[propagated-inputs]: Add python-pandera, python-geopandas, python-lxml,
python-matplotlib, python-openpyxl, python-pyproj, and
python-shapely.
[native-inputs]: Remove python-pyproj, python-wheel, and unzip; add
python-nbmake and python-pytest-xdist.
Change-Id: I26e0f5ab3efa299beb1acf6ced4dfa3d15f7df3f
---
gnu/packages/engineering.scm | 59 ++++++++++++++++++++++++++++++--------------
1 file changed, 41 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 75fef9e695..f0ed8f6a33 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2771,28 +2771,51 @@ some well developed, easy to deploy and cross platform
libraries.")
(define-public python-pandapower
(package
(name "python-pandapower")
- (version "2.14.11")
+ (version "3.3.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "pandapower" version ".zip"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/e2nIEE/pandapower")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "139ahp08kci8asmv35bcibbnkfr5s1ff5j84n490s47ibsglk4yi"))))
+ (base32 "01ybwvbzld202yhhi9l3djp1nr0k57lrqh7k5819n58brv3hcki9"))))
(build-system pyproject-build-system)
- (native-inputs (list python-pyproj
- python-pytest
- python-setuptools
- python-wheel
- unzip))
- (propagated-inputs (list python-deepdiff
- python-geojson
- python-networkx
- python-numpy
- python-packaging
- python-pandas
- python-scipy
- python-tqdm
- python-typing-extensions))
+ (arguments
+ (list
+ ;; tests: 1161 passed, 140 skipped, 23 xfailed, 11 xpassed, 4529 warnings
+ #:test-flags
+ #~(list "--numprocesses" (number->string (min 8 (parallel-job-count))))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'relax-requirements
+ (lambda _
+ (substitute* "pyproject.toml"
+ (("pandera~=0.26.1") "pandera~=0.27.1")))))))
+ (native-inputs
+ (list python-nbmake
+ python-pytest
+ python-pytest-xdist
+ python-setuptools))
+ (propagated-inputs
+ (list python-deepdiff
+ python-geojson
+ python-networkx
+ python-numpy
+ python-packaging
+ python-pandas
+ python-pandera
+ python-scipy
+ python-tqdm
+ python-typing-extensions
+ ;; [optional]
+ python-geopandas
+ python-lxml
+ python-matplotlib
+ python-openpyxl
+ python-pyproj
+ python-shapely))
(home-page "https://www.pandapower.org/")
(synopsis "Power system modelling and analysis")
(description "@code{pandapower} is an easy to use network calculation