Ricardo Wurmus
2c700af42c
gnu: python-falcon: Fix tests.
...
* gnu/packages/python-web.scm (python-falcon)[native-inputs]: Add
python-orjson.
[arguments]: Do not patch test file; respect test-flags in custom 'check
phase; provide test-flags to ignore examples and benchmarks.
[build-system]: Use pyproject-build-system.
Change-Id: Ic173e2d940a2bb9c7f81ea3e70475f8bfff36dfb
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2024-12-03 08:24:56 +08:00
Sharlatan Hellseher
bdbf3ab4f0
gnu: python-pycurl: Adjust inputs.
...
* gnu/packages/python-web.scm (python-pycurl): Remove requirement for
pytest-xdist as tests need to be run in single threaded. No need for
Nose as main test runner is Pytest now.
[arguments]<test-flags>: Remove "--numprocesses" option.
[native-inputs]: Remove python-nose and python-pytest-xdist.
Change-Id: I8de5d89a38208c119ea5494de1e8339130b01f54
2024-11-24 14:45:35 +00:00
Attila Lendvai
e30c169bec
gnu: python-pycurl: Build from git.
...
* gnu/packages/python-web.scm (python-pycurl) [source]: Swap to git
checkout.
Change-Id: I1b347c04022970ffe42a87530e525a83745ff84c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-24 14:42:53 +00:00
Attila Lendvai
851f0662a5
gnu: python-pycurl: Fix build by running the tests single-threaded.
...
* gnu/packages/python-web.scm (python-pycurl): Make test run single-threaded.
Reenable some tests that used to fail due to threading.
[test_request_without_certinfo]: Disable test/timebomb that probably uses an
expired CA.
Change-Id: I62bc60757cf2e005ed55768c84d8c178f63c35ec
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-24 14:42:53 +00:00
Sharlatan Hellseher
d3b010c38c
gnu: Respect --cores build argument in some python packages.
...
Reported by Greg Hogan <code@greghogan.com> in #74445 .
* gnu/packages/astronomy.scm (python-asdf-astropy, python-astropy,
python-photutils, python-poppy, python-regions, python-reproject,
python-sunpy, python-spectral-cube, python-stdatamodels, python-pysiaf,
python-sbpy, python-asdf-coordinates-schemas, python-roman-datamodels,
python-webbpsf, python-yt):
[arguments]<test-flags>: Adjust "-n" or "--numprocess" to respect
"--cores" build argument.
* gnu/packages/check.scm (python-crosshair): Likewise.
* gnu/packages/databases.scm (python-fastparquet, python-pycurl, awscli,
python-s3transfer): Likewise.
* gnu/packages/python-xyz.scm (python-glymur, python-zarr, python-dask):
Likewise.
Change-Id: Ifbc6435e4ad22b0ae822b485bccca41eaa165cc5
2024-11-23 15:55:05 +00:00
Ricardo Wurmus
72ef08da9d
gnu: python-uvicorn: Update to 0.32.0.
...
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.0.
[arguments]: Enable more tests; add phase 'patch-pyproject.
Change-Id: I7b1efb0a8319d02a8ea83a03299b1c2fa3adf0aa
2024-11-20 14:00:14 +01:00
Jakob Kirsch
3983f4da94
gnu: python-websockets: Update to 13.0.
...
* gnu/packages/python-web.scm (python-websockets): Update to 13.0.
Change-Id: I242cc257c779d1dba992e814ba4da68c99daff6e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-11-18 20:24:39 +00:00
Ricardo Wurmus
391de92713
gnu: Add awscli-2.
...
* gnu/packages/python-web.scm (awscli-2): Rename to...
(awscliv2): ...this new variable.
(awscli-2): New variable.
Change-Id: Id5c356ae0e6af53167d4acde7934f88c2f527a00
2024-11-18 20:19:43 +00:00
Ricardo Wurmus
1e52bb77f0
gnu: Add python-awscrt-for-awscli.
...
* gnu/packages/python-web.scm (python-awscrt-for-awscli): New variable.
Change-Id: Iea7f6467d01eee447d6605390be1066589537aae
2024-11-18 20:19:43 +00:00
Ricardo Wurmus
ad876569dc
gnu: Add python-awscrt.
...
* gnu/packages/python-web.scm (python-awscrt): New variable.
Change-Id: I1c08a06fdb1ea9811c183d3711f092edd12cdca7
2024-11-18 20:19:42 +00:00
Ricardo Wurmus
25d340a0e3
gnu: awscli-2: Update to 2.3.1.
...
* gnu/packages/python-web.scm (awscli-2): Update to 2.3.1.
[name]: Rename to awscliv2.
Change-Id: I5fcc7afe66490513c6769c19f961a5fcb497d422
2024-11-18 20:19:42 +00:00
Ricardo Wurmus
968726d89f
gnu: awscli-2: Add missing inputs.
...
* gnu/packages/python-web.scm (awscli-2)[native-inputs]: Add
python-poetry-core and python-pytest.
Change-Id: Ia0d160eca47f9e39ba902481c7146ad85b848c2a
2024-11-18 20:19:42 +00:00
Ricardo Wurmus
bab9607827
gnu: awscli: Update to 1.36.0.
...
* gnu/packages/python-web.scm (awscli): Update to 1.36.0.
[arguments]<test-flags>: Silent more failing tests.
Co-Authored-By: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: Ia06ad5128b13dbc68ec92f93dc025644605cd30c
2024-11-18 20:19:42 +00:00
Sharlatan Hellseher
71d8ea41dd
gnu: awscli: Update to 1.35.20.
...
* gnu/packages/python-web.scm (awscli): Update to 1.35.20. Use
G-expressions.
[source]: Swap to git checkout as it contains tests.
[build-system]: Swap to pyproject-build-system.
[phases]: Delete use-recent-pyyaml phase; add set-invorenment phase.
[inputs]: Remove groff, python-colorama-for-awscli, and python-pyyaml-5;
add groff-minimal, python-colorama, and python-pyyaml.
[native-inputs]: Add python-pytest, python-pytest-xdist,
python-setuptools, and python-wheel.
Change-Id: Ib7542a783fe65bb93d9f4cbfb89241190813fde4
2024-11-18 20:19:41 +00:00
Sharlatan Hellseher
c83197d3eb
gnu: python-s3transfer: Update to 0.10.3.
...
* gnu/packages/python-web.scm (python-s3transfer): Update to 0.10.3.
[build-system]: Swap to pyprojct-build-system.
[native-inputs]: Add python-pytest, python-pytest-xdist,
python-setuptools, and python-wheel.
Change-Id: I41d35dc89ea6f9ff24f33f6bfcc1fc6a22ebe890
2024-11-18 20:19:41 +00:00
Navid Afkhami
2b781003a4
gnu: Add python-rangehttpserver.
...
* gnu/packages/python-web.scm (python-rangehttpserver): New variable.
Change-Id: Ib37b29bedb468faf4da5ab5080106c54e50f52c7
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2024-11-11 12:58:00 +01:00
Spencer King
d95588242c
gnu: awscli@1: Fix broken build.
...
awscli 1.x requires PyYAML<=6,>=3.10.
* gnu/packages/python-web.scm (awscli)[inputs]: Change ‘python-pyyaml’
to ‘python-pyyaml-5’.
Change-Id: I9b7a523b9f72bdc13f48bf699e7e01f0ebe7a575
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-10-16 19:24:10 +02:00
Sharlatan Hellseher
bd59254b82
gnu: python-scrapy: Update to 2.11.2, fix build.
...
This is a follow up fixture found during review of
<https://issues.guix.gnu.org/73070 >.
* gnu/packages/python-web.scm (python-scrapy): Update to 2.11.2.
[source]: Name for source tarball has been changed in PyPI.
[arguments]: <#:test-flags>: Enable more tests which are passing now.
<#:phases>: Add 'relax-requirements and 'prepare-test-environment phases.
[propagated-inputs]: Add python-defusedxml.
[native-inputs]: Add nss-certs-for-test.
Change-Id: Ia1e1868b75d679044af83812469c2412b2bab716
2024-09-27 21:18:43 +01:00
Nicolas Graves
86764929f9
gnu: Remove python-msrest.
...
* gnu/packages/python-web.scm (python-msrest): Delete variable.
Change-Id: Ic27ba6fe0e7f828327e98c99eabf536ea1cd544a
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-09-15 10:21:42 +01:00
Nicolas Graves
17c4c3449b
gnu: python-azure-storage-blob: Update to 12.22.0.
...
* gnu/packages/python-web.scm (python-azure-storage-blob): Update to 12.22.0.
[build-system]: Move to pyproject-build-system.
[propagated-inputs]: Remove python-msrest. Add python-isodate and
python-typing-extensions.
Change-Id: If7163dd4568136a19799b78e9fce246ab0611cbd
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-09-15 10:21:42 +01:00
Nicolas Graves
d085fcf493
gnu: python-azure-core: Update to 1.28.0.
...
* gnu/packages/python-web.scm (python-azure-core): Update to 1.28.0.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Use it.
<#:phases>: Move from check phase replacement to a lighter
'add-test-pythonpath pre-check phase.
[propagated-inputs]: Remove python-trio.
[native-inputs]: Remove python-msrest.
Change-Id: Ie4656ddaa1919144cc75a81feecb9ec774c9436f
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-09-15 10:21:39 +01:00
Rostislav Svoboda
73b42c3704
gnu: python-treq: Fix typo in the description field.
...
* gnu/packages/python-web.scm (python-treq): Fix typo in the description
field.
Change-Id: I4d5effcd3a9d3e5e1281357505ade16481824275
Signed-off-by: Florian Pelz <pelzflorian@pelzflorian.de>
2024-09-14 00:57:39 +02:00
Danny Milosavljevic
71735eae4f
gnu: Add python-waybackpack.
...
* gnu/packages/python-web.scm (python-waybackpack): New variable.
Change-Id: I2ba32918f36a99dc9cb01499b645272b4e5ddb13
2024-09-12 00:30:32 +02:00
Nicolas Graves
357effe1ee
gnu: python-huggingface-hub: Update to 0.23.2.
...
* gnu/packages/python-web.scm (python-huggingface-hub): Update to 0.23.2.
Change-Id: I06989e883f54d9f0fc8db002d0a580008f6c6b67
Signed-off-by: jgart <jgart@dismail.de>
2024-09-09 23:56:09 -05:00
Nicolas Graves
09d2f62c0f
gnu: python-huggingface-hub: Disable failing tests.
...
* gnu/packages/python-web.scm (python-huggingface-hub):
[arguments]<#:test-flags>: Disable failing test (requires network
connection).
Change-Id: I7273c4f0bcc3b8cf3d34633a0d6c1df4d76d9170
Signed-off-by: jgart <jgart@dismail.de>
2024-09-09 23:53:49 -05:00
John Kehayias
82174b2742
gnu: python-httpx: Fix tests.
...
* gnu/packages/python-web.scm (python-httpx)[native-inputs]: Add
nss-certs-for-test.
Change-Id: If8e98564e44a2e5e7bc520c31553aa83bc597946
2024-09-03 13:37:57 -04:00
Guillaume Le Vaillant
31564ec164
gnu: python-geventhttpclient: Fix tests.
...
Fixes <https://issues.guix.gnu.org/72950 >.
* gnu/packages/python-web.scm (python-geventhttpclient)[native-inputs]: Add
nss-certs-for-test.
Reported-by: Dr. Arne Babenhauserheide <arne_bab@web.de>
Change-Id: I22d0774a88b91e0d33191c0dea5b1aaafb992301
2024-09-03 19:23:20 +02:00
John Kehayias
c843564a28
gnu: python-httpcore: Fix tests.
...
* gnu/packages/python-web.scm (python-httpcore)[native-inputs]: Add
nss-certs-for-test.
Change-Id: I1e1b2f067e672278f86389d5f7b686a45715f861
2024-09-03 11:27:30 -04:00
John Kehayias
5a8bbf881a
gnu: python-google-auth: Update to 2.34.0.
...
* gnu/packages/python-web.scm (python-google-auth): Update to 2.34.0.
[origin]: Update pypi-uri.
Change-Id: I56d88c29645d780c5555d374ca81e5f7834360be
2024-09-03 11:10:35 -04:00
John Kehayias
9e22a81703
gnu: python-google-auth: Fix tests.
...
* gnu/packages/python-web.scm (python-google-auth)[native-inputs]: Add
nss-certs-for-test.
Change-Id: Ia12e98de8c2c8d335b98cef941692611c76ad2fa
2024-09-03 11:05:34 -04:00
Zheng Junjie
38e27332d6
gnu: Add nss-certs-for-test.
...
* gnu/packages/certs.scm (nss-certs-for-test): New variable.
* gnu/packages/python-web.scm (python-requests-next)[native-inputs]: Add it.
Change-Id: Id808e058835556717a6585ecd86dd14d0d2a5039
2024-08-31 10:45:43 +02:00
jgart
2977733d43
gnu: Add python-httpauth.
...
* gnu/packages/python-web.scm (python-httpauth): New variable.
Change-Id: I02ece90600961a634d30f34c301bd387e5aa23b7
Signed-off-by: jgart <jgart@dismail.de>
2024-08-20 19:09:14 -05:00
Nguyễn Gia Phong
2024e3ee33
gnu: Add python-nh3.
...
* gnu/packages/python-web.scm (python-nh3): New variable.
Change-Id: I21877b895467c290e07d11697a384c18a9c53113
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2024-07-19 00:47:27 +03:00
Ricardo Wurmus
0efdf33d0e
gnu: python-cloud-init: Update to 24.2.
...
* gnu/packages/python-web.scm (python-cloud-init): Update to 24.2.
[arguments]: Disable apt tests.
Change-Id: I1a024ded4108121cc2960cadab4da94416290913
2024-07-17 22:38:07 +02:00
Ricardo Wurmus
126dde2fb5
gnu: python-cloud-init: Move files.
...
* gnu/packages/python-web.scm (python-cloud-init)[arguments]: Add phase
'move-files to move data files out of site-packages directory.
Change-Id: I1322b990226174283d724539a98f7470221e9058
2024-07-17 22:38:07 +02:00
jgart
325fed4c15
gnu: python-pyowm: Update to 3.3.0.
...
* gnu/packages/python-web.scm (python-pyowm): Update to 3.3.0.
[build-system]: Use pyproject build system.
[arguments]: Run unit tests.
[native-inputs]: Add python-pytest.
[propagated-inputs]: Add python-geojson-for-pyowm.
Change-Id: Ifde514f971cf3821905d9f1beb491a53e7799325
2024-07-16 10:28:05 -05:00
jgart
b91353f372
gnu: Add gunicorn-next.
...
* gnu/packages/python-xyz.scm (gunicorn-next): New variable.
Change-Id: I7a89e77bb0fcdfa620d07600bb06c75a720ce9b8
2024-07-16 02:02:04 -05:00
jgart
07557fd149
gnu: gunicorn: Add bash-minimal to satisfy linter.
...
* gnu/packages/python-web.scm (gunicorn)[inputs]: Add bash-minimal.
Change-Id: I4d63f9c0d2c1b02f6e2d701fac9698c57a95223a
2024-07-16 01:50:15 -05:00
jgart
c1ad68d657
gnu: gunicorn: Use pyproject-build-system.
...
* gnu/packages/python-web.scm (gunicorn)[build-system]: Use
pyproject-build-system.
Change-Id: I52c8ad0169cef33830b90b9ba243ced58d401eb4
2024-07-16 01:49:10 -05:00
jgart
3e7ce72d80
Revert "gnu: python-requests-toolbelt: Update to 1.0.0."
...
This breaks poetry so reverting.
This reverts commit ddb22a10e0
.
2024-07-13 09:46:29 -05:00
jgart
d7fbdd2b16
Revert "gnu: python-requests-toolbelt: Use new style."
...
This breaks poetry so reverting.
This reverts commit c0ecad208e
.
2024-07-13 09:45:38 -05:00
jgart
c0ecad208e
gnu: python-requests-toolbelt: Use new style.
...
* gnu/packages/python-xyz.scm (python-requests-toolbelt) [arguments]: Use new
style.
Change-Id: Ifbb305babeff37a34ca8789c3a08e0363e8583bf
2024-07-13 09:05:18 -05:00
Felix Gruber
ddb22a10e0
gnu: python-requests-toolbelt: Update to 1.0.0.
...
* gnu/packages/python-web.scm (python-requests-toolbelt): Update to 1.0.0.
[arguments]: Delete tests that are incompatible with urllib3 >= 2.0.
[native-inputs]: Remove python-mock; add python-pyopenssl and python-trustme.
Change-Id: I349bd9cef34cdbf7a51612e8b9d5dac59101d1bd
Signed-off-by: jgart <jgart@dismail.de>
2024-07-13 09:05:17 -05:00
Leo Famulari
bb1eb43c31
gnu: python-requests-next: Update to 2.32.3.
...
* gnu/packages/python-web.scm (python-requests-next): Update to 2.32.3.
Change-Id: Iaf2ebe678b4ee6a4d57a3c5273db244d240e2b55
2024-07-10 16:58:13 -04:00
Leo Famulari
0fa4cb5750
gnu: python-websockets: Update to 12.0
...
* gnu/packages/python-web.scm (python-websockets): Update to 12.0.
Change-Id: I6217093bbdfb81b35eb7c8d59ada3f612b7d9511
2024-07-03 21:47:20 -04:00
Leo Famulari
6c6670d909
gnu: Add python-urllib3 1.26.17.
...
This is the minimum required version in recent versions of yt-dlp.
* gnu/packages/python-web.scm (python-urllib3-next): New variable.
Change-Id: Ib57bbe45fd1c9c9fa3872a00f161979762feacf6
2024-07-03 21:47:19 -04:00
Leo Famulari
190ca32d24
gnu: Add python-requests 2.31.0.
...
This is the minimum required version in recent versions of yt-dlp.
* gnu/packages/python-web.scm (python-requests-next): New variable.
Change-Id: I825cb928297cddc2fbbca1ce5acdbf6cff276bbc
2024-07-03 21:47:19 -04:00
Ben Sturmfels
2a499ada72
gnu: Add python-wtforms-sqlalchemy.
...
* gnu/packages/python-web.scm (python-wtforms-sqlalchemy): New variable.
Change-Id: Ie94c07d055ec42f08db3a18894e7f6184006764f
Signed-off-by: jgart <jgart@dismail.de>
2024-06-17 17:15:09 -05:00
Ben Sturmfels
2e819f7f0e
gnu: python-wtforms: Update to 3.1.2.
...
* gnu/packages/python-web.scm (python-wtforms): Update to 3.1.2.
Change-Id: Id8119d0536d4d2dfa5c81de37013af68489c5fa5
Signed-off-by: jgart <jgart@dismail.de>
2024-06-17 17:15:02 -05:00
Giacomo Leidi
34604cc0fa
gnu: Add python-pybadges.
...
* gnu/packages/python-web.scm (python-pybadges): New variable.
Change-Id: Idd53ddf94b24112015c0a0b82396cf366920417e
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-05-31 13:55:42 +02:00