From 21f3f301412153d64747044572c8024eeea07248 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 20 Jul 2023 19:13:48 +0200 Subject: gnu: Add python-pynetbox. * gnu/packages/python-web.scm (python-pynetbox): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9939a994b67..ca5b490bd8d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8820,3 +8820,28 @@ Grid5000 resources interactively using the embedded shell.") scientific testbeds. It lets you deploy networks of machines on actual hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.") (license license:gpl3+))) + +(define-public python-pynetbox + (package + (name "python-pynetbox") + (version "7.0.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "pynetbox" version)) + (sha256 + (base32 + "16ps9zgcjzyzn95lry277741i8php4ci3plsyd2vqxd57havba7b")))) + (build-system pyproject-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'disable-failing-tests + (lambda _ + ;; Integration tests depend on docker. + (delete-file-recursively "tests/integration")))))) + (propagated-inputs (list python-requests)) + (native-inputs (list python-pytest python-pyyaml python-setuptools-scm)) + (home-page "https://github.com/netbox-community/pynetbox") + (synopsis "NetBox API client library") + (description "Python module to query and edit data stored in a +@url{https://netbox.dev,NetBox} instance.") + (license license:asl2.0))) -- cgit v1.3 From 29243a9f39744f6275ba0a9e0a182f257a2a46eb Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 5 Oct 2023 18:31:11 +0200 Subject: gnu: python-pynetbox: Update to 7.2.0. * gnu/packages/python-web.scm (python-pynetbox): Update to 7.2.0. --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ca5b490bd8d..9cde0c071a6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -8824,13 +8824,13 @@ hardware on Grid'5000 or via OpenStack, to Vagrant, Chameleon, and more.") (define-public python-pynetbox (package (name "python-pynetbox") - (version "7.0.1") + (version "7.2.0") (source (origin (method url-fetch) (uri (pypi-uri "pynetbox" version)) (sha256 (base32 - "16ps9zgcjzyzn95lry277741i8php4ci3plsyd2vqxd57havba7b")))) + "1pzmkl4nr247v4022i33v32jlx88wwcdy7ycyfd4pnl19vag8d9p")))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases -- cgit v1.3 From 84431a30ea0eab9d80cdf22b97375d1d6339596c Mon Sep 17 00:00:00 2001 From: jgart Date: Fri, 6 Oct 2023 23:41:22 -0500 Subject: gnu: python-openai: Update to 0.28.1. * gnu/packages/python-web.scm (python-openai): Update to 0.28.1. --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9cde0c071a6..d7fe634aba8 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1923,13 +1923,13 @@ service.") (define-public python-openai (package (name "python-openai") - (version "0.27.8") + (version "0.28.1") (source (origin (method url-fetch) (uri (pypi-uri "openai" version)) (sha256 (base32 - "0dlmxnib71fih9xzmd3v41alwv4qb8qrxixsrrsf5vmigmf0k0r4")))) + "1j6wsavgrxzh6ls8hp45nllz8f5l65a6vzk0lvhlqnx6579xmqab")))) (build-system pyproject-build-system) (arguments (list -- cgit v1.3