1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-10 07:00:37 +02:00
Commit Graph

137099 Commits

Author SHA1 Message Date
Antero Mejr
d4f5e7dfe7 gnu: python-betamax: Update to 0.9.0.
* gnu/packages/python-web.scm (python-betamax): Update to 0.9.0.

Change-Id: Ia4696d1150e1ee24ca6b27251a7db05d14d1351b
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:37 +00:00
Antero Mejr
ec9381fbe7 gnu: Add python-installer.
* gnu/packages/python-xyz.scm (python-installer): New variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
fdd036fce7 gnu: python-starlette: Update to 0.41.3.
* gnu/packages/python-web.scm (python-starlette): Update to 0.41.3.

Change-Id: I36c69a16eaaca90503bfe0c0e8ee8e7941f98e94
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
db7da9c802 gnu: python-uvicorn: Update to 0.32.1.
* gnu/packages/python-web.scm (python-uvicorn): Update to 0.32.1.
[arguments]<test-flags>: Disable multiprocess tests.
<phases>: Remove 'patch-pyproject, newer version of Hatchling does like
it now.

Change-Id: Ie22fc5134d5e40eb4bb7e27681556fc88af886ef
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
337d2d0f9f gnu: python-a2wsgi: Update to 1.10.7.
* gnu/packages/python-web.scm (python-a2wsgi): Update to 1.10.7.
[arguments]<tests>: Enable most of them.
<test-flags>: Exclude test which introduce cycle.
[native-inputs]: Add python-pytest, python-httpx-bootstrap, and
python-pytest-asyncio.

Change-Id: Id171de02323e0db99c86fb7297be424a5ddc1d3b
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
e28b014014 gnu: python-watchgod: Fix build.
The latest version depends on a long list of Rust packages and maturin
build system, this change just fixes the build.

* gnu/packages/python-xyz.scm (python-watchgod):
[arguments]<phases>: Remove 'sanity-check, all tests passed.
[native-inputs]: Remove python-pytest-toolbox.

Change-Id: I36e84ed09a2321636257c0a5528bf01aea1d2d7e
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
c8fff888e2 gnu: python-anyio: Update to 4.6.2.
* gnu/packages/python-xyz.scm (python-anyio): Update to 4.6.2.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-coverage; add python-psutil,
python-setuptools, and python-wheel.

Change-Id: I8f8a25d67561446afe1c399cd9cde11ac43df333
2024-12-13 20:28:37 +00:00
Sharlatan Hellseher
e106fcfba2 gnu: python-uvloop: Update to 0.21.0.
* gnu/packages/python-web.scm (python-uvloop): Update to 0.21.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Disable one test.
[native-inputs]: Remove python-cython; add python-cython-3,
python-setuptools, and python-wheel.

Change-Id: I1124bbfcfc3f333448cb3c08f9d2b08b61a0a46e
2024-12-13 20:28:36 +00:00
Sharlatan Hellseher
7938fe7662 gnu: python-aiofiles: Fix indentation.
* gnu/packages/python-xyz.scm (python-aiofiles) Fix indentation.

Change-Id: Iaed80a2533881d8c487b4459041f20fd6e4ad68d
2024-12-13 20:28:36 +00:00
Sharlatan Hellseher
5dfe277d0a gnu: python-aiofiles: Update to 24.1.0.
* gnu/packages/python-xyz.scm (python-aiofiles): Update to 24.1.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-hatchling, python-hatch-vcs, python-pytest,
and python-pytest-asyncio.

Change-Id: I8888c4aa1b161f7f8438ce9a2c84a884ecfdcbd3
2024-12-13 20:28:36 +00:00
Sharlatan Hellseher
ee4d2d4b52 gnu: python-redis: Fix build.
* gnu/packages/databases.scm (python-redis)
[arguments]<test-flags>: Exclude one failing test.
[native-inputs]: Remove python-pytest-asyncio; add
python-pytest-asyncio-0.23.

Change-Id: I3660d61dfb6bad8311824c85a2ce7b28facd580b
2024-12-13 20:28:25 +00:00
Sharlatan Hellseher
f0ef42b3fa gnu: Add python-pytest-asyncio-0.23.
* gnu/packages/check.scm (python-pytest-asyncio-0.23): New variable.

Change-Id: I4de42bee146ac1e1a10de7a3b605734c2386465f
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
4a28c902e0 gnu: python-async-timeout: Update to 4.0.3.
* gnu/packages/python-xyz.scm (python-async-timeout): Update to 4.0.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'fix-pytest-config.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[descriptin]: Start from a new line.

Change-Id: I1f2909d17a5ad3cff60acbd606cdf802fa1e463e
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
11684c6429 gnu: python-paramiko: Update to 3.5.0.
* gnu/packages/python-crypto.scm (python-paramiko): Update to 3.5.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Enable them.
[propagated-inputs]: Add python-invoke.
[native-inputs]: Add python-pytest, python-icecream, python-pytest-relaxed,
python-pytest-xdist, python-setuptools, and python-wheel.

Change-Id: I9ba2f5123ca066d993e8d3c797207179ff8c466b
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
46038c4f44 gnu: python-pytest-relaxed: Update to 2.0.2.
* gnu/packages/check.scm (python-pytest-relaxed): Update to 2.0.2.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I8c94f48bc7ad97421ba4043334d3d2315f5ec391
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
e6896b25fc gnu: python-ecdsa: Update to 0.19.0.
* gnu/packages/python-crypto.scm (python-ecdsa): Update to 0.19.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ib7077ffd3c78b4b995bb3c278fd27738b2c952ee
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
621f1231ab gnu: python-icecream: Adjust inputs.
* gnu/packages/python-xyz.scm (python-icecream) [native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I5113590baf0ba80dae2b8931870c65dba9358cb7
2024-12-13 20:23:32 +00:00
Sharlatan Hellseher
4e1e9625a4 gnu: python-anytree: Update to 2.12.0.
* gnu/packages/python-xyz.scm (python-anytree): Update to 2.12.0.
[source]: Swap to git checkout containing tests.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'pre-check.
[native-inputs]: Remove python-nose; add python-poetry-core and
python-pytest.

Change-Id: I5520d3824ad6c03bda1b213876277e289e802f4c
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
8da6db1850 gnu: python-loguru: Update to 0.7.2.
* gnu/packages/python-xyz.scm (python-loguru): Update to 0.7.2.
[native-inputs]: Remove python-colorama, python-mypy, python-pre-commit,
python-pytest-cov, python-sphinx, python-sphinx-autobuild,
python-sphinx-rtd-theme, and python-tox; add python-pytest-xdist.

Change-Id: I6dac12d1dabd7987e5e0239630d8e896924df633
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
def0034a9b gnu: python-pytest-mypy-plugins: Update to 3.1.2.
* gnu/packages/check.scm (python-pytest-mypy-plugins): Update to 3.1.2.
Improe package style.
[arguments]<tests>: Enable the most of the tests.
<phases>: Use custom 'check phase.
[propagated-inputs]: Remove python-chevron and python-setuptools; add
python-jinja2, python-jsonschema, python-packaging, and python-tomlkit.
[native-inputs]: Add python-setuptools.

Change-Id: Ice79f75706bf57b97e8e0e8a3b6a54cd6be03946
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
d08da56050 gnu: python-tenacity: Update to 9.0.0.
* gnu/packages/python-xyz.scm (python-tenacity): Update to 9.0.0.
Adjust indentation and fill column.

Change-Id: I64e0aeb95b5b35d9c68649f8228cc36cd5d89179
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
70dbb0720a gnu: python-tornado-6: Update to 6.4.2.
* gnu/packages/python-web.scm (python-tornado-6): Update to 6.4.2.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: I4338745b18eec94f0f492b80b1d5b99f69a37085
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
de3a139b3c gnu: python-pytest-regressions: Update to 2.5.0.
* gnu/packages/check.scm (python-pytest-regressions): Update to 2.5.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-tox; add python-setuptools.
[description]: Adjust fill collumn.

Change-Id: If571fae93dfbdf8543633f57fe5e597e1667ab25
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
befea34619 gnu: python-vcrpy: Update to 6.0.2.
* gnu/packages/python-check.scm (python-vcrpy): Update to 6.0.2.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Remove python-black, python-coverage, python-flake8,
and python-tox; add nss-certs-for-test, python-setuptools, and
python-wheel.

Change-Id: Ie0e4fcd41bed09232c589a9486449f62377ae87e
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
fa830bdd09 gnu: python-pytest-trio: Update to 0.8.0.
* gnu/packages/python-check.scm (python-pytest-trio): Update to 0.8.0.
[native-inputs]: Remove python-pytest-cov.

Change-Id: I6efe427aa12d4a4b069ac66370adf0ddcdee95dd
2024-12-13 20:23:31 +00:00
Sharlatan Hellseher
ecae6bb621 gnu: python-trio: Update to 0.27.0.
* gnu/packages/python-xyz.scm (python-trio): Update to 0.27.0.
[arguments]<test-flags>: Disable more failing tests.
<phases>: Remove 'patch-sleep as resolved upstream. Remove change-home,
add 'set-env phase.
[native-inputs]: Remove python-ipython, python-pylint,
python-pytest-xdist, and python-pytest-cov; add python-isort and
python-pytest-asyncio.

Change-Id: I0f05649e05c76f556a9b23035c23c90b67ab8014
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
1c5a93389c gnu: python-sniffio: Update to 1.3.1.
* gnu/packages/python-xyz.scm (python-sniffio): Update to 1.3.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I4a657235ad061721d8ca5193ed3318aa13e1b5a7
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
f719b0136a gnu: python-ipython: Update to 8.29.0.
* gnu/packages/python-xyz.scm (python-ipython): Update to 8.29.0.

Change-Id: Id0f12c0ce404e23800b52af5dfb935691e2d7379
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
5c5398bd48 gnu: python-stack-data: Update to 0.6.3.
* gnu/packages/python-xyz.scm (python-stack-data): Update to 0.6.3.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Add 'set-home-env phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iec506c94451618ad32610f0a3302d8d2fe00f18f
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
84f7bbddf1 gnu: python-pure-eval: Update to 0.2.3.
* gnu/packages/python-xyz.scm (python-pure-eval): Update to 0.2.3.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I859206512fd9d768cf81a0497b07847d0824b832
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
e0ea00b05e gnu: python-executing: Update to 2.1.0.
* gnu/packages/python-xyz.scm (python-executing): Update to 2.1.0.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-asttokens, python-littleutils,
python-pytest, python-setuptools, and python-wheel.

Change-Id: I912a0dea949aca618d3f728e19dc27bbbfbc40c3
2024-12-13 20:23:30 +00:00
Sharlatan Hellseher
e5a6faeb12 gnu: Remove python-typeguard-4.
* gnu/packages/python-xyz.scm (python-typeguard-4): Delete variable.
* gnu/packages/python-check.scm (python-icontract) [native-inputs]:
Remove python-typeguard-4; add python-typeguard.
* gnu/packages/python-science.scm (python-pandera) [propagated-inputs]:
Remove python-typeguard-4; add python-typeguard.

Change-Id: Ie20deee06629452c804fa6f62b1bd1f67038bc86
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
b0b7fc0484 gnu: python-typeguard: Update to 4.4.1.
* gnu/packages/python-xyz.scm (python-typeguard): Update to 4.4.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase.
[propagated-inputs]: Add python-typing-extensions.
[native-inputs]: Add python-setuptools and python-wheel.

* gnu/packages/patches/python-typeguard-python3.10.patch: Delete file.
gnu/local.mk: Deregister patch.

Change-Id: Ibabc0645b4a6192614d714036fcba1f337924305
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
10af55b093 gnu: python-jupyter-core: Fix tests.
* gnu/packages/python-xyz.scm (python-jupyter-core) [native-inputs]: Add
python-pip.

Change-Id: I6c2c553cd6a0025fca29ca8bbb51d73f957c53c1
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
1a31a9fa1c gnu: python-asttokens: Update to 2.4.1.
* gnu/packages/python-xyz.scm (python-asttokens): Update to 2.4.1.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I95381f41e6e09d65ee0bfcef4c39d39a658a7607
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
860f7ad11b gnu: python-pylint: Update to 3.3.1.
* gnu/packages/check.scm (python-pylint): Update to 3.3.1. Refresh
package style.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check phase. Add 'set-home phase.
<test-flags>: Move test selection/exclusion logic here.
[native-inputs]: Add python-pytest-timeout, python-setuptools, and
python-wheel.

Change-Id: I2cde539f5f29a23d4037232937e419bbfd47d372
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
e190cfa13f gnu: python-astroid: Update to 3.3.4.
* gnu/packages/python-xyz.scm (python-astroid): Update to 3.3.4.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Remove python-pytest-runner; add python-setuptools and
python-wheel.

Change-Id: Iba903fcf31f5ff7b014d74426f91e80f17877fff
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
53f4a680fa gnu: python-fastjsonschema: Update to 2.20.0.
* gnu/packages/python-xyz.scm (python-fastjsonschema): Update to
2.20.0. Adjust style.
[source]: Swap to git checkout containing tests.
[arguments]<tests>: Enable them.
[native-inputs]: Remove python-pylint.

Change-Id: Ia5f9cccc3f225c621a56a17da07e5ea43d4489f9
2024-12-13 20:23:29 +00:00
Sharlatan Hellseher
7b7b0563e2 gnu: python-pytest-remotedata: Fix tests.
* gnu/packages/python-check.scm (python-pytest-remotedata): Fix tests.
[arguments]<test-flags>: Ignore one more test, enable parallel tests.
[native-inputs]: Add python-pytest-xdist.

Change-Id: Ib5f58f415491ea4f5090af8bf47d31584edb037b
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
06cb215d9d gnu: python-pytest-random-order: Update to 1.1.1.
* gnu/packages/check.scm (python-pytest-random-order): Update to 1.1.1.
[build-system]: Swap to pyproject-build-system.
[arguments]<test-flags>: Disable some failing tests.
[native-inputs]: Add python-pytest-xdist, python-setuptools, python-py, and
python-wheel.

Change-Id: Iab4d940379f7995669f5ead9980bb8779c3266e4
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
7427ff48be gnu: python-pytest-metadata: Update to 3.1.1.
* gnu/packages/python-check.scm (python-pytest-metadata): Update to 3.1.1.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-hatchling and python-hatch-vcs.

Change-Id: If6d335a10a8eafcbab09e6149f8117647f95990f
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
27fdf6fa94 gnu: python-prettytable: Update to 3.12.0.
* gnu/packages/python-xyz.scm (python-prettytable): Update to 3.12.0.
[build-system]: Swap to pyproejct-build-system.
[arguments]<phases>: Use custom 'check phase.
[native-inputs]: Remove python-pytest-lazy-fixture; add
python-hatchling, python-hatch-vcs, python-pytest-cov, and
python-pytest-lazy-fixtures.

Change-Id: I19d93bb92dec4f65d581dd8fcecbc137e1fdd4d6
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
1305fc004a gnu: Add python-pytest-lazy-fixtures.
* gnu/packages/check.scm (python-pytest-lazy-fixtures): New variable.

Change-Id: I366ede16bf72f99b38b1edc43535a2c969822787
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
c5a45b3a8f gnu: python-pytest-flask: Update to 1.3.0.
* gnu/packages/python-check.scm (python-pytest-flask): Update to 1.3.0.
[build-system]: Swap to pyproject-build-system.
[propagated-inputs]: Add python-flask.
[native-inputs]: Remove python-flask and python-werkzeug; add
python-setuptools and python-wheel.

Change-Id: I73beecdcb9b954cc406fbfb7cac3cb4614c299ae
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
52ad47b9cb gnu: python-pytest-doctestplus: Update to 1.2.1.
* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 1.2.1.
[arguments]<test-flags>: Enable tests requiring git.
<phases>: Add 'patch-git-path phase.
[native-inputs]: Add git-minimal/pinned.

Change-Id: If9fbec52481cc86581058e379e2f4f82ad7f1b2c
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
c443318dad gnu: python-pytest-flake8: Update to 1.3.0.
* gnu/packages/python-check.scm (python-pytest-flake8): Update to 1.3.0.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I4fc09e232585d3c92d27609e5d2d10c9d01bc7a5
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
f35a8c2416 gnu: Remove python-pytest-catchlog.
It's unmaintained for 7y, failing to build and not in use by any other
packages in Guix.

* gnu/packages/check.scm (python-pytest-catchlog): Delete variable.

Change-Id: Ia16c03a965d7b6fc493e950b41cdbc3a8898c1f2
2024-12-13 20:23:28 +00:00
Sharlatan Hellseher
e5a81b3f9f gnu: python-qstylizer: Update to 0.2.4.
* gnu/packages/python-xyz.scm (python-qstylizer): Update to 0.2.4.
[native-inputs]: Remove python-pytest-catchlog; add python-setuptools and python-wheel.

Change-Id: I09ef64e0cd5a2f4336b4ff6a78f4f9eca0eae7b6
2024-12-13 20:23:27 +00:00
Sharlatan Hellseher
98c3d491a3 gnu: python-tinycss2: Update to 1.4.0.
* gnu/packages/python-web.scm (python-tinycss2): Update to 1.4.0.
[native-inputs]: Remove python-pytest-flake8 and python-pytest-isort.

Change-Id: I397b3cd61473fcf90681be1cab784ba7cc16334b
2024-12-13 20:23:27 +00:00
Sharlatan Hellseher
7fd0b73989 gnu: python-pytest-asyncio: Update to 0.24.0.
* gnu/packages/check.scm (python-pytest-asyncio): Update to 0.24.0.
[source]: Swap to PyPI tarball as a fresh release contains tests.
[arguments]<tests>: Enable them.
<phases>: Remove 'pretend-version phase.

Change-Id: I67f11641fba485a94f5617292a4d75ec25af8420
2024-12-13 20:23:27 +00:00