gnu: python-argcomplete: Update to 3.2.2. * gnu/packages/patches/python-argcomplete-1.11.1-fish31.patch: Remove patch. * gnu/local.mk (dist_patch_DATA): Remove it. * gnu/packages/python-xyz.scm (python-argcomplete): Update to 3.2.2. [source]: Delete obsolete patch. [build-system]: Use pyproject-build-system. [arguments]: Override check phase. [native-inputs]: Remove python-flake8; add python-mypy, python-setuptools, and zsh. Change-Id: Ia7e37db2b535177eb2caeeab9d7e075af3f273a3
gnu: Add python-pytest-mypy-testing. * gnu/packages/check.scm (python-pytest-mypy-testing): New variable. Change-Id: Ic55e63745eae070e439155f1dc6792285eb87312
gnu: python-lightning-cloud: Disable tests. * gnu/packages/machine-learning.scm (python-lightning-cloud) [arguments] <#:tests?>: Set to #f as PyPI archive does not provide any. Change-Id: I406b6515441d01dc1612caa3d3e7b70fa7b2c980
gnu: python-myst-parser: Relax some requirements. * gnu/packages/sphinx.scm (python-myst-parser) [arguments] <#:test-flags>: Disable one more failing test. <#:phases>: Add 'relax-requirements phase. Change-Id: I4f77ce81e9f69b81b18f3faa546c7d8cd77adf50
gnu: python-textual: Update to 0.50.1. * gnu/packages/python-xyz.scm (python-textual): Update to 0.50.1. [source]: Download from github as pypi package does not include tests. [build-system]: Change to pyproject-build-system. [arguments]: Remove custom 'check phase; add #:test-flags to disable broken tests. [propagated-inputs]: Add python-markdown-it-py, python-mdit-py-plugins and python-tree-sitter. [native-inputs]: Add python-poetry-core and python-pytest-asyncio. Change-Id: Ib144dc87f73e91d4c9d2e8f91ce6ce7a86a481a9 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-jupytext: Update to 1.15.0. * gnu/packages/python-xyz.scm (python-jupytext): Update to 1.15.0. Change-Id: I8cbd4e45eae838cb1733bf8feeb3bc2abe960513
gnu: python-rich: Update to 13.7.0. * gnu/packages/python-xyz.scm (python-rich): Update to 13.7.0. [source]: Use git-fetch since pypi package doesn't include tests. [build-system]: Use pyproject-build-system. [arguments]: Remove custom 'check phase. [propagated-inputs]: Remove python-attrs, python-colorama, python-commonmark and python-typingextensions; add python-ipywidgets and python-markdown-it-py. [native-inputs]: Add python-poetry-core; remove tests (which are now included in new [source]). Change-Id: I15f7928fc376d8c2556ca2965fe44453bd15f248 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-mdit-py-plugins: Update to 0.4.0. * gnu/packages/python-xyz.scm (python-mdit-py-plugins): Update to 0.4.0. Change-Id: I18ca46abebe125d1a6729c10a3f4fa4a62a145ba Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: python-markdown-it-py: Update to 3.0.0. * gnu/packages/python-xyz.scm (python-markdown-it-py): Update to 3.0.0. [propagated-inputs]: Remove python-typing-extensions; add python-commonmark, python-linkify-it-py, python-markdown, python-mistletoe, python-mistune, python-panflute, python-psutil, and python-pyyaml. [native-inputs]: Remove python-flit; add python-flit-core. Change-Id: I5dc06b163ddbec0a32a9d7c3da2c834b2e74cd74 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
gnu: meson-python: Do not delete LICENSES directory. * gnu/packages/build-tools.scm (meson-python)[arguments]: Remove custom phases. Change-Id: I653d18200dbb718791b3e193105b7ce9b22aa6e2
gnu: Add setuptools/wheel to more Python packages. * gnu/packages/python-check.scm (python-beartype, python-pytest-csv)[native-inputs]: Add python-setuptools and python-wheel. * gnu/packages/python-xyz.scm (python-watchdog, python-xyzservices, python-zeroconf)[native-inputs]: Same. Change-Id: Ifac6402da7447a95f4f8fca8d475e87c001bd583
gnu: python-typing-extensions: Update to 4.10.0. * gnu/packages/python-build.scm (python-typing-extensions): Update to 4.10.0. Change-Id: I51c82f40f8093e17e8c6a8f20f1e3eae0917f8ee
gnu: python-sphinx: Update to 6.2.1. * gnu/packages/sphinx.scm (python-sphinx): Update to 6.2.1. [arguments]: Only disable one test. [propagated-inputs]: Add texlive-booktabs. (python-sphinx-5): New variable, inherit from python-sphinx. Change-Id: I95144924c4c0f293993bfbd7b644c378dd160077
gnu: Add missing import (again). Change-Id: I8a7de728a0c6bb3a54ad7213cb6cdc39e1172c81
gnu: Add missing import. Change-Id: I096914ef3980a99e553f512d1e83a0a1e01b4f7e
gnu: Add python-setuptools/python-wheel where necessary. Changes to pyproject-build-system require explicit dependency on setuptools/wheel. Change-Id: Icd7699fc1dc56e974ae7568f2ae916dbf876bea5
doc: Document new options for pyproject-build-system. * doc/guix.texi (Build Systems): Add documentation for changed #:configure-flags and new #:backend-path. Change-Id: Ic8be598ea52ae04230b1e61c329ee55ccbb5dd63
guix: pyproject-build-system: Default configure-flags to empty dictionary. PEP 517 specifies it should be a dictionary and thus meson-python cannot handle an empty list. Fixes: <https://issues.guix.gnu.org/62781> * guix/build-system/pyproject.scm (lower): Change default of configure-flags. * gnu/packages/build-tools.scm (meson-python)[arguments]: Remove #:build-backend, which was a workaround for this bug. [native-inputs]: Remove python-p~a-build and python-wheel, which are not required when using the default build system. Change-Id: I240ced5c88cf55cbee0d6005d7657bfb6b653b12
gnu: python-pytest-xdist: Disable failing test. * gnu/packages/check.scm (python-pytest-xdist)[arguments]: Skip failing test.
build-system/pyproject: Use TOML parser. More reliable than regular expressions. * guix/build-system/pyproject.scm (%pyproject-build-system-modules): Add (guix build toml). (pyproject-build): Add argument #:backend-path. * guix/build/pyproject-build-system.scm (build): Add support for auto-detected and override backend-path. * gnu/packages/python-build.scm (python-tomli)[arguments]: Remove 'add-self-to-path, because it is not necessary any more. (python-poetry-core): Same. (python-hatchling): Same. (python-pdm-backend): Same.