Commit graph

4218 commits

Author SHA1 Message Date
Nicolas Graves
096e68b53d
gnu: python-parse-type: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-parse-type):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Remove uneeded field.

Change-Id: Iccb3303996480bef3c151559884d1a8c488385cd
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:52 +00:00
Nicolas Graves
d0b95ce40f
gnu: python-unidecode: Update to 1.3.8.
* gnu/packages/python-xyz.scm (python-unidecode): Update to 1.3.8.
  [build-system]: Move to pyproject-build-system.

Change-Id: I6e31f7af905bb2a024e8a7f7112732bcadbdf739
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:51 +00:00
Nicolas Graves
a735883a37
gnu: python-pypujs: Improve package style.
* gnu/packages/python-xyz.scm (python-pypujs): Improve package style.
  [arguments]<#:test-flags>: Use it in place of check phase
  replacement.
  <#:phases>: Clarify phase disable-pyramid.

Change-Id: If8073cc4e9a8a86003000e7157985fe382de7b4f
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:50 +00:00
Nicolas Graves
13728a6104
gnu: dynaconf: Improve package style.
* gnu/packages/python-xyz.scm (dynaconf): Improve package-style and
  ignore coverage tests.
  [origin](snippet): More concise snippet. Remove coverage management.
  [arguments]<#:test-flags>: Add arguments from former check
  replacement phase.
  <#:phases>: Remove check replacement phase.

Change-Id: I2a0e0a8dea5000aecc05707c35d307c867c96709
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:50 +00:00
Nicolas Graves
41494a7035
gnu: python-xcffib: Move to (gnu packages xorg).
* /gnu/packages/python-xyz.scm (python-xcffib): Move from here…
* gnu/packages/xorg.scm (python-xcffib): …to here.

The package's build is fully rewritten and updated to version 1.5.0.

Change-Id: Ia77b9fc2160dacd77c3eaf4199278046a52515d7
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
b4c39bb2db
gnu: python-aionotify: Update to 0.3.0.
* gnu/packages/python-xyz.scm (python-aionotify): Update to 0.3.0.
  [build-system]: Move to pyproject-build-system.

* gnu/packages/patches/python-aionotify-0.2.0-py3.8.patch : Remove
patch.

* gnu/local.mk: Remove patch.

Change-Id: I9f13d6d71f69dd9877ac42e46b087989f23941e2
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
497c186a05
gnu: python-codespell: Improve package style.
* gnu/packages/python-xyz.scm (python-codespell):
  [arguments]: Remove uneeded field.

Change-Id: I0d265e9c606730e8208376a7e0970d1c7a7d7a50
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +00:00
Nicolas Graves
910d1e5d07
gnu: python-isort: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-isort):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Add option to replace former check phase.
  <#:phases>: Remove phases build, install and check.

Change-Id: Idac8f151977f2494eb44d51aa1fcbf3156b5cc87
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +00:00
Nicolas Graves
4e4b547005
gnu: python-black: Move to pyproject-build-system.
* gnu/packages/python-xyz.scm (python-black): Improve package style.
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Improve style of use-absolute-file-names
  phase. Remove phase check.

Change-Id: If2da4b3b0fea4928d1aeb270fbaa4167f20a6ee5
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +00:00
Nicolas Graves
083fcf1ede
gnu: python-seaborn: Correct dependencies.
* gnu/packages/python-xyz.scm (python-seaborn): Correct dependencies.
  [propagated-inputs]: Move python-ipykernel, python-mypy,
  python-nbconvert, python-numpydoc, python-pyyaml from here...
  [native-inputs]: ... to here.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: If0270db33d79e5d294235695375e6ff1d51d8130
2024-12-13 20:18:47 +00:00
Ricardo Wurmus
265e2b2ab1
gnu: python-ipywidgets: Update to 8.1.2.
* gnu/packages/python-xyz.scm (python-ipywidgets): Update to 8.1.2.
[propagated-inputs]: Add python-comm; remove python-ipykernel and
python-nbformat.
[native-inputs]: Add python-ipykernel, python-jsonschema, and python-pytz;
remove python-mock.

Change-Id: Idaffb279c72af0c1ee3cb68ee18866a8b47622c4
2024-12-13 20:18:47 +00:00
Ricardo Wurmus
7800a1f9cf
gnu: python-ipykernel: Update to 6.29.4.
* gnu/packages/python-xyz.scm (python-ipykernel): Update to 6.29.4.
[arguments]: Disable one test, not without concern; add 'relax-a-bit phase;
rename phase 'hide-zmq-deprecation-warnings to 'hide-deprecation-warnings and
ignore more warnings; remove custom 'check phase; add 'pre-check phase.
[propagated-inputs]: Add python-comm, python-jupyter-core,
python-nest-asyncio, python-packaging, and python-pyzmq.
[native-inputs]: Add python-hatchling, python-pytest-asyncio,
python-pytest-cov, replace python-pytest-bootstrap with python-pytest, remove
python-setuptools and python-wheel.
(python-ipykernel-bootstrap)[native-inputs]: Remove python-setuptools and
python-wheel; add python-hatchling.
[propagated-inputs]: Do not append python-ipyparallel-bootstrap.

Change-Id: Ied168e967f9ced18c8885bc5de11de6d55f755e6
2024-12-13 20:18:46 +00:00
Ricardo Wurmus
737e09e4d2
gnu: python-widgetsnbextension: Update to 4.0.10.
* gnu/packages/python-xyz.scm (python-widgetsnbextension): Update to 4.0.10.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-jupyter-packaging, python-setuptools, and
python-wheel.
[propagated-inputs]: Remove python-notebook.

Change-Id: I63519916b234a45b352d0ea850566a1de42315c7
2024-12-13 20:18:46 +00:00
Ricardo Wurmus
91744798ee
gnu: python-nbconvert: Update to 7.16.4.
* gnu/packages/python-xyz.scm (python-nbconvert): Update to 7.16.4.
[arguments]: Adjust test flags.
[native-inputs]: Add python-flaky and python-hatchling; remove
python-setuptools and python-wheel.
[propagated-inputs]: Remove python-entrypoints and python-testpath; add
python-importlib-metadata, python-markupsafe, python-packaging,
python-tinycss2, and texlive-soul.

Change-Id: I03ae560aaabd6b31bb1e5794efc4636315be3989
2024-12-13 20:18:46 +00:00
Ricardo Wurmus
44201dc715
gnu: python-mistune: Update to 3.0.2.
* gnu/packages/python-xyz.scm (python-mistune): Update to 3.0.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Ia04fb0e249fe97ba2e4bf8123aeb340a8ec70953
2024-12-13 20:18:46 +00:00
Ricardo Wurmus
421199790e
gnu: python-pyls-black: Add missing input.
* gnu/packages/python-xyz.scm (python-pyls-black)[propagated-inputs]: Add
python-toml.

Change-Id: Ic6be8927af881916faa715bb4974007bcaf8d379
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
ca9585fd42
gnu: python-lsp-server: Update to 1.11.0.
* gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.11.0.
[build-system]: Use pyproject-build-system.
[arguments]: Replace custom 'check phase with #:test-flags.
[propagated-inputs]: Remove python-autopep8, python-flake8, python-future, and
python-rope; add python-docstring-to-markdown, python-importlib-metadata, and
python-whatthepatch.
[native-inputs]: Add python-autopep8, python-flake8, python-rope,
python-setuptools, and python-wheel; remove python-mock and python-versioneer.

Change-Id: I64e5b3f9f9a92f720d006634fe24ca094c96ea60
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
cdff4d68ca
gnu: python-lsp-jsonrpc: Update to 1.1.2.
* gnu/packages/python-xyz.scm (python-lsp-jsonrpc): Update to 1.1.2.
[build-system]: Use pyproject-build-system.
[native-inputs]: Remove python-mock; add python-coverage, python-pycodestyle,
python-pyflakes, python-pylint, python-pytest-cov, python-setuptools,
python-setuptools-scm, and python-wheel.

Change-Id: Ia8fb2c469d96727addfcf88a36fc51f0e6c0efac
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
2e5a8b0ca8
gnu: python-rope: Update to 1.13.0.
* gnu/packages/python-xyz.scm (python-rope): Update to 1.13.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove to enable all tests.
[propagated-inputs]: Add python-pytoolconfig.
[native-inputs]: Add python-pre-commit, python-pytest-cov, python-setuptools,
and python-wheel.

Change-Id: I6a114d63cc6a59e292801095bef200cff60eeeff
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
cb91747518
gnu: python-platformdirs: Update to 4.2.1.
* gnu/packages/python-xyz.scm (python-platformdirs): Update to 4.2.1.
[native-inputs]: Add python-covdefaults and python-pytest-cov.

Change-Id: I8cd3e6cbe7a43f7a32566d263e571c0ea9920e17
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
09e340ea61
gnu: Add python-whatthepatch.
* gnu/packages/python-xyz.scm (python-whatthepatch): New variable.

Change-Id: If087238003594c55f52d4467b6e7b494a52348f8
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
c0abeb4efa
gnu: Add python-pytoolconfig.
* gnu/packages/python-xyz.scm (python-pytoolconfig): New variable.

Change-Id: I203d68b0eba0b38020a1be98904be386dfc3b2ed
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
2ca8e07a00
gnu: python-json5: Update to 0.9.25.
* gnu/packages/python-xyz.scm (python-json5): Update to 0.9.25.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Idcfaa1af9b233fe59d7abf43c13fc96b6bad1cff
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
b43820782e
gnu: python-graphql-core: Enable tests.
* gnu/packages/python-xyz.scm (python-graphql-core)[build-system]: Use
pyproject-build-system.
[arguments]: Enable tests; add phases 'use-poetry-core and 'patch-setup.py.
[native-inputs]: Add python-poetry-core, python-pytest, and
python-pytest-benchmark.

Change-Id: I519966ca0da38339981a17d830ecac786b36cfb3
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
9b414c7835
gnu: python-cattrs: Update to 23.2.3.
* gnu/packages/python-xyz.scm (python-cattrs): Update to 23.2.3.
[arguments]: Remove 'adjust-for-older-attrs and custom 'check phases; add
'patch-pyproject phase.
[native-inputs]: Add python-hatchling, python-hatch-vcs, and
python-pytest-benchmark.
[propagated-inputs]: Add python-cbor2, python-orjson, python-pyyaml,
python-tomlkit, and python-ujson.

Change-Id: I4bf66d9b767be3c62a816e68e6c3cecd3152cb32
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
273e527239
gnu: Add python-jsonschema-path.
* gnu/packages/python-xyz.scm (python-jsonschema-path): New variable.

Change-Id: Icda558659ea77f040eedb3e7f8605b50b3aaca37
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
3cc911e6f0
gnu: Add python-pathable.
* gnu/packages/python-xyz.scm (python-pathable): New variable.

Change-Id: Ib8d21227db48a9b34941e6c5b291c86efe828ea6
2024-12-13 20:18:43 +00:00
Ricardo Wurmus
76fa5c0917
gnu: python-lazy-object-proxy: Update to 1.10.0.
* gnu/packages/python-xyz.scm (python-lazy-object-proxy): Update to 1.10.0.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pip, python-setuptools, and python-wheel.

Change-Id: I00dc2fa164c8b7ca8b13ac8537c30d1fdb507b9f
2024-12-13 20:18:42 +00:00
Ricardo Wurmus
ecdc264069
gnu: python-tabulate: Add Setuptools and Wheel.
* gnu/packages/python-xyz.scm (python-tabulate)[native-inputs]: Add
python-setuptools and python-wheel.

Change-Id: If6aede34a1ce93146412842c0d08ec811f08037e
2024-12-13 20:18:42 +00:00
Ricardo Wurmus
8fab808b60
gnu: python-notebook: Update to 6.5.7.
* gnu/packages/python-xyz.scm (python-notebook): Update to 6.5.7.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags; remove custom 'check phase; add 'pre-check
phase.
[propagated-inputs]: Add python-nbclassic.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I6839ac39cbdc191cd6a0ca7a25ac05ead7613ad7
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
574e2ecadc
gnu: python-jsonpointer: Update to 1.14.
* gnu/packages/python-xyz.scm (python-jsonpointer): Update to 1.14.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I24c105f237a018c114a84f321b3b558484dcab5e
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
36e2744b3f
gnu: python-json-logger: Update to 2.0.7.
* gnu/packages/python-xyz.scm (python-json-logger): Update to 2.0.7.
[build-system]: Use pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.

Change-Id: Ic927fd9012fc7761f76e74e464d6344b68aa5787
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
bf740bd0c8
gnu: python-jupyter-client: Update to 7.4.4.
* gnu/packages/python-xyz.scm (python-jupyter-client,
python-jupyter-client-bootstrap): Update to 7.4.4.
[native-inputs]: Add python-hatchling; remove python-setuptools and
python-wheel.

Change-Id: I0e2d92762a03af2b8b64434a45f56f998f27a772
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
4a3891e4a9
gnu: python-trio: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-trio)[build-system]: Use
pyproject-build-system.
[arguments]: Replace custom 'check phase with #:test-flags.

Change-Id: I246933a17c1d0a669ead0292145d9b986ffca185
2024-12-13 20:18:41 +00:00
Ricardo Wurmus
8928764688
gnu: python-nbconvert: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-nbconvert)[build-system]: Use
pyproject-build-system.
[native-inputs]: Add python-setuptools and python-wheel.
[arguments]: Add phase 'ignore-deprecation-warnings; replace custom 'check
phase with use of #:test-flags and 'pre-check phase; disable one test and set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I02bebe1ecc524efb335249199971c37d2b2982a5
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
e2fa754750
gnu: python-nbformat: Update to 5.10.4.
* gnu/packages/python-xyz.scm (python-nbformat): Update to 5.10.4.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'patch-pyproject phase.
[native-inputs]: Add python-hatchling and python-pep440.

Change-Id: I259413d51ff7cbca3052f2657eb89f806b3ea559
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
1ced46f4f7
gnu: python-ipykernel: Set environment variable.
* gnu/packages/python-xyz.scm (python-ipykernel)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I99808fcb0e29600b8728d9fbb8ef0f7e0624f99c
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
b2355d26e2
gnu: python-jupyter-client: Set environment variable.
* gnu/packages/python-xyz.scm (python-jupyter-client)[arguments]: Set
JUPYTER_PLATFORM_DIRS variable.

Change-Id: I2516d6d27ce53f778ae265241e95501a0cc024e3
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
a318906821
gnu: python-jupyter-core: Update to 5.7.2.
* gnu/packages/python-xyz.scm (python-jupyter-core): Update to 5.7.2.
[native-inputs]: Add python-hatchling, python-pre-commit, python-pytest-cov,
and python-pytest-timeout.
[propagated-inputs]: Add python-platformdirs.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags instead of custom 'check phase; remove phase
'patch-testsuite; disable a few tests; add phase 'pre-check.

Change-Id: I5f415688d17de1c6b4581a0b339359f7efee68c5
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
69d1d74c9d
gnu: python-pyzmq: Use Tornado 6.
* gnu/packages/python-xyz.scm (python-pyzmq)[native-inputs]: Replace
python-tornado with python-tornado-6.

Change-Id: I63c8ce8b8265f199d619a94459b385a26f65c9a0
2024-12-13 20:18:40 +00:00
Ricardo Wurmus
8348b7c8e9
gnu: python-jsonschema: Update to 4.22.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 4.22.0.
[arguments]: Remove custom 'check phase; remove 'pretend-version phase; add
'pre-check and 'patch-pyproject phases.
[native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme,
python-hatch-vcs, and python-pytest; remove python-setuptools-scm,
python-twisted, python-setuptools, and python-wheel.
[propagated-inputs]: Remove python-importlib-metadata, python-pyrsistent, and
python-typing-extensions; add python-fqdn, python-idna,
python-importlib-resources, python-isoduration, python-jsonpointer,
python-jsonschema-specifications, python-rfc3339-validator,
python-rfc3986-validator, python-referencing-bootstrap,
python-rpds-py, python-uri-template, and python-webcolors.
(python-jsonschema-3)[propagated-inputs]: Override.
[native-inputs]: Override.

Change-Id: I4eccd4b92bcf84458616a64864981befa3541146
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
699bc5db6b
gnu: python-send2trash: Update to 1.8.2.
* gnu/packages/python-xyz.scm (python-send2trash): Update to 1.8.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I62f85bb58ee4efb2accb26086273a7cd2486654e
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
8ac97dcea2
gnu: python-jedi: Update to 0.19.1.
* gnu/packages/python-xyz.scm (python-jedi): Update to 0.19.1.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add 'set-HOME phase.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: Iee74d0850e294cec2e139039d1f93b429e76c29d
2024-12-13 20:18:39 +00:00
Ricardo Wurmus
2d4cc4251e
gnu: python-attrs: Update to 23.2.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 23.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Remove python-coverage, python-hypothesis, and python-six;
add python-hatchling, python-hatch-fancy-pypi-readme, python-hatch-vcs,
python-pytest-xdist, and python-zope-interface.
(python-attrs-bootstrap)[native-inputs]: Add python-hatchling,
python-hatch-fancy-pypi-readme, python-hatch-vcs.

Change-Id: I19f99b38589db7de0f6a78d6e0f126118dbe2b1d
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
a1504cde34
gnu: Add python-overrides.
* gnu/packages/python-xyz.scm (python-overrides): New variable.

Change-Id: I43f613195879ea6cdd5174daadb5e5c35569e534
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
34cd6beab0
gnu: Add python-fqdn.
* gnu/packages/python-xyz.scm (python-fqdn): New variable.

Change-Id: If0355f15374ee7db23bfb54eb682575e59708d05
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
d1df1a80f6
gnu: Add python-uri-template.
* gnu/packages/python-xyz.scm (python-uri-template): New variable.

Change-Id: I2ff3995bc5741da0147a335c5f14f169a8001153
2024-12-13 20:18:38 +00:00
Ricardo Wurmus
976f3adb72
gnu: Add python-isoduration.
* gnu/packages/python-xyz.scm (python-isoduration): New variable.

Change-Id: I3503ea0baf6a73a9b3c19ab616127ce5df1ed827
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
3e33183021
gnu: Add python-rfc3986-validator.
* gnu/packages/python-xyz.scm (python-rfc3986-validator): New variable.

Change-Id: If63c2d8798bc8efd021e6ab008cd5017b3dc7fd1
2024-12-13 20:18:37 +00:00
Ricardo Wurmus
16ae869fef
gnu: Add python-jsonschema-specifications.
* gnu/packages/python-xyz.scm (python-jsonschema-specifications): New variable.

Change-Id: If1f7fa0d4e0bc505d9378ce892af298365754daf
2024-12-13 20:18:37 +00:00