Commit graph

1001 commits

Author SHA1 Message Date
Nicolas Graves
bc90ab9281
gnu: python-apiron: Move to pyproject-build-system.
* gnu/packages/python-web.scm (python-apiron):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Replace field with <#:test-flags>.

Change-Id: I04bb9739b6356fd50fc07ae54838764d51ed22d6
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
7779c5e794
gnu: python-zope-i18nmessageid: Update to 5.1.1.
* gnu/packages/python-web.scm (python-zope-i18nmessageid): Update to 5.1.1.

Change-Id: Ia53db09774addf05b0a856fd1f573c5dd5c902aa
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
5ff86792e5
gnu: python-http-ece: Update to 1.2.0.
* gnu/packages/python-web.scm (python-http-ece): Update to 1.2.0.

Change-Id: I8d82959841b64db48eb01b88914298ba12f1a388
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +00:00
Ricardo Wurmus
799c56265f
gnu: python-pycurl: Update to 7.45.3.
* gnu/packages/python-web.scm (python-pycurl): Update to 7.45.3.
[arguments]: Adjust tests.

Change-Id: I05120931c979d292c2f888d29c80c93a82a291a0
2024-12-13 20:18:46 +00:00
Ricardo Wurmus
a10ee797b2
gnu: python-openapi-core: Update to 0.19.1.
* gnu/packages/python-web.scm (python-openapi-core): Update to 0.19.1.
[arguments]: Enable one test that no longer fails, disable others that do.
[propagated-inputs]: Add python-aiohttp.

Change-Id: I0a793911f795e18750009e7834b7e1f6d7152282
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
565f483ef0
gnu: python-openapi-spec-validator: Update to 0.7.1.
* gnu/packages/python-web.scm (python-openapi-spec-validator): Update to
0.7.1.
[arguments]: Update test selection.
[propagated-inputs]: Add python-jsonschema-path and python-lazy-object-proxy.

Change-Id: Ie10257a90b495addf3ea890cf9b3c71c6f14da8f
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
2b211ddc88
gnu: python-requests: Update to 2.31.0.
* gnu/packages/python-web.scm (python-requests): Update to 2.31.0.
[build-system]: Use pyproject-build-system.
[arguments]: Disable only some tests.
[native-inputs]: Add python-pip, python-pytest, python-pytest-mock,
python-setuptools, and python-wheel.
[home-page]: Update.

Change-Id: Ifb33b76393fc1e1ea21d7f22277c6b5e30e4bb1d
2024-12-13 20:18:42 +00:00
Ricardo Wurmus
7ab238ba60
gnu: python-openapi-schema-validator: Update to 0.6.2.
* gnu/packages/python-web.scm (python-openapi-schema-validator): Update to
0.6.2.
[arguments]: Disable one test.

Change-Id: I72190fa157e8c80fdbaf94514f6fb5c4bd8d22bb
2024-12-13 20:18:42 +00:00
Ricardo Wurmus
6ccd3b28e4
gnu: python-websocket-client: Update to 1.8.0.
* gnu/packages/python-web.scm (python-websocket-client): Update to 1.8.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove 'skip-network-test and custom 'check phase; use
 #:test-flags to disable test.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib5794c64df1d9c3759c3f9a8c1d0f8642afa83c4
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
5b5fb77ff9
gnu: python-pycurl: Add missing inputs.
* gnu/packages/python-web.scm (python-pycurl)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: If290b96a993efc1ec984ef3f967f122a8ae383d0
2024-12-13 20:18:33 +00:00
Lars-Dominik Braun
6d97c15911
gnu: Add python-setuptools/python-wheel where necessary.
Changes to pyproject-build-system require explicit dependency on
setuptools/wheel.

Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
2024-12-13 20:18:25 +00:00
Lars-Dominik Braun
fdc0fefd46
build-system/pyproject: Use python-sans-pip-wrapper as default-python.
Also adds python-setuptools and python-wheel to relevant packages,
either to native-inputs or to propagated inputs if the pkg_resources
Python module is loaded at runtime.

* guix/build-system/pyproject.scm (default-python): Default to
python-sans-pip-wrapper.

Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
2024-12-13 20:15:41 +00:00
Gabriel Wicki
8d05f0c8db
gnu: Fix synopsis in various python packages.
* gnu/packages/python-compression.scm (python-inflate64): Fix synopsis.
* gnu/packages/python-science.scm (python-xarray-dataclasses): Fix synopsis.
* gnu/packages/python-web.scm (python-waybackpack): Fix synopsis.
* gnu/packages/python-xyz.scm (python-mir-eval): Fix synopsis.
(python-restructuredtext-lint): Fix synopsis.  (python-pixelmatch): Fix
synopsis.  (python-google-pasta): Fix synopsis.  (python-xmp-toolkit): Fix
synopsis.
* gnu/packages/bioinformatics.scm (python-mgatk): Fix synopsis.
* gnu/packages/rpc.scm (python-grpc-stubs): Fix synopsis.
* gnu/packages/simulation.scm (python-commonroad-io): Fix synopsis.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
2024-12-10 22:35:06 -08:00
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