Commit graph

1256 commits

Author SHA1 Message Date
Sharlatan Hellseher
11ef30cb05
gnu: Add python-gdown.
* gnu/packages/python-web.scm (python-gdown): New variable.

Change-Id: I8809b983bba3db0d3c4329d4dea4c39cac17b029
2025-07-31 22:13:41 +01:00
Nicolas Graves
e1da1a3216
gnu: python-eventlet: Update to 0.40.2.
* gnu/packages/python-web.scm (python-eventlet): Update to 0.40.2.
[native-inputs]: Add python-pypa-build, remove python-twine.
[propagated-inputs]: Remove python-monotonic.

Change-Id: I6361c39ab57c03402ff7c0362c1719f34d3e21b2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-27 00:25:48 +01:00
Nicolas Graves
b960746197
gnu: python-eventlet: Set EVENTLET_NO_GREENDNS=yes by default.
This error propagates and pollutes user experience in Guix.  Until
someone tackles how to actually fix it, if it's even fixable in Guix,
change the hardcoded default.

* gnu/packages/python-web.scm (python-eventlet):
  [arguments]<#:phases>: Set EVENTLET_NO_GREENDNS=yes by default in
  phase 'avoid-OSError.
  [description]: Update the description to warn about the changed
  default.
(python-httpretty)[arguments]: Remove uneeded field.

* gnu/packages/python-xyz.scm (python-pydevd)[arguments]<#:phases>:
Unset the variable in phase 'pre-check.

* gnu/packages/tor.scm (onionshare, onionshare-cli)[arguments]
<#:phases>: Unset the variable in phase 'pre-check.

Change-Id: Ic3897a9e0006338c3bc8b4bcddab0948e76a5d87
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-27 00:25:39 +01:00
Vinicius Monego
a10d0b3c13
gnu: python-autobahn: Update to 24.4.2.
* gnu/packages/python-web.scm (python-autobahn): Update to 24.4.2.
[build-system]: Use pyproject-build-system.
[arguments]: Use Gexp.
<#:phases>: Add new phases 'relax-zope-interface' and
'strip-xbr' after 'unpack'.
[native-inputs]: Add python-setuptools, python-wheel.
[propagated-inputs]: Add python-cryptography, python-hyperlink.
[home-page]: Switch to GitHub repository.

Change-Id: I8fb5389158a304863cef1bb3a1e0014a955ec773
2025-07-26 13:32:54 -03:00
Nicolas Graves
c79c13eaa7
gnu: python-pybadges: Add missing inputs.
* gnu/packages/python-web.scm (python-pybadges):
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ib786f5a07c4613e455b78281919b6ae9a0238825
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-25 11:32:12 +01:00
Vinicius Monego
147792f3d3
gnu: Add python-whitenoise.
* gnu/packages/python-web.scm (python-whitenoise): New variable.

Change-Id: I662d03f4bbfdc897fae7c386a5c652427d1c4232
2025-07-23 15:30:16 -03:00
Nicolas Graves
92bc386eda
gnu: python-selenium: Update to 4.28.1.
* gnu/packages/python-web.scm (python-selenium): Update to 4.28.1.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Disable failing tests.
<#:phases>: Add phase 'chdir.
[propagated-inputs]: Add python-certifi, python-trio,
python-trio-websocket, python-typing-extensions,
python-websocket-client.
[native-inputs]: Add python-filetype, python-pytest,
python-pytest-mock, python-pytest-trio, python-setuptools-rust.

Change-Id: Id0e4c222e19d0406d4173bef91561d8bcf8332c6
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:26 +01:00
Nicolas Graves
a7c606c5ab
gnu: python-openid-teams: Switch to pyproject.
* gnu/packages/python-web.scm (python-openid-teams)
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Id7d1d855c1c6200037fa20be68f4d38563adc31d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:26 +01:00
Nicolas Graves
b23aaf7eae
gnu: python-openid-cla: Switch to pyproject.
* gnu/packages/python-web.scm (python-openid-cla)
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: If980a67a28a210f11e1d122426ed5b771b54ae07
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Nicolas Graves
e5226ef22f
gnu: python-openid: Switch to pyproject.
* gnu/packages/python-web.scm (python-openid)
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove use of coverage in 'check phase.
[native-inputs]: Remove python-coverage. Add python-setuptools,
python-wheel.

Change-Id: I6aa46912964f4c02e3ecb1ced4792f332a1f0fc0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Nicolas Graves
cc8a580027
gnu: python-lazr-restfulclient: Update to 0.14.6.
* gnu/packages/python-web.scm (python-lazr-restfulclient): Update to 0.14.6.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Remove it (enable them).
<#:phases>: Add phase 'remove-some-tests.
[native-inputs]: Add python-setuptools, python-testtools,
python-wheel, python-wsgi-intercept, python-zope-testrunner.
[propagated-inputs]: Drop python-six.

Change-Id: If4c547908e730ab88b354c9fb571a02ee954a1bb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Nicolas Graves
360da46b91
gnu: python-selenium: Switch to pyproject-build-system.
* gnu/packages/python-web.scm (python-selenium):
  [build-system]: Switch to pyproject-build-system.
  [native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ida0451a6d0f219fe8669c631f11793d0872de35f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-07-23 16:24:25 +01:00
Sharlatan Hellseher
fd12063294
gnu: python-extruct: Update to 0.18.0.
* gnu/packages/python-web.scm (python-extruct): Update to 0.18.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I620b4612188f29ad6ce92319ad8c2efe89d030af
2025-07-23 16:24:24 +01:00
Sharlatan Hellseher
94bb5be20e
gnu: python-html-text: Update to 0.7.0.
* gnu/packages/python-web.scm (python-html-text): Update to 0.7.0.
  [build-system]: Use pyproject.
  [propagated-inputs]: Add python-lxml-html-clean.
  [native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib70f586460b4bc392f19f2a0e079bed69fc9bd97
2025-07-23 16:23:25 +01:00
Sharlatan Hellseher
eafc31a669
gnu: python-s3path: Update to 0.6.4.
* gnu/packages/python-web.scm (python-s3path): Update to 0.6.4.

Change-Id: Ic33b0b65a0b81e4132ad8429b5daae4e1342a4fc
2025-07-20 23:04:16 +01:00
Sharlatan Hellseher
5b31003983
gnu: python-smart-open: Set version.
* gnu/packages/python-web.scm (python-smart-open):
  [arguments] <phases>: Add 'set-version.
  [native-inputs]: Add python-setuptools-scm.

Change-Id: I724175db61c9438f14e11c4ced53a777a567f2dc
2025-07-20 23:03:51 +01:00
Sharlatan Hellseher
f5a97f8e83
gnu: python-smart-open: Update to 7.3.0.
* gnu/packages/python-web.scm (python-smart-open): Update to 7.3.0.
  [source]: Switch to git-fetch containing tests.
  [build-system]: Use pyproject.
  [arguments] <test-flags>: Skipp integration tests and the ones
  requiring python-google-cloud-storage due to guix/guix#1436 issue.
  <phases>: Use default 'check.
  [propagated-inputs]: Remove python-google-cloud-storage; add
  python-paramiko, python-wrapt, and python-zstandard.
  [native-inputs]: Remove python-flask, python-flask-cors,
  python-graphql-core, python-paramiko, and python-pathlib2; add
  python-numpy, python-setuptools, and python-wheel.

Change-Id: I789206a8d771959f433ae56ab4b642c8e4d23117
2025-07-20 22:54:00 +01:00
Janneke Nieuwenhuizen
7dbb922ee5
gnu: gunicorn: Update to 22.0.0.
* gnu/packages/python-web.scm (gunicorn): Update to 22.0.0.
(gunicorn-next): Remove.

Change-Id: I3e62ce45ca3c48e5c76b83b15b08bf420ff4d476
2025-07-18 20:17:23 +02:00
Sharlatan Hellseher
e9b17f472a
gnu: Add python-aiocoap.
* gnu/packages/python-web.scm (python-aiocoap): New variable.

Change-Id: I6d51318358224e2d742403b7307a3fd7c3df486b
2025-07-03 12:26:47 +01:00
Vinicius Monego
9466dea10d
gnu: python-priority: Update to 2.0.0.
* gnu/packages/python-web.scm (python-priority): Update to 2.0.0.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Do not override the 'check' phase. Enable all
tests.
[native-inputs]: Remove python-hypothesis, python-pytest-cov,
python-pytest-xdist. Add python-setuptools, python-wheel.

Change-Id: Idfeeccdec3e31b600d7d69020afc55a5a66a3dee
2025-07-02 18:38:05 -03:00
Vinicius Monego
1b726d78b8
gnu: python-flask-session: Update to 0.8.0.
* gnu/packages/python-web.scm (python-flask-session): Update to 0.8.0.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-flit-core.
[propagated-inputs]: Add python-msgspec.
[home-page]: Follow redirect.

Change-Id: Ie5efb5f690e33339a5e8fb6dac035f5b88d1a212
2025-06-29 00:04:42 -03:00
Vinicius Monego
e583bfed56
gnu: python-mechanicalsoup: Update to 1.4.0.
* gnu/packages/python-web.scm (python-mechanicalsoup): Update to 1.4.0.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[arguments]<#:phases>: Add phase 'relax-dependencies' after 'unpack'.
[propagated-inputs]: Remove python-six.
[native-inputs]: Remove python-pytest-runner. Add python-pytest.

Change-Id: Ib22e670f620419c59f8b51e38c14008da9a78f29
2025-06-21 23:27:35 -03:00
Jake Forster
f5237bb3a1
gnu: Add python-dicomweb-client.
* gnu/packages/python-web.scm (python-dicomweb-client): New variable.

Change-Id: I16f511aac93944ae38d147652449a17ad4cfaba0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-06-18 23:46:29 +01:00
Vinicius Monego
68be38eed7
gnu: python-scrapy: Update to 2.13.1.
* gnu/packages/python-web.scm (python-scrapy): Update to 2.13.1.
[arguments]<#:test-flags>: Skip failing test.
[native-inputs]: Add python-hatchling.

Change-Id: I027e3a9d0f9dcc580abaa9eeec02f7badfa6675a
2025-06-04 20:29:34 -03:00
Vinicius Monego
371cd2d5c0
gnu: python-parsel: Update to 1.10.0.
* gnu/packages/python-web.scm (python-parsel): Update to 1.10.0.

Change-Id: I1cfdbb9e135bd66e19d0a3ccb666f35da03e959a
2025-06-04 20:29:34 -03:00
Vinicius Monego
2ac0b4ba12
gnu: python-w3lib: Update to 2.3.1.
* gnu/packages/python-web.scm (python-w3lib): Update to 2.3.1.

Change-Id: Ibe034f274fcb3a10cdbae269e137e1246f4dfc1e
2025-06-04 20:29:34 -03:00
Vinicius Monego
ff0ada485a
gnu: python-protego: Update to 0.4.0.
* gnu/packages/python-web.scm (python-protego): Update to 0.4.0.
[source]: Update URI.
[build-system]: Use pyproject-build-system.
[arguments]: Do not override the 'check' phase.
[native-inputs]: Add python-setuptools, python-wheel.
[synopsis, description]: Improve it.

Change-Id: I2fa28415e26d0abe8bcad68dea73885d721b1fdd
2025-06-04 20:29:34 -03:00
Sharlatan Hellseher
b0e6bfc822
gnu: Add python-globus-sdk.
* gnu/packages/python-web.scm (python-globus-sdk): New variable.

Change-Id: Idb8ce6d9bc96ba30615e6de9a3b5612489ab47a8
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
2025-05-31 17:47:52 +03:00
Sharlatan Hellseher
0734c42da2
gnu: Add python-ldaptor.
* gnu/packages/python-web.scm (python-ldaptor): New variable.

Change-Id: If7d2cb7b51bb0ccc85b76d7f2d4b31857e042066
2025-05-27 10:56:59 +01:00
Leo Nikkilä
127f232d1d
gnu: awscli-2: Skip failing tests.
Skips two failing tests with the awscli-2 package, which have been
failing the build recently.

The first one is related to the version of prompt-toolkit that's being
used as an input. Upstream doesn't support some of the later versions,
however this doesn't seem to cause any visible problems right now apart
from the test failing, at least on aarch64.

The other issue is due to `os.environ["PATH"]` throwing a KeyError once
in a while, seems like this test is being affected by some other test
since running it in isolation works for me. See
<https://ci.guix.gnu.org/build/10641072/log> for an example.

* gnu/packages/python-web.scm (awscli-2)[arguments]<#:test-flags>: Skip
failing prompt-toolkit tests, likewise for emrutils.

Change-Id: Ia36aebccb2bd2f97d9c32a1a35a5fb5139c23330
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-26 17:11:45 +01:00
Sharlatan Hellseher
45a88519bf
gnu: python-slixmpp: Move to python-web.
* gnu/packages/python-xyz.scm (python-slixmpp): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I43511d6ebc6762ea84ae56966d62a0a10468e8b3
2025-05-16 21:45:30 +01:00
Sharlatan Hellseher
6eef69608e
gnu: parfive: Renamve variable.
The most of the time Parfive is used as Python's library which
complicates using Guix import, this change align the name with expected
by importer.

* gnu/packages/python-web.scm (parfive): Rename variable to python-parfive.
* gnu/packages/astronomy.scm (python-sunpy, python-sunpy-minimal)
[propagated-inputs]: Remove parfive; add python-parfive.

Change-Id: I1a6d29f64d9aa49caff2838125f0ee2ca0e65b46
2025-05-12 20:25:41 +01:00
Sharlatan Hellseher
22a9f2dad1
gnu: parfive: Update to 2.2.0.
* gnu/packages/python-web.scm (parfive): Update to 2.2.0.
[native-inputs]: Remove python-setuptools-scm; add python-setuptools-scm-next.

Change-Id: I1236f5e4a79e68314ea288eb8361c4f0d2addec6
2025-05-12 20:25:41 +01:00
gemmaro
062e399880
gnu: Add python-aiohttp-client-cache.
* gnu/packages/python-web.scm (python-aiohttp-client-cache): New variable.

Change-Id: Iea3f8ad33cbb2ee8979cb59071653ddb54e5111b
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-10 20:05:59 +01:00
Sergio Pastor Pérez
c64b548a09
gnu: Add python-aiohttp-cors.
* gnu/packages/python-web.scm (python-aiohttp-cors): New variable.

Change-Id: Ic94d0b06d787564e20fbe39196d5843af4e9f3a2
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-05-10 16:12:21 +01:00
Sharlatan Hellseher
f3f64aa4b8
gnu: python-httpretty: Move to python-web.
* gnu/packages/web.scm: ... to here.
* gnu/packages/python-web.scm (python-httpretty): Move from here ...

Change-Id: Idcdf8e2c1dc808f243314a53f03e4ab9b8a0c620
2025-05-09 22:40:28 +01:00
Sharlatan Hellseher
a1c57d4e52
gnu: python-docusign-esign: Move to python-web.
* gnu/packages/python-xyz.scm (python-docusign-esign): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I2647c3634d18ac0536385acfc5266c6345a30891
2025-05-08 11:06:38 +01:00
Sharlatan Hellseher
af72a3cd55
gnu: python-flask-restful: Fix home-page.
* gnu/packages/python-web.scm (python-flask-restful): [home-page]: Fix
it.

Change-Id: Ie53853e38ab2a8704d7825c39c95c09c924d5fa4
2025-05-08 11:06:36 +01:00
Sharlatan Hellseher
6ea46370ea
gnu: python-zeep: Adjust native inputs.
* gnu/packages/python-web.scm (python-zeep): [native-inputs]: Remove
python-coverage, python-flake8, python-flake8-blind-except,
python-flake8-debugger, and python-isort.

Change-Id: Ia359126c748b8a7c4efc949bcaf43b9c53e16d39
2025-05-08 07:43:01 +01:00
Andreas Enge
c8efb51982
gnu: Remove python-whatthepatch.
This is a duplicate of a package of the same name in
(gnu packages python-xyz). Remove the variable with lower version number
and without dependencies.

* gnu/packages/python-web.scm (python-whatthepatch): Delete variable.

Change-Id: Icb92be0f8560e089396779a00eecdd64137bf127
Reported-by: nomike <nomike@nomike.com>
2025-05-01 08:57:55 +02:00
Sharlatan Hellseher
e16a2d1639
gnu: python-pyscss: 1.4.0-0.73559d0.
* gnu/packages/python-web.scm (python-pyscss): 1.4.0-0.73559d0.

Change-Id: I226351b69eac61be90d0a689c03515a20e9402ad
2025-04-25 12:50:56 +01:00
Sharlatan Hellseher
115b05af2a
gnu: python-zodb: Update to 6.0.1.
* gnu/packages/python-web.scm (python-zodb): Update to 6.0.1.
[propagated-inputs]: Remove python-six.
[native-inputs]: Add python-wheel.

Change-Id: Ieca05b7b3b17baba2aa262c71d2af6de3ea2708a
2025-04-25 12:50:56 +01:00
Nicolas Graves
6c134ae279
gnu: python-suds: Fix dist-info.
* gnu/packages/python-web.scm (python-suds)
[arguments]{phases}: Add phase 'add-custom-dist-info.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-24 04:53:41 +01:00
Cayetano Santos
fc718a5df9
gnu: Add python-urllib3-1.25.
* gnu/packages/python-web.scm (python-urllib3-1.25): New variable.

Change-Id: I28ea55b42dee708ad8d15e51d6b8e8a5ec2f392f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2025-04-23 23:12:22 +01:00
Sharlatan Hellseher
6f6e795316
gnu: grip: Fix build.
* gnu/packages/python-web.scm (grip): Fix build and refresh package style.
[build-system]: Switch to pyproject.
[arguments] <test-flags>: Ignore all tests requiring networking.
<phases>: Add 'fix-response-encoding; use default 'check.
[native-inputs]: Add python-setuptools, and python-wheel.
[description]: Fix fill column indentation.

Change-Id: I131ab5efa965760f05411c7dbdb2349d9e8cbcc3
2025-04-16 20:34:13 +01:00
Nicolas Graves
568867b62e
gnu: python-docutils-0.15: Update to 0.16.
* gnu/packages/python-xyz.scm (python-docutils-0.15): Update to 0.16.
[native-inputs]: Replace python-setuptools-57 by python-setuptools.
* gnu/packages/python-web.scm (awscli)[inputs]: Update accordingly.
* gnu/packages/sphinx.scm (python-sphinx-panels)[propagated-inputs]:
Update accordingly.

Change-Id: I84360acf8d8213d0d49301e116f1a158bdb545e7
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:35 +02:00
Nicolas Graves
6b2c5900dd
gnu: python-cfn-lint: Update to 1.28.0.
* gnu/packages/python-web.scm (python-cfn-lint): Update to 1.28.0.

Change-Id: I1fa1a4836b2e4b1e360eaf08aa8399dda6435c48
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:34 +02:00
Nicolas Graves
55d7b8f1f6
gnu: gunicorn: Migrate 'check phase to pyproject-build-system.
* gnu/packages/python-web.scm (gunicorn)[arguments]
{phases}: Remove 'check phase and migrate its flags to...
{test-flags}: ...here.

Change-Id: I0635d386d91ef2476dd513787df166f1b181c03c
Signed-off-by: Steve George <steve@futurile.net>
2025-04-16 11:46:34 +02:00
Sharlatan Hellseher
2b8dd22bb9
gnu: python-eventlet: Update to 0.39.1.
* gnu/packages/python-web.scm (python-eventlet): Update to 0.39.1, fix
build.

Change-Id: Ib415f42d10acf638ddd4692fc9d0701922c52714
2025-04-16 11:46:34 +02:00
Sharlatan Hellseher
20591361e1
gnu: Remove python-webcolors-24.
It's the same variant as python-webcolors.

* gnu/packages/python-web.scm (python-webcolors-24): Delete variable.
* gnu/packages/python-xyz.scm (python-jsonschema) [propagated-inputs]:
Remove python-webcolors-24; add python-webcolors.

Change-Id: Iaa1db96aaf95618ecef5e8560472b1122e18f009
2025-04-16 11:46:33 +02:00