gnu: python-sep-pjw: Simplify.

* gnu/packages/astronomy.scm (python-sep-pjw) [arguments] <phases>:
Remove 'relax-requirements.
[native-inputs]: Remove python-setuptools-scm; add
python-setuptools-scm-next.

Change-Id: Ibe66f67a638649967d1e1c9dfa1b5dd6d0843ca1
This commit is contained in:
Sharlatan Hellseher 2025-02-17 15:04:41 +00:00
parent ff6676600c
commit 3dad8e1d31
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6165,22 +6165,12 @@ well as ephemerides services
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "test.py")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "pyproject.toml"
;; numpy>=1.23.5
(("1.23.5") "1.23.2")
;; TypeError: Configuration.__init__() got an unexpected
;; keyword argument 'version_file'
(("version_file = .*") "")))))))
#:test-flags #~(list "test.py")))
(native-inputs
(list python-cython
python-pytest
python-setuptools
python-setuptools-scm
python-setuptools-scm-next
python-wheel))
(propagated-inputs
(list python-numpy))