gnu: python-traitlets: Update to 5.9.0.
* gnu/packages/python-xyz.scm (python-traitlets): Update to 5.9.0. [build-system]: Use pyproject-build-system. [native-inputs]: Add python-hatchling, python-pre-commit, and python-pytest-mock. [arguments]: Remove custom 'check phase.
This commit is contained in:
parent
e43ceae59f
commit
b60ea1cd17
1 changed files with 7 additions and 10 deletions
|
@ -9704,23 +9704,20 @@ connect strings, then issue SQL commands within IPython or IPython Notebook.")
|
||||||
(define-public python-traitlets
|
(define-public python-traitlets
|
||||||
(package
|
(package
|
||||||
(name "python-traitlets")
|
(name "python-traitlets")
|
||||||
(version "5.1.1")
|
(version "5.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "traitlets" version))
|
(uri (pypi-uri "traitlets" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1ivhxglsrnhqw4g98ihddn7i5f6976gpk31fijwq473wb9n4b7q5"))))
|
"1ndslgsan1g5xhrvxrv2x03zcfvjb8nzfd90y1m7bkv8khdf5kgn"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
`(#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check (lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv" "traitlets")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest))
|
(list python-hatchling
|
||||||
|
python-pre-commit
|
||||||
|
python-pytest
|
||||||
|
python-pytest-mock))
|
||||||
(home-page "https://ipython.org")
|
(home-page "https://ipython.org")
|
||||||
(synopsis "Configuration system for Python applications")
|
(synopsis "Configuration system for Python applications")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue