gnu: python-pandas-stubs: Accept numpy 1.23.
* gnu/packages/python-science.scm (python-pandas-stubs)[arguments]: Add phase 'relax-requirements. Change-Id: I62e04574d53abd7d67068d08475522dd8989dccamaster
parent
22eeb8f16e
commit
3c0579849c
|
@ -1044,7 +1044,15 @@ doing practical, real world data analysis in Python.")
|
||||||
" and not test_timedelta_cmp_rhs"
|
" and not test_timedelta_cmp_rhs"
|
||||||
" and not test_timestamp_cmp"
|
" and not test_timestamp_cmp"
|
||||||
" and not test_timestamp_eq_ne_rhs"))
|
" and not test_timestamp_eq_ne_rhs"))
|
||||||
#:phases '(modify-phases %standard-phases
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
|
;; We cannot yet upgrade numpy to 1.26 because numba needs numpy
|
||||||
|
;; >1.24.
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
(("numpy = \\{ version = \">=1.26.0\", python = \"<3.13\" \\}")
|
||||||
|
"numpy = { version = \">=1.23.0\", python = \"<3.13\" }"))))
|
||||||
(add-before 'check 'prepare-x
|
(add-before 'check 'prepare-x
|
||||||
(lambda _
|
(lambda _
|
||||||
(system "Xvfb &")
|
(system "Xvfb &")
|
||||||
|
|
Reference in New Issue