mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-requests-unixsocket: Update to 0.4.2.
* gnu/packages/python-web.scm (python-requests-unixsocket): Define as deprecated alias for... (python-requests-unixsocket2): ...this new variable. [source]: Fetch from forked git repository. [home-page]: Update. [arguments]: Remove. [native-inputs]: Remove python-apipkg, python-appdirs, python-execnet, python-packaging, python-pep8, python-py, python-pyparsing, python-pytest-cache, python-pytest-pep8, python-setuptools, python-six, and python-wheel; add python-poetry-core. [propagated-inputs]: Remove python-urllib3. (python-cheroot)[native-inputs]: Replace python-requests-unixsocket with python-requests-unixsocket2. * gnu/packages/python-xyz.scm (python-notebook)[native-inputs]: Same. * gnu/packages/jupyter.scm (python-nbclassic)[native-inputs]: Same. Change-Id: I4c35ff9f86aa7e3df0f2b9ed8616727a7a94f12d
This commit is contained in:
parent
27ed080daa
commit
d87896da28
3 changed files with 17 additions and 42 deletions
|
@ -96,7 +96,7 @@
|
||||||
python-pytest-jupyter
|
python-pytest-jupyter
|
||||||
python-pytest-tornasync
|
python-pytest-tornasync
|
||||||
python-requests
|
python-requests
|
||||||
python-requests-unixsocket
|
python-requests-unixsocket2
|
||||||
python-testpath))
|
python-testpath))
|
||||||
(home-page "https://github.com/jupyter/nbclassic")
|
(home-page "https://github.com/jupyter/nbclassic")
|
||||||
(synopsis "Jupyter Notebook as a Jupyter Server extension")
|
(synopsis "Jupyter Notebook as a Jupyter Server extension")
|
||||||
|
|
|
@ -2052,7 +2052,7 @@ other HTTP libraries.")
|
||||||
python-pytest-mock
|
python-pytest-mock
|
||||||
python-requests
|
python-requests
|
||||||
python-requests-toolbelt
|
python-requests-toolbelt
|
||||||
python-requests-unixsocket
|
python-requests-unixsocket2
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-setuptools-scm
|
python-setuptools-scm
|
||||||
python-trustme
|
python-trustme
|
||||||
|
@ -4644,58 +4644,33 @@ than Python’s urllib2 library.")
|
||||||
python-requests.")
|
python-requests.")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
(define-public python-requests-unixsocket
|
(define-public python-requests-unixsocket2
|
||||||
(package
|
(package
|
||||||
(name "python-requests-unixsocket")
|
(name "python-requests-unixsocket2")
|
||||||
(version "0.2.0")
|
(version "0.4.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "requests-unixsocket" version))
|
(uri (git-reference
|
||||||
|
(url "https://gitlab.com/thelabnyc/requests-unixsocket2")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y"))))
|
(base32 "0vy0c1xwwmm6xqabhl2j7zqgsldvcs8ar547nk5r9l2yb7gngzjk"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags
|
|
||||||
;; TypeError: HTTPConnection.request() got an unexpected keyword
|
|
||||||
;; argument 'chunked'
|
|
||||||
#~(list "-k" (string-append "not test_unix_domain_adapter_ok"
|
|
||||||
" and not test_unix_domain_adapter_url_with_query_params"
|
|
||||||
" and not test_unix_domain_adapter_connection_error"
|
|
||||||
" and not test_unix_domain_adapter_monkeypatch"))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-before 'check 'skip-pep8
|
|
||||||
(lambda _
|
|
||||||
(substitute* "pytest.ini"
|
|
||||||
(("--pep8") "")))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-apipkg
|
(list python-poetry-core python-pytest python-waitress))
|
||||||
python-appdirs
|
|
||||||
python-execnet
|
|
||||||
python-packaging
|
|
||||||
python-pep8
|
|
||||||
python-py
|
|
||||||
python-pyparsing
|
|
||||||
python-pytest
|
|
||||||
python-pytest-cache
|
|
||||||
python-pytest-pep8
|
|
||||||
python-setuptools
|
|
||||||
python-six
|
|
||||||
python-waitress
|
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-pbr
|
(list python-pbr python-requests))
|
||||||
python-requests
|
(home-page "https://gitlab.com/thelabnyc/requests-unixsocket2")
|
||||||
python-urllib3))
|
|
||||||
(home-page "https://github.com/msabramo/requests-unixsocket")
|
|
||||||
(synopsis "Talk HTTP via a UNIX domain socket")
|
(synopsis "Talk HTTP via a UNIX domain socket")
|
||||||
(description
|
(description
|
||||||
"This Python package lets you use the @code{requests} library to talk
|
"This Python package lets you use the @code{requests} library to talk
|
||||||
HTTP via a UNIX domain socket.")
|
HTTP via a UNIX domain socket.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public python-requests-unixsocket
|
||||||
|
(deprecated-package "python-requests-unixsocket" python-requests-unixsocket2))
|
||||||
|
|
||||||
(define-public python-requests_ntlm
|
(define-public python-requests_ntlm
|
||||||
(package
|
(package
|
||||||
(name "python-requests_ntlm")
|
(name "python-requests_ntlm")
|
||||||
|
|
|
@ -19461,7 +19461,7 @@ convert an @code{.ipynb} notebook file into various static formats including:
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-requests
|
python-requests
|
||||||
python-requests-unixsocket
|
python-requests-unixsocket2
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(home-page "https://jupyter.org/")
|
(home-page "https://jupyter.org/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue