1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-20 01:00:30 +02:00
Commit Graph

132097 Commits

Author SHA1 Message Date
Nicolas Graves
89cd8d59bc gnu: conda: Move to pyproject-build-system.
* gnu/packages/package-management.scm (conda): Improve package style.
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Use field instead of check phase
  replacement.
  <#:phases>: Remove check phase replacement. Improve use of format in
  phase do-not-use-python-root-as-prefix. Use gexp. Put phase init
  after phase create-entrypoints.

Change-Id: Id1affbf8f80fae2882e4c8a88b1e817cf49a5c00
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
426af5d4d3 gnu: python-alembic: Move to pyproject-build-system.
* gnu/packages/databases.scm (python-alembic):
  [build-system]: Move to pyproject-build-system.
  [arguments]: Remove field, now uneeded.

Change-Id: I5907ff84412d867d094aae5fb4daa8481eb7f30c
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
bc90ab9281 gnu: python-apiron: Move to pyproject-build-system.
* gnu/packages/python-web.scm (python-apiron):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Replace field with <#:test-flags>.

Change-Id: I04bb9739b6356fd50fc07ae54838764d51ed22d6
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
80a0bd2586 gnu: qtile: Improve package style.
* gnu/packages/wm.scm (qtile): Indent as needed. Light rewrite using
 format instead of string-append in [arguments]<#:phases>. Ensure
 lines wrap with intended length.

Change-Id: I297718138642d24604743137f3181bfc76a51b54
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +00:00
Nicolas Graves
cfc9e96381 gnu: qtile: Update to 0.23.0.
* gnu/packages/wm.scm (qtile): Update to 0.23.0.
  [build-system]: Upgrade to pyproject-build-system.
  [arguments]<#:phases>: Use gexp (but do not indent). Add phase
  pre-check.
  <#:test-flags>: Use it.
  [native-inputs]: Add python-pytest and
  xorg-server-for-tests. Reorder.

Change-Id: Id6f291c0d23fa2cef17d6e45552f45c56f162741
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:49 +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
fa2a30fa5a gnu: Add ghc-language-python.
* gnu/packages/haskell-xyz.scm (ghc-language-python): New variable.

Change-Id: I29bcdedf155486673e01b3b6af71a2aa81455ef6
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
d8611090b9 gnu: Add xcffibgen.
* gnu/packages/xorg.scm (xcffibgen): New variable.

Change-Id: Ibcbacdfdeaa657ec1ded7dcc09c10c7fc2aa6717
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
1c9a62192e gnu: python-docker-pycreds: Move to pyproject-build-system.
* gnu/packages/docker.scm (python-docker-pycreds):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Use it.
  <#:phases>: Remove uneeded field.
  [native-inputs]: Remove python-pytest-cov and python-flake8. Add
  python-setuptools, python-wheel.

Change-Id: Idde93a366fa187d2af915ed15801da2cdbaa3792
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
2139b3724d gnu: python-django-localflavor: Move to pyproject-build-system.
* gnu/packages/django.scm (python-django-localflavor):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:phases>: Rewrite check phase replacement.
             <#:test-flags>: Use it.
  [native-inputs]: Remove them. Not needed with the check phase
  rewrite.

Change-Id: Ie50baab2cb102585ee25e3264e00eebe370f4cb2
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
0b155564a2 gnu: vdirsyncer: Move to pyproject-build-system and enable tests.
* gnu/packages/dav.scm (vdirsyncer):
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:tests?>: Remove to enable tests.
  <#:test-flags>: Ignore test that require network connection.
  <#:phases>: Remove check phase replacement.

Change-Id: Iafccfc65e3a847a0eecc26c179f435b9ec1fdfec
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +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
7779c5e794 gnu: python-zope-i18nmessageid: Update to 5.1.1.
* gnu/packages/python-web.scm (python-zope-i18nmessageid): Update to 5.1.1.

Change-Id: Ia53db09774addf05b0a856fd1f573c5dd5c902aa
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:48 +00:00
Nicolas Graves
5ff86792e5 gnu: python-http-ece: Update to 1.2.0.
* gnu/packages/python-web.scm (python-http-ece): Update to 1.2.0.

Change-Id: I8d82959841b64db48eb01b88914298ba12f1a388
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +00:00
Nicolas Graves
49b12ccdca gnu: python-mutagen: Move to pyproject-build-system.
* gnu/packages/music.scm (python-mutagen):
  [build-system]: Move to pyproject-build-system.

Change-Id: Ic7790e4a17e3f0bdd7347eb668796aa4e0f61b0b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-12-13 20:18:47 +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
e187c39fce gnu: python-transient: Move to pyproject-build-system.
* gnu/packages/virtualization.scm (python-transient)[build-system]:
Move to pyproject-build-system.

Change-Id: I29969738f862ea26fbaa9cb7642f98336f37c583
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
8183357b9c gnu: python-jupyterlab-widgets: Update to 3.0.10.
* gnu/packages/jupyter.scm (python-jupyterlab-widgets): Update to 3.0.10.
[native-inputs]: Remove python-setuptools.

Change-Id: I806dc0df2dcc7a6782e8918162fd8a09ccaa68a7
2024-12-13 20:18:46 +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
237cf5c231 gnu: Add python-comm.
* gnu/packages/jupyter.scm (python-comm): New variable.

Change-Id: I888125238a566b470d4f5f96c5cc178f41a7a4ff
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
799c56265f gnu: python-pycurl: Update to 7.45.3.
* gnu/packages/python-web.scm (python-pycurl): Update to 7.45.3.
[arguments]: Adjust tests.

Change-Id: I05120931c979d292c2f888d29c80c93a82a291a0
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
51b57dc03c gnu: python-sphinx-4: Inherit from python-sphinx-5.
* gnu/packages/sphinx.scm (python-sphinx-4): Inherit from python-sphinx-5, in
particular the arguments field.

Change-Id: Icb15e34b7bfbe38d17f4cd64234316950437538d
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
8f473d8cff gnu: python-sphinx-5: Disable failing tests.
* gnu/packages/sphinx.scm (python-sphinx-5)[arguments]: Disable three tests
that fail for silly reasons.

Change-Id: I82d9fd4465fbfe052f8aad2264a9b04d34efef89
2024-12-13 20:18:45 +00:00
Ricardo Wurmus
d3a22534c6 gnu: python-nbclient: Update to 0.10.0.
* gnu/packages/jupyter.scm (python-nbclient): Update to 0.10.0.
[native-inputs]: Remove python-setuptools and python-wheel; add
python-hatchling, python-flaky, python-pytest, python-pytest-asyncio,
python-pytest-cov, python-testpath, and python-xmltodict.

Change-Id: I15a87323456c6b4eaa8361972bcb6ae3686ec687
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
95438d9f2b gnu: repo2docker: Update to 2024.03.0.
* gnu/packages/jupyter.scm (repo2docker): Update to 2024.03.0.
[build-system]: Use pyproject-build-system.
[arguments]: Use G-expression.
[native-inputs]: Add python-setuptools, python-sphinx-autobuild,
python-sphinx-copybutton, python-sphinxext-opengraph,
python-sphinxext-rediraffe, and python-wheel.

Change-Id: I5761f6d36e57b7fe25bc1dbbdaedfa2ca69c1fa7
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
3b2f5942d0 gnu: Add python-sphinxext-rediraffe.
* gnu/packages/sphinx.scm (python-sphinxext-rediraffe): New variable.

Change-Id: I772993b7bc3a43befc459cc6a9c6d1c90932d341
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
d058b5104a gnu: python-myst-parser: Update to 3.0.1.
* gnu/packages/sphinx.scm (python-myst-parser): Update to 3.0.1.
[arguments]: Adjust tests; remove extra build phases.

Change-Id: I1990d2156958dc437875bf1f7f8b4defc147e58a
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
a1c132d37e gnu: python-sphinx-pytest: Update to 0.2.0.
* gnu/packages/sphinx.scm (python-sphinx-pytest): Update to 0.2.0.

Change-Id: I37b3da737bd09b6b2ffa59b6e37559ac04b0e1f7
2024-12-13 20:18:44 +00:00
Ricardo Wurmus
7e4d03bc63 gnu: python-jupyterlab-server: Update to 2.27.1.
* gnu/packages/jupyter.scm (python-jupyterlab-server): Update to 2.27.1.
[build-system]: Use pyproject-build-system.
[arguments]: Replace custom 'check phase with #:test-flags; add phases
'ignore-deprecation-warnings and 'set-HOME.
[propagated-inputs]: Remove python-entrypoints.
[native-inputs]: Remove python-jupyter-server and python-pytest-tornasync; add
python-hatchling, python-pytest-cov, python-pytest-jupyter,
python-pytest-timeout, python-requests-mock, and python-werkzeug.

Change-Id: If0a0631717a6dc6a260d6954349576b0f4efda3d
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
a10ee797b2 gnu: python-openapi-core: Update to 0.19.1.
* gnu/packages/python-web.scm (python-openapi-core): Update to 0.19.1.
[arguments]: Enable one test that no longer fails, disable others that do.
[propagated-inputs]: Add python-aiohttp.

Change-Id: I0a793911f795e18750009e7834b7e1f6d7152282
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
565f483ef0 gnu: python-openapi-spec-validator: Update to 0.7.1.
* gnu/packages/python-web.scm (python-openapi-spec-validator): Update to
0.7.1.
[arguments]: Update test selection.
[propagated-inputs]: Add python-jsonschema-path and python-lazy-object-proxy.

Change-Id: Ie10257a90b495addf3ea890cf9b3c71c6f14da8f
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