diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-06 23:15:07 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:22:02 +0100 |
| commit | d831b2078104348993f4386fc4088331b6972bed (patch) | |
| tree | 2cd7cf3469640df10f764b64cb33eadb14ee8afa /gnu/packages/engineering.scm | |
| parent | bab4c9c0e7d2f4f766a8f87ae23ecb97b5157382 (diff) | |
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
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages/engineering.scm')
| -rw-r--r-- | gnu/packages/engineering.scm | 59 |
1 files changed, 41 insertions, 18 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index fca93be6cd0..06fadac9e30 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -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 |
