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
This commit is contained in:
Sharlatan Hellseher 2026-01-06 23:15:07 +00:00 committed by Andreas Enge
parent fd3fcd18a8
commit abd3567113
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -2710,28 +2710,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