gnu: python-pynetbox: Update to 7.4.1.

* gnu/packages/python-web.scm (python-pynetbox): Update to 7.4.1.
[arguments]: Remove phase 'disable-failing-tests; use test-flags instead.
[propagated-inputs]: Add python-packaging.
[native-inputs]: Remove python-pyyaml.

Change-Id: I2138797ba292ae06985187ec89c2d77e580b0703
This commit is contained in:
Ricardo Wurmus 2025-01-12 21:46:50 +01:00
parent d1597a7b02
commit b2eae67473
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -10260,23 +10260,25 @@ hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.")
(define-public python-pynetbox (define-public python-pynetbox
(package (package
(name "python-pynetbox") (name "python-pynetbox")
(version "7.2.0") (version "7.4.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "pynetbox" version)) (uri (pypi-uri "pynetbox" version))
(sha256 (sha256
(base32 (base32
"1pzmkl4nr247v4022i33v32jlx88wwcdy7ycyfd4pnl19vag8d9p")))) "1hq0mqykwdsmcrj61fxxzdkpc7wnld4grhkcxy560ym79jbbb0iz"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list
(add-after 'unpack 'disable-failing-tests #:test-flags
(lambda _
;; Integration tests depend on docker. ;; Integration tests depend on docker.
(delete-file-recursively "tests/integration")))))) '(list "--ignore=tests/integration")))
(propagated-inputs (list python-requests)) (propagated-inputs (list python-packaging python-requests))
(native-inputs (list python-pytest python-pyyaml python-setuptools (native-inputs
python-setuptools-scm python-wheel)) (list python-pytest
python-setuptools
python-setuptools-scm
python-wheel))
(home-page "https://github.com/netbox-community/pynetbox") (home-page "https://github.com/netbox-community/pynetbox")
(synopsis "NetBox API client library") (synopsis "NetBox API client library")
(description "Python module to query and edit data stored in a (description "Python module to query and edit data stored in a