Commit graph

4549 commits

Author SHA1 Message Date
Efraim Flashner
19e7200286
gnu: python-trio: Enable building on more architectures.
* gnu/packages/python-xyz.scm (python-trio)[arguments]: Adjust the
test-flags based on the package inputs.
[native-inputs]: Only include python-pyopenssl and python-trustme on
systems which have support for them.

Change-Id: I4f26d7af0dc0ce996c58b60002385dce9f9fbf50
2025-01-21 10:02:39 +02:00
Efraim Flashner
1b88114ff6
gnu: python-dnspython: Only include supported inputs.
* gnu/packages/python-xyz.scm (python-dnspython)[propagated-inputs]:
Only include packages when they are supported on the architecture.

Change-Id: I19acb435b11070ee55c6b878019e1ee8532063b7
2025-01-21 09:52:56 +02:00
Sharlatan Hellseher
94eca566b0
gnu: Add python-trubar.
* gnu/packages/python-xyz.scm (python-trubar): New variable.

Change-Id: I684fc614862cbfd3ac8edaaf68e66ea2a8ec237b
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
3e4f27f54c
gnu: python-libcst: Update to 0.3.18.
* gnu/packages/python-xyz.scm (python-libcst): Update to 0.3.18. Use
G-Expressions, improve style and fix build.
[build-system]: Swap to pyproject-build-system.
[arguments] <test-flags>: Move skip test logic here instead of deleting
test files.
<phases>: Remove 'generate-test-data. Use default 'check.
[native-inputs]: Remove python-black and python-isort; add
python-pytest, python-setuptools, and python-wheel.
(python-libcst-minimal) [native-inputs]: Add python-setuptools and
python-wheel.

Change-Id: Ia3e85d17d02a8ea1dd7bc0b2a9062d46b11d6651
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
e7b7ec2851
gnu: python-eventlet: Move to python-web.
* gnu/packages/python-xyz.scm (python-eventlet): Move from here ...
* gnu/packages/python-web.scm: ... to here.

Change-Id: I71beee927f17133267bf0236f075bccf15effe0e
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
a3a7cf9579
gnu: python-eventlet: Adjust inputs.
* gnu/packages/python-xyz.scm (python-eventlet) [native-inputs]: Remove
python-black, python-isort, and python-pre-commit.

Change-Id: Id0671cf1ec87f2c44a5b1bd915efae594c17804e
2025-01-20 21:38:04 +01:00
Sharlatan Hellseher
3ce9151a03
gnu: python-typing-inspect: Update to 0.9.0.
* gnu/packages/python-xyz.scm (python-typing-inspect): Update to 0.9.0.
[source]: Remove patch, as
<https://github.com/ilevkivskyi/typing_inspect/issues/60> was resolved.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

* gnu/packages/patches/python-typing-inspect-fix.patch: Delete file.
* gnu/local.mk: Deregester the patch.

Change-Id: Idc6e8745d4b85624863a5c2dc24e533a7dd92f46
2025-01-20 21:38:04 +01:00
Ricardo Wurmus
6c372c2122
gnu: python-wand: Disable two failing tests.
* gnu/packages/python-xyz.scm (python-wand)[arguments]: Disable two tests.

Change-Id: I6739af9c167ba6e827c7660caaa3fd64de574a8f
2025-01-20 21:38:03 +01:00
Ricardo Wurmus
e253d60eba
gnu: python-bigfloat: Fix build.
* gnu/packages/python-xyz.scm (python-bigfloat)[source]: Add snippet to delete
generated file.
[build-system]: Use pyproject-build-system.
[arguments]: Disable one test; add phase 'cythonize.
[native-inputs]: Add python-cython, python-pytest, python-setuptools, and
python-wheel.

Change-Id: If535051bbe7f223feb2a04b0b044a631c906f213
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
041cc74743
gnu: python-ipfsspec: Add missing inputs.
* gnu/packages/python-xyz.scm (python-ipfsspec)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I763c22207f1b1bb5af5eb5667a060ab01757c864
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
d0d664cea1
gnu: python-contexttimer: Add missing inputs.
* gnu/packages/python-xyz.scm (python-contexttimer)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I1d6e1efe869624c1da47332c8a000f88b458c193
2025-01-20 21:38:02 +01:00
Ricardo Wurmus
def1f7ba66
gnu: Move python-pysnptools to (gnu packages bioinformatics).
* gnu/packages/python-xyz.scm (python-pysnptools): Move from here...
* gnu/packages/bioinformatics.scm (python-pysnptools): ...to here.

Change-Id: I4dbd9cbe3f2d9a6dd4906be79b78862b39a57c28
2025-01-20 21:38:01 +01:00
Ricardo Wurmus
84119015a3
gnu: python-pysnptools: Update to 0.5.14.
* gnu/packages/python-xyz.scm (python-pysnptools): Update to 0.5.14.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[propagated-inputs]: Remove python-dill; add python-bed-reader,
python-cloudpickle, and python-more-itertools.
[native-inputs]: Remove python-cython; add python-pytest, python-pytest-cov,
python-pytest-datadir, python-pytest-doctestplus, python-setuptools,
python-sphinx, python-sphinx-rtd-theme, and python-wheel.

Change-Id: I685f819e70ab209198b504c6e41b253dc5a1d876
2025-01-20 21:38:01 +01:00
Ricardo Wurmus
31fe58bb38
gnu: python-more-itertools: Update to 10.6.0.
* gnu/packages/python-xyz.scm (python-more-itertools-next): Rename this
variable...
(python-more-itertools): ...to this; update to 10.6.0.
[propagated-inputs]: Remove python-six.
* gnu/packages/astronomy.scm (python-yt)[propagated-inputs]: Replace
python-more-itertools-next with python-more-itertools.

Change-Id: I2fef91f87afde2b2659dd25b831fb13b4c118454
2025-01-20 21:37:59 +01:00
Ricardo Wurmus
314ef4ccd8
gnu: python-incremental: Update to 24.7.2.
* gnu/packages/python-xyz.scm (python-incremental): Update to 24.7.2.
[build-system]: Use pyproject-build-system.
[arguments]: Add phase 'patch-build-system; disable tests.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
[propagated-inputs]: Add python-tomli.

Change-Id: I6c49f2da746398d469f6fdc611fc08cfbe72a0e1
2025-01-20 21:37:59 +01:00
Ricardo Wurmus
4de70c1a77
gnu: python-hdf4: Update to 0.9.2.
* gnu/packages/python-xyz.scm (python-hdf4): Update to 0.9.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add phase 'build-extensions.
[native-inputs]: Remove python-nose; add python-pytest, python-setuptools, and
python-wheel.
[inputs]: Drop labels.

Change-Id: I96312f9509fae89a4c21a58b593ccb87952e0332
2025-01-20 21:37:59 +01:00
宋文武
f0c5c4ee9b
gnu: python-hsluv: Fix build.
* gnu/packages/python-xyz.scm (python-hsluv)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I4dbed681c4f1a83b0300dc9611cdf89072591389
2025-01-20 21:37:58 +01:00
宋文武
298d371de8
gnu: python-gpxpy: Fix build.
* gnu/packages/python-xyz.scm (python-gpxpy)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I89d4360ed6502c84580bface08dba850c5d9efe1
2025-01-20 21:37:58 +01:00
宋文武
1ffb84c5a3
gnu: python-glom: Update to 24.11.0.
* gnu/packages/python-xyz.scm (python-glom): Update to 24.11.0.

Change-Id: I37c849475cedd1ecd812f896553a9deeabb00c3d
2025-01-20 21:37:58 +01:00
宋文武
4533972587
gnu: python-eliot: Update to 1.16.0.
* gnu/packages/python-xyz.scm (python-eliot): Update to 1.16.0.
[propagated-inputs]: Add python-orjson.  Remove python-six.
[native-inputs]: Add python-pytest-xdist and python-wheel.  Remove python-dask.

Change-Id: Ibc6eeb5fe4475bf2145a8ab72aa82f17a14bf9f0
2025-01-20 21:37:57 +01:00
Ricardo Wurmus
ccd83fd84e
gnu: python-fsspec: Update to 2024.12.0.
* gnu/packages/python-xyz.scm (python-fsspec): Update to 2024.12.0.

Change-Id: I47a782911a0139a24fc5edcf16abcf648e621d24
2025-01-20 21:37:57 +01:00
Ricardo Wurmus
4f5d5cfb12
gnu: python-multidict: Update to 6.1.0.
* gnu/packages/python-xyz.scm (python-multidict): Update to 6.1.0.
[propagated-inputs]: Add python-typing-extensions.

Change-Id: I1bc3e818a5c009ed360cd2ad2c00a395c5ea8966
2025-01-20 21:37:56 +01:00
Ricardo Wurmus
2a24283269
gnu: python-twisted: Add comment.
* gnu/packages/python-xyz.scm (python-twisted)[native-inputs]: Add comment on
why glibc-utf8-locales is needed.

Change-Id: I0effed9600b2b2238a33b70bd38f4bb565b6df9f
2025-01-20 21:37:56 +01:00
Sharlatan Hellseher
db293bb6af
gnu: nikola: Update to 8.3.1, fix build.
* gnu/packages/python-xyz.scm (nikola): Update to 8.3.1. Fix build.
[arguments] <test-flags>: Ignore dev_test_sever tests which are all
failing.
<phases>: Add 'fix-pytest-config.
[native-inputs]: Remove python-pytest-cov; add python-feedparser.

Change-Id: I4394a4bf19a64f1bdda578352f0d3bdfa036c752
2025-01-20 21:37:56 +01:00
Ricardo Wurmus
522225af77
gnu: python-twisted: Update to 24.11.0.
* gnu/packages/python-xyz.scm (python-twisted): Update to 24.11.0.
[build-system]: Use pyproject-build-system.
[arguments]: Enable tests; add phases 'patch-build-system and
'disable-broken-tests; add custom 'check phase.
[propagated-inputs]: Delete python-pyhamcrest; add python-attrs,
python-bcrypt, and python-typing-extensions.
[native-inputs]: Add python-coverage, python-hatch-fancy-pypi-readme,
python-hatchling, python-httpx, python-hypothesis, python-pyflakes,
python-pyhamcrest, python-pytest, python-sphinx, and python-sphinx-rtd-theme.

Change-Id: Ib55c2363f4cdb06e70f84545142d225271c0fa0a
2025-01-20 21:37:56 +01:00
Ricardo Wurmus
0a8f423124
gnu: python-automat: Update to 24.8.1.
* gnu/packages/python-xyz.scm (python-automat): Update to 24.8.1.
[arguments]: Enable tests; adjust 'remove-entrypoint.
[native-inputs]: Add python-pytest; remove python-graphviz.
[propagated-inputs]: Add python-graphviz and python-typing-extensions; remove
python-six and python-attrs.

Change-Id: Ic77e57da21590435ecfde8d9921ce6ec36576d67
2025-01-20 21:37:56 +01:00
Ricardo Wurmus
4fde638b3b
gnu: python-toolrack: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-toolrack): Update to 4.0.1.
[build-system]: Use pyproject-build-system.
[arguments]: Adjust phase 'patch-/bin/sh; remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I3de26b028d5eeb23a534ae2dc17e8084249d19e1
2025-01-20 21:37:56 +01:00
Ricardo Wurmus
7343ab138c
gnu: python-monthdelta: Add missing inputs.
* gnu/packages/python-xyz.scm (python-monthdelta)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I273ed753c5808098434efa20c70a7c7f0a7d109d
2025-01-20 21:37:55 +01:00
Ricardo Wurmus
8c8d402818
gnu: Add python-iron-mq.
* gnu/packages/python-xyz.scm (python-iron-mq): New variable.

Change-Id: I97e18d93118747659db962c0fd2d384900ad254d
2025-01-20 21:37:54 +01:00
Ricardo Wurmus
a355033473
gnu: Add python-iron-core.
* gnu/packages/python-xyz.scm (python-iron-core): New variable.

Change-Id: I0ba16f575e111b86f7c8aac5e8d2eb5331e082c6
2025-01-20 21:37:54 +01:00
Ricardo Wurmus
10b4312e91
gnu: python-rjsmin: Update to 1.2.3.
* gnu/packages/python-xyz.scm (python-rjsmin): Update to 1.2.3.
[source]: Simplify snippet.
[build-system]: Use pyproject-build-system.
[arguments]: Remove.
[native-inputs]: Add python-setuptools and python-wheel.
[description]: Reformat.

Change-Id: I439123d6de89a95d5d4b96e0c376a6ba2f61221b
2025-01-20 21:37:54 +01:00
Ricardo Wurmus
63787199f4
gnu: python-rcssmin: Update to 1.2.0.
* gnu/packages/python-xyz.scm (python-rcssmin): Update to 1.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ie61bec0942852e53d84d85364e3e445d42bf3049
2025-01-20 21:37:54 +01:00
Ricardo Wurmus
6e2cacf2f9
gnu: python-sentry-sdk: Update to 1.5.5.
* gnu/packages/python-xyz.scm (python-sentry-sdk): Update to 1.5.5.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; simplify custom 'check phase.
[native-inputs]: Add nss-certs-for-test, python-setuptools, and python-wheel.

Change-Id: I1b4097a582c14a6b39e69d35795b7e53d832463d
2025-01-20 21:37:54 +01:00
宋文武
d7d1790ab0
gnu: python-celery: Fix build.
* gnu/packages/python-xyz.scm (python-celery)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I36cb85b9e8291dab6b35e03cfb242c8f05bf6599
2025-01-20 21:37:51 +01:00
宋文武
70ad04b51a
gnu: Remove python-twodict.
Won't work with current python, last updated 8 years ago.
See also <https://github.com/MrS0m30n3/twodict/issues/3>.

* gnu/packages/python-xyz.scm (python-twodict): Remove variable.

Change-Id: I59337a58558148011d09e51326c1ff703193eefd
2025-01-20 21:37:50 +01:00
宋文武
422bd20e91
gnu: python-types-dateutil: Fix build.
* gnu/packages/python-xyz.scm (python-types-dateutil)[native-inputs]: Add
python-wheel.

Change-Id: I0d8c23960d3be8c30741c82632db00b63a4074c0
2025-01-20 21:37:50 +01:00
宋文武
6457414266
gnu: python-vdf: Fix build.
* gnu/packages/python-xyz.scm (python-vdf)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I0ca3a012a06f44ff818c63e3f5954aa92e643e39
2025-01-20 21:37:50 +01:00
宋文武
b3d38b531b
gnu: python-xmp-toolkit: Fix build.
* gnu/packages/python-xyz.scm (python-xmp-toolkit)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I7f9b8d5b98f4eca6b87e54134d278f57ab0eb73f
2025-01-20 21:37:49 +01:00
Ricardo Wurmus
c418fa8924
gnu: python-pkgconfig: Update to 1.5.5.
* gnu/packages/python-xyz.scm (python-pkgconfig): Update to 1.5.5.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests; remove custom 'check phase.
[native-inputs]: Add python-poetry-core; remove python-nose.

Change-Id: I0f45db123f35e6cd2faacd9499d6b1153a752ed8
2025-01-20 21:37:49 +01:00
Ricardo Wurmus
53b438d37e
gnu: Add python-xmlsec.
* gnu/packages/python-xyz.scm (python-xmlsec): New variable.

Change-Id: Ieee901d7c12cb143d21a6fccd16d08fe7ce84ff1
2025-01-20 21:37:48 +01:00
Ricardo Wurmus
08be089012
gnu: python-angr: Add missing inputs.
* gnu/packages/python-xyz.scm (python-angr)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: If63c07b6d436b8ef2dac55e976a7715ac510edd8
2025-01-20 21:37:48 +01:00
Ricardo Wurmus
acc7ffca5c
gnu: python-cle: Add missing inputs.
* gnu/packages/python-xyz.scm (python-cle)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Icad90691f19b76ff626bd35b4d72059da269d677
2025-01-20 21:37:48 +01:00
Ricardo Wurmus
3b74775c96
gnu: python-pyvex: Add missing inputs.
* gnu/packages/python-xyz.scm (python-pyvex)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I09f711e88b62d4b3aee5c0b9828ce4d94df92a41
2025-01-20 21:37:48 +01:00
Ricardo Wurmus
ddbe80b85d
gnu: python-claripy: Add missing inputs.
* gnu/packages/python-xyz.scm (python-claripy)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: I3df251ecbb04c1f1a808fbfadb1358a73fc3aadf
2025-01-20 21:37:48 +01:00
Ricardo Wurmus
88d6a1d154
gnu: python-itanium-demangler: Add missing inputs.
* gnu/packages/python-xyz.scm (python-itanium-demangler)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ibef12317a488fa810adc49b7abd86c110648c14a
2025-01-20 21:37:47 +01:00
Ricardo Wurmus
a59266cfb9
gnu: python-mulpyplexer: Add missing inputs.
* gnu/packages/python-xyz.scm (python-mulpyplexer)[arguments]: Reformat.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: If55056c94f7693328a51c361909fa52b093126e9
2025-01-20 21:37:47 +01:00
Ricardo Wurmus
3bd64535d6
gnu: python-nampa: Add missing inputs.
* gnu/packages/python-xyz.scm (python-nampa)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Idbfc6152e59257f68246b7c02c955ba371e6d4a2
2025-01-20 21:37:47 +01:00
Ricardo Wurmus
e224ee0227
gnu: python-pysmt: Add missing inputs.
* gnu/packages/python-xyz.scm (python-pysmt)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: Ia2efffee11ed484768de1e85f087eda8fbd369d3
2025-01-20 21:37:47 +01:00
Ricardo Wurmus
8ef47ccb1b
gnu: python-cart: Add missing inputs.
* gnu/packages/python-xyz.scm (python-cart)[arguments]: Reformat.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iaa0877d88a1296957b1c14c88f8e669c734683a3
2025-01-20 21:37:46 +01:00
Ricardo Wurmus
53dcdea0a0
gnu: python-mediapy: Update to 1.2.2.
* gnu/packages/python-xyz.scm (python-mediapy): Update to 1.2.2.

Change-Id: Ib67dc79cd44dca25298ed649e49aa2d0135affcd
2025-01-20 21:37:45 +01:00