Commit graph

169301 commits

Author SHA1 Message Date
Sharlatan Hellseher
de14383ed5
gnu: python-pylsqpack: Update to 0.3.22.
* gnu/packages/python-compression.scm (python-pylsqpack): Update to 0.3.22.
[native-inputs]: Add python-pytest.

Change-Id: Ib3c31c3678a8b7bf7866fc693518a33c263214a5
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
707c3fc212
gnu: python-httpx: Rearange inputs, fix tests.
* gnu/packages/python-web.scm (python-httpx): Refresh test flags for
  skipped tests.
  [arguments]: Apply G-expressions.
  <test-flags>: Remove not existing tests from the ignore list.
  [propagated-inputs]: Remove python-charset-normalizer, python-chardet,
  and python-rfc3986; add python-anyio, python-h2, python-socksio, and
  python-zstandard.
  [native-inputs]: Remove python-trio-typing, python-wheel, and
  python-zstandard; add python-chardet.

Change-Id: I62f668ee3659220938b268ac17fdf594a95d076c
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
4fd060a0b2
gnu: python-httpcore: Update to 1.0.9.
* gnu/packages/python-web.scm (python-httpcore): Update to 1.0.9.

Change-Id: Iea53b554e9ad0687e5529ec32e8aad69dc3a553f
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
3c9365204c
gnu: python-uvicorn: Fix build.
* gnu/packages/python-web.scm (python-uvicorn):
  [native-inputs]: Remove python-pytest-asyncio; add
  python-pytest-asyncio-0.26.

Change-Id: I1066aef6557eec3a173d88535e14cbd847ae36f3
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
7674e46b19
gnu: python-flasgger: Reduce closure size.
* gnu/packages/python-xyz.scm (python-flasgger): Update to 0.9.7.1.
  [arguments] <test-flags>: Skip example tests to reduce closure size
  from native inputs.
  <phases>: Remove 'prepare-check.
  [native-inputs]: Remove python-apispec, python-apispec-webframeworks,
  python-decorator, python-flask-restful, python-flex,
  python-marshmallow, python-pytest-cov, and python-wheel.

Change-Id: I724855c2cdd22d9d36c0f7716ae183cf3b7db382
2025-09-25 09:35:52 +01:00
Sharlatan Hellseher
ebf301e359
gnu: python-brotlicffi: Fix tests.
* gnu/packages/python-compression.scm (python-brotlicffi): Fix tests.
  [arguments] <phases>: Add 'set-brotli-source.
  [native-inputs]: Add python-pytest.

Change-Id: I50555c234d4dbf20f2cdd846f8191c8da7349247
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
106221968b
gnu: python-brotlicffi: Fix indentation.
* gnu/packages/python-compression.scm (python-brotlicffi): Fix indentation.

Change-Id: I1d19faaa147595159eff380f45bb2989ea2cf587
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
d9e7b0f316
gnu: python-httptools: Update to 0.6.4.
* gnu/packages/python-web.scm (python-httptools): Update to 0.6.4.
  [source] <snippet>: Remove vendor.
  [arguments] <test-flags>: Skip only one test.
  <phases>: Remove 'preparation; add 'configure-build-ext.
  [build-system]: Use pyproject.
  [inputs]: Add llhttp.
  [native-inputs]: Add python-setuptools.

Change-Id: I81eaa61c96e2f41519648cccc625f2bc0a731269
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
aeeca3ff48
gnu: python-socksio: Switch to pyproject-build-system.
* gnu/packages/python-web.scm (python-socksio):
  [build-system]: Use pyproject.
  [native-inputs]: Add python-flit-core, python-pytest, and
  python-pytest-cov.

Change-Id: I31a304fdc71d8b2b0d5522bff100eb292ff76ab4
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
a59e2c863c
gnu: python-hpack: Update to 4.1.0.
* gnu/packages/python-web.scm (python-hpack): Update to 4.1.0.
[native-inputs]: Add python-setuptools.

Change-Id: I7a99bea38de197cbe98750cf6910b0f70d286cce
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
7af0a21b95
gnu: python-hyperframe: Update to 6.1.0.
* gnu/packages/python-web.scm (python-hyperframe): Update to 6.1.0.
[native-inputs]: Add python-setuptools.

Change-Id: I7cc520ca49131e973632a6f37a0d8ad5fb33cebd
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
03e4cee54d
gnu: python-zstandard: Update to 0.23.0.
* gnu/packages/python-compression.scm (python-zstandard): Update to 0.23.0.
  [build-system]: Use pyproject.
  [arguments] <phases>: Add 'patch-build-system, and 'build-extensions.
  [native-inputs]: Remove python-hypothesis; add python-pytest and
  python-setuptools.

Change-Id: I5008064aa44880330928e25bd64eb90486633548
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
0ac41884fe
gnu: python-dotenv: Update to 1.1.1.
* gnu/packages/python-xyz.scm (python-dotenv): Update to 1.1.1.
  [build-system]: Use pyproject.
  [arguments]: Drop them.
  [native-inputs]: Remove python-mock; add python-setuptools.

Change-Id: I6dce45f8aabf5dc12f3b37b2d851d910a2786b6b
2025-09-25 09:35:51 +01:00
Sharlatan Hellseher
8fd7045311
gnu: python-h11: Update to 0.16.0.
* gnu/packages/python-web.scm (python-h11): Update to 0.16.0.
[native-inputs]: Remove python-wheel.

Change-Id: I111d5fdc2c46ad9b48a92b0b1f906b57ec04290a
2025-09-25 09:35:50 +01:00
Sharlatan Hellseher
d348f3f21f
gnu: python-anyio: Reduce closure size.
* gnu/packages/python-xyz.scm (python-anyio): Reduce closure size.
  [propagated-inputs]: Remove python-contextvars and
  python-typing-extensions.
  [native-inputs]: Remove python-wheel.

Change-Id: I740b7e3fd1c3b89eb762729e04fe70c71ea50202
2025-09-25 09:35:50 +01:00
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