diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-28 12:47:14 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:11 +0200 |
| commit | d87896da28e3aa23a96d908bd38a5c0e6ec1ef32 (patch) | |
| tree | 685f2e836ba88ee740f7af63e5bfb20d50d18b50 /gnu/packages/python-web.scm | |
| parent | 27ed080daa012abdd76154dd6fadc08b04f48a04 (diff) | |
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
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 55 |
1 files changed, 15 insertions, 40 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9aca72b863..fe17dcfa52 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2052,7 +2052,7 @@ other HTTP libraries.") python-pytest-mock python-requests python-requests-toolbelt - python-requests-unixsocket + python-requests-unixsocket2 python-setuptools python-setuptools-scm python-trustme @@ -4644,58 +4644,33 @@ than Python’s urllib2 library.") python-requests.") (license license:isc))) -(define-public python-requests-unixsocket +(define-public python-requests-unixsocket2 (package - (name "python-requests-unixsocket") - (version "0.2.0") + (name "python-requests-unixsocket2") + (version "0.4.2") (source (origin - (method url-fetch) - (uri (pypi-uri "requests-unixsocket" version)) + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/thelabnyc/requests-unixsocket2") + (commit (string-append "v" version)))) (sha256 - (base32 "1sn12y4fw1qki5gxy9wg45gmdrxhrndwfndfjxhpiky3mwh1lp4y")))) + (base32 "0vy0c1xwwmm6xqabhl2j7zqgsldvcs8ar547nk5r9l2yb7gngzjk")))) (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 - (list python-apipkg - 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)) + (list python-poetry-core python-pytest python-waitress)) (propagated-inputs - (list python-pbr - python-requests - python-urllib3)) - (home-page "https://github.com/msabramo/requests-unixsocket") + (list python-pbr python-requests)) + (home-page "https://gitlab.com/thelabnyc/requests-unixsocket2") (synopsis "Talk HTTP via a UNIX domain socket") (description "This Python package lets you use the @code{requests} library to talk HTTP via a UNIX domain socket.") (license license:asl2.0))) +(define-public python-requests-unixsocket + (deprecated-package "python-requests-unixsocket" python-requests-unixsocket2)) + (define-public python-requests_ntlm (package (name "python-requests_ntlm") |
