Sharlatan Hellseher
25565cb637
gnu: python-brotli: Move to python-compression and switch to pyproject.
...
Fixes gnu/gnu#1730
python-brotli does not benefit from being inherited from brotli, it's
built from scratch, this change moves it to python-compression as a
stand along package, a collection of Python bindings and swap build
system to pyproject.
* gnu/packages/compression.scm (python-brotli, python-google-brotli):
Move from here ...
* gnu/packages/python-compression.scm: ... to here.
* gnu/packages/django.scm: Add python-compression module.
* gnu/packages/fonts.scm: Likewise.
* gnu/packages/gnome.scm: Likewise.
* gnu/packages/video.scm: Likewise.
Change-Id: I592d84321893e5967181fd48d3037246c3cd4796
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
e146256401
gnu: python-sh: Update to 2.2.2.
...
* gnu/packages/python-xyz.scm (python-sh): Update to 2.2.2.
[build-system]: Use pyproject.
[arguments] <test-flags>: Skip some shaky tests.
<phases>: Add 'pre-check and use default 'check.
[native-inputs]: Remove python-coverage; add python-poetry-core and
python-pytest.
Change-Id: Ibf59528a75ea21a3312b8afa3eece2ef5273de69
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
eaa7916ae9
gnu: python-websockets: Set test backend.
...
* gnu/packages/python-web.scm (python-websockets) [arguments]
<test-backend>: Use 'unittest.
Change-Id: I845e5f1634ce5052accd395062f41b0d184e425c
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
fb8e47c541
gnu: python-async-generator: Switch to pyproject-build-system.
...
* gnu/packages/python-xyz.scm (python-async-generator)
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I230bdc35578a03cd1fd5a614ee5b6eb1e659d6f8
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
a917cad05d
gnu: python-outcome: Update to 1.3.0.post0.
...
* gnu/packages/python-xyz.scm (python-outcome): Update to 1.3.0.post0.
[native-inputs]: Remove python-pytest-cov; add python-setuptools.
Change-Id: I04d1a829ffdee4ada25e70e09308d73b1af073cc
2025-09-25 09:35:50 +01:00
Nguyễn Gia Phong
c2820e46e6
gnu: python-trustme: Update to 1.2.1.
...
* gnu/packages/python-crypto.scm (python-trustme): Update to 1.2.1.
[home-page]: Adjust it as seen on project's GitHub page.
[native-inputs]: Remove python-pytest-cov, python-service-identity,
python-setuptools, python-wheel, python-zipp, and
python-more-itertools; add python-hatchling.
[propagated-inputs]: Remove python-ipaddress.
Change-Id: I0393508129f344832965cdf93baf6aca96e88eb5
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com >
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com >
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
7e876c4144
gnu: python-aiohappyeyeballs: Update to 2.6.1.
...
* gnu/packages/python-web.scm (python-aiohappyeyeballs): Update to 2.6.1.
[native-inputs]: Remove python-pytest-asyncio; add python-pytest-asyncio-0.26.
Change-Id: I68b9473360755f3454bd13d0ec604da7f3e5b0db
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
c35b980433
gnu: python-aiosignal: Update to 1.4.0.
...
* gnu/packages/python-web.scm (python-aiosignal): Update to 1.4.0.
[arguments] <test-flags>: Remove redundant options.
Change-Id: I644d508804291eb90fb2f979667714080ca1a9ad
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
aae4b50f43
gnu: python-re-assert: Switch to pyproject-build-system.
...
* gnu/packages/python-check.scm (python-re-assert)
[build-system]: Use pyproject.
[arguments]: Drop them.
[native-inputs]: Remove python-covdefaults and python-coverage; add
python-setuptools.
Change-Id: Ifc6f24e45196988cf3741ce2cf7b489dbb0a13f3
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
260269a0d4
gnu: python-pyasn1-modules: Update to 0.4.2.
...
* gnu/packages/python-xyz.scm (python-pyasn1-modules): Update to 0.4.2.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use unittest.
[native-inputs]: Add python-setuptools.
[home-page]: Fix URL as the project has migrated to GitHub.
Change-Id: I9c40854215589fbae87f9f7c44aa5c52e1f47cb9
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
e1ee92f30c
gnu: python-importlib-metadata: Update to 8.7.0.
...
* gnu/packages/python-xyz.scm (python-importlib-metadata): Update to 8.7.0.
[build-system]: Use pyproject.
[arguments]: Drop them.
[native-inputs]: Remove python-pypa-build and python-pytest; add
python-jaraco-test, python-packaging-bootstrap,
python-pytest-bootstrap, and python-setuptools.
Change-Id: I9ba93055061c44999a368d302d439f8123755afa
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
bb68040ae5
gnu: python-pyfakefs: Update to 5.9.1.
...
* gnu/packages/check.scm (python-pyfakefs): Update to 5.9.1.
[source]: Switch to git-fetch, not GitHub repository provides proper
releases and tests.
<patches>: Drop it.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Run all self tests without extra packages.
<phases>: Add 'disable-root-tests.
[build-system]: Use pyproject.
[home-page]: Now pyproject.toml points to GitHub page as the main one,
no reference to <http://pyfakefs.org/ > in documentation was found.
[native-inputs]: Remove python-pytest; add python-setuptools.
* gnu/packages/patches/python-pyfakefs-remove-bad-test.patch: Remove file.
* gnu/local.mk: Deregister patch.
Change-Id: I4427d889019275b304ad021d8e5d0829bcff518a
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
e6dbf583f7
gnu: python-async-timeout: Update to 5.0.1.
...
* gnu/packages/python-xyz.scm (python-async-timeout): Update to 5.0.1.
[native-inputs]: Add python-pytest-asyncio.
Change-Id: Ia3332930600cf56c36454493e62776f921480c4c
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
26c24db8c4
gnu: python-mistune: Update to 3.1.3.
...
* gnu/packages/python-xyz.scm (python-mistune): Update to 3.1.3.
[native-inputs]: Add python-pytest.
Change-Id: If0954697380a12d0eb61e844a0d082553ae29aa2
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
e8841b5115
gnu: python-pyasn1: Update to 0.6.1.
...
* gnu/packages/python-xyz.scm (python-pyasn1): Update to 0.6.1.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-setuptools.
[home-page]: Fix URL as development moved to GitHub.
Change-Id: Idcf44dacf179be325f171cabe9c06f906d0b45ed
2025-09-25 09:35:49 +01:00
Sharlatan Hellseher
25a65f3192
gnu: python-isoduration: Do not try to run tests.
...
* gnu/packages/python-xyz.scm (python-isoduration) [arguments] <tests?>:
Visually disable tests as PyPI archive provides none.
Change-Id: I1c4177544a859b38d8c40f800ad1969ad6af8b59
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
637277e1b7
gnu: python-rfc3339-validator: Switch to pyproject-build-system.
...
* gnu/packages/python-xyz.scm (python-rfc3339-validator):
[build-system]: Use pyproject.
[native-inputs]: Remove python-hypothesis and python-pytest-runner;
add python-setuptools.
Change-Id: I94807d4307e1896d0493003da762ed3139b5ac8f
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
facdb268d5
gnu: python-rfc3986-validator: Reduce closure size.
...
* gnu/packages/python-xyz.scm (python-rfc3986-validator)
[native-inputs]: Remove python-pip, python-pytest-runner, and
python-wheel.
Change-Id: I28a78201d142953b2b4a2e4ec6a0c7e17cf0f702
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
9122f3929f
gnu: python-rfc3987: Update to 1.3.8.
...
* gnu/packages/python-xyz.scm (python-rfc3987): Update to 1.3.8.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'custom.
[native-inputs]: Add python-setuptools.
Change-Id: Ia1f62b969de5ba0eeab3c0cc48bccb3b9c703522
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
c7114c8a9c
gnu: python-strict-rfc3339: Switch to pyproject-build-system.
...
* gnu/packages/python-xyz.scm (python-strict-rfc3339):
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I5d96db0720775f872d61b55d77e3fbc6fa230608
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
6a5dd284a6
gnu: python-jsonpointer: Update to 3.0.0.
...
* gnu/packages/python-xyz.scm (python-jsonpointer): Update to 3.0.0.
[arguments] <test-backend>: Set to 'unittest.
Change-Id: I2fdc9c98ac3d64ecd45771636b18304213f8ea62
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
6167484ea3
gnu: python-pip: Update to 25.1.1.
...
* gnu/packages/python-build.scm (python-pip): Update to 25.1.1.
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I4d3280d0cbf21c64f0564e4683a385fd936cbb2a
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
43dd14030c
gnu: python-arrow: Update to 1.3.0.
...
* gnu/packages/time.scm (python-arrow): Update to 1.3.0.
[arguments] <test-flags>: Drop all tests skip options.
[propagated-inputs]: Add python-types-python-dateutil.
[native-inputs]: Remove python-chai, python-setuptools, and
python-wheel; add python-dateparser and python-flit-core.
Change-Id: I93b5c134fbf85f1d1a8a54938282f18a758ebb68
2025-09-25 09:35:48 +01:00
Sharlatan Hellseher
65477af738
gnu: python-dateparser: Update to 1.2.2.
...
* gnu/packages/python-xyz.scm (python-dateparser): Update to 1.2.2.
[native-inputs]: Remove python-wheel.
Change-Id: I9077b232f77f5b2c3872c67cac891a1acd44c188
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
d040cf4fa0
gnu: Add python-types-python-dateutil.
...
* gnu/packages/python-xyz.scm (python-types-python-dateutil): New variable.
Change-Id: I823d4d3b077326d8c16b79a0dfd43e4b4b7314e4
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
c5fee1e039
gnu: python-pdm-backend: Update to 2.4.5.
...
* gnu/packages/python-build.scm (python-pdm-backend): Update to 2.4.5.
Change-Id: I9e0438f5ff6f1048b48d7e1e3bf79f8301836d55
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
4e0ee3bb0c
gnu: python-ruamel.yaml: Update to 0.18.14.
...
* gnu/packages/serialization.scm (python-ruamel.yaml): Update to 0.18.14.
[build-system]: Use pyproject.
[native-inputs]: Remove python-pytest; add python-setuptools.
Change-Id: Iaf7be2953631c31156019f18c15804eb66071597
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
52489303ec
gnu: python-ruamel.yaml.clib: Switch to pyproject-build-system.
...
* gnu/packages/serialization.scm (python-ruamel.yaml.clib):
[build-system]: Use pyproject.
[native-inputs]: Add python-setuptools.
Change-Id: I25e214dfbc4359b0dc9d6fd2a358472ac0ebb133
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
f8cce36a80
gnu: python-covdefaults: Update to 2.3.0.
...
* gnu/packages/python-check.scm (python-covdefaults): Update to 2.3.0.
[build-system]: Use pyproject.
[arguments] <phases>: Use default 'check.
[propagated-inputs]: Add python-coverage.
[native-inputs]: Remove python-coverage; add python-setuptools.
Change-Id: Ic962c330b1c13fedc8b86f97c7138f1b533912f0
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
b5ffd96e0e
gnu: python-regex: Update to 2024.11.6.
...
* gnu/packages/python-xyz.scm (python-regex): Update to 2024.11.6.
[build-system]: Use pyproject.
[arguments] <test-backend>: Use 'unittest.
<phases>: Use default 'check.
[native-inputs]: Add python-setuptools.
Change-Id: I5657b0be454c775296d089aec771d316e6aeee27
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
973626c3c2
gnu: python-regex: Improve package style.
...
* gnu/packages/python-xyz.scm (python-regex): Use G-expressions.
Fix indentation.
[description]: Start from a new line and fix fill column.
Change-Id: I423719c74c606dd610b3f7da4dc6fc1e6c569f71
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
ba1947f655
gnu: python-importlib-resources: Update to 6.5.2.
...
* gnu/packages/python-xyz.scm (python-importlib-resources): Update to 6.5.2.
[arguments]: Drop all custom build steps, covered by pyproject-build-system.
[propagated-inputs]: Remove python-zipp.
[native-inputs]: Remove python-flake8, python-pytest-black,
python-pytest-checkdocs, python-pytest-cov, python-pytest-enabler,
python-pytest-flake8, and python-pytest-mypy; add python-jaraco-test,
python-jaraco-collections and python-zipp.
Change-Id: I5c913e2a63389069344bc055e9575f328077858a
2025-09-25 09:35:47 +01:00
Sharlatan Hellseher
868cc3edfa
gnu: python-simplejson: Update to 3.20.1.
...
* gnu/packages/python-xyz.scm (python-simplejson): Update to 3.20.1.
[build-system]: Use pyproject.
[native-inputs]: Remove python-toml; add python-pytest and
python-setuptools.
Change-Id: I181c5909e5325601f28fbef01f58cfeed9864f61
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
8031726431
gnu: python-dbus-python: Reduce closure size.
...
Tests never run before and silently were skipped because test-backend is
not known for pyrpoject-build-system which is tappy, this change
visually disables tests and remove some unused inputs from closure.
* gnu/packages/python-xyz.scm (python-dbus-python):
[native-inputs]: Remove python-sphinx, python-sphinx-rtd-theme, and
python-wheel.
Change-Id: I042ceace8f42ae8514751ffe0fee664db05ce2cc
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
d1af0f7e04
gnu: python-tappy: Update to 3.2.1.
...
* gnu/packages/python-check.scm (python-tappy): Update to 3.2.1.
[build-system]: Use pyproejct.
[native-inputs]: Add python-hatchling.
Change-Id: I3c32e9f5454d5bcccfe5f373bfe724a0b68f12cd
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
4774af626c
gnu: python-ephemeral-port-reserve: Enable tests.
...
* gnu/packages/python-web.scm (python-ephemeral-port-reserve): Enable tests.
[source]: Switch to git-fetch contacting tests.
[native-inputs]: Add python-pytest.
Change-Id: If9768647f8e69c70329d1d3e761437152fbc50bd
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
b37e5ec48d
gnu: python-watchdog: Reduce closure size.
...
* gnu/packages/python-xyz.scm (python-watchdog)
[propagated-inputs]: Remove python-pathtools.
[native-inputs]: Remove python-wheel.
Change-Id: I9d65ea302dded43d655f1b54afaff6a35ae5e0c2
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
ec3054deec
gnu: python-zipp: Update to 3.23.0.
...
* gnu/packages/python-compression.scm (python-zipp): Update to 3.23.0.
[build-system]: Use pypproject.
[arguments] <tests?>: Disable them for now as test suite require extra
packaging.
[propagated-inputs]: Remove python-more-itertools.
[native-inputs]: Add python-more-itertools, python-pytest, python-setuptools, and
python-wheel.
Change-Id: Iffd8dbafe096d91bc7bb92366d7136074af662ba
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
26fddd2e56
gnu: python-jaraco-test: Reduce closure size.
...
* gnu/packages/python-xyz.scm (python-jaraco-test):
[propagated-inputs]: Add python-jaraco-collections.
[native-inputs]: Remove python-jaraco-collections,
python-pytest-checkdocs, python-pytest-enabler, and python-wheel.
Change-Id: I2928afd4293f5abbd8c62442f036cc2500ede1ee
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
73a24ad57c
gnu: python-jaraco-collections: Update to 5.2.1.
...
* gnu/packages/python-xyz.scm (python-jaraco-collections): Update to 5.2.1.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-enabler, and python-pytest-mypy; add
python-setuptools-scm.
Change-Id: Ia14a332e876e007961000e053768ed4cce3771d1
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
f987f2f4d9
gnu: python-jaraco-text: Update to 4.0.0.
...
* gnu/packages/python-xyz.scm (python-jaraco-text): Update to 4.0.0.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-enabler, python-pytest-mypy, and
python-wheel; add python-setuptools-scm.
Change-Id: Id7eb420628fd4c7b76f4c28eda88d44d323cd9b7
2025-09-25 09:35:46 +01:00
Sharlatan Hellseher
8b93935337
gnu: python-autocommand: Update to 2.2.2.
...
* gnu/packages/python-xyz.scm (python-autocommand): Update to 2.2.2.
[build-system]: Use pyproject.
[arguments]: Drop them.
[native-inputs]: Remove python-pytest-asyncio; add python-setuptools.
Change-Id: I19bdfdb633775d94bffcf80c6cae2dc9f9e7da90
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
f0a67c1a63
gnu: python-jaraco-context: Update to 6.0.1.
...
* gnu/packages/python-xyz.scm (python-jaraco-context): Update to 6.0.1.
[arguments] <tests?>: Disable as no tests provided.
[propagated-inputs]: Add python-backports-tarfile.
[native-inputs]: Remove python-pytest, python-pytest-black,
python-pytest-checkdocs, python-pytest-cov, python-pytest-flake8, and
python-pytest-mypy.
Change-Id: I0096b6ab7289b1ab01bb551e37fd7f2fea528ef7
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
0a2117f8dd
gnu: Add python-backports-tarfile.
...
* gnu/packages/python-xyz.scm (python-backports-tarfile): New variable.
Change-Id: I213e09fc93760ec0b6f21c8642efd765b9b2b528
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
79b1167f74
gnu: python-jaraco-functools: Update to 4.2.1.
...
* gnu/packages/python-xyz.scm (python-jaraco-functools): Update to 4.2.1.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-flake8, and python-pytest-mypy.
Change-Id: I4d907eef57b42fefa29872497e5bbed35341a3e6
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
5f2941041c
gnu: python-jaraco-classes: Update to 3.4.0.
...
* gnu/packages/python-xyz.scm (python-jaraco-classes): Update to 3.4.0.
[native-inputs]: Remove python-pytest-black, python-pytest-checkdocs,
python-pytest-cov, python-pytest-flake8, python-pytest-mypy,
python-setuptools-scm, and python-wheel.
Change-Id: I5e07e1a9308139f091da1daad7f216dba36b0040
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
89f17f04db
gnu: python-typeguard: Update to 4.4.4.
...
* gnu/packages/python-xyz.scm (python-typeguard): Update to 4.4.4.
[native-inputs]: Remove python-typing-extensions and python-wheel.
Change-Id: I190744b3842f8a1285b9195174d03e1aab292450
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
50e11feb34
gnu: python-parameterized: Disable tests.
...
Project has no updates since 2023, and might be not maintained see
<https://github.com/wolever/parameterized/issues/181 >.
* gnu/packages/check.scm (python-parameterized) [arguments] <tests?>:
Disable as all broken.
Change-Id: I3038cc08f86cd033c02c68976d91cb3f1b0ce0b9
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
bca193522d
gnu: python-poetry-core: Update to 2.1.3.
...
* gnu/packages/python-build.scm (python-poetry-core): Update to 2.1.3.
Change-Id: I413513d97365f85cbc830cd82aafd20c9530d781
2025-09-25 09:35:45 +01:00
Sharlatan Hellseher
bf109f3d96
gnu: python-pytz: Switch to pypproject-build-system.
...
* gnu/packages/time.scm (python-pytz):
[build-system]: Use pypproject.
[arguments] <test-backend>: Use 'unittest.
[native-inputs]: Add python-setuptools.
Change-Id: Iad65c9a0a37306093c0b0364192aaa9d6ce0d011
2025-09-25 09:35:45 +01:00