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.
guix: toml: Add TOML parser. * guix/build/toml.scm: New file. * tests/toml.scm: New file. * Makefile.am: Register new files.
gnu: sssd: Import ensure-no-mtimes-pre-1980. * gnu/packages/sssd.scm (sssd)[arguments]: Add python-build-system to #:modules and #:imported modules instead of using @@ reference. Change-Id: Id5217e4872a62323691b8976030a1768a6885942
gnu: criu: Remove temporary workaround. * gnu/packages/virtualization.scm (criu)[arguments]: Import ensure-no-mtimes-pre-1980 from python-build-system and remove copied code. Change-Id: I2ab9eb51dfa66fcf5b0144eab73d63055400e30c
build-system/python: Ignore symlinks when changing mtime. * guix/build/python-build-system.scm (ensure-no-mtimes-pre-1980): Ignore 'symlink.
build-system/pyproject: Use python-sans-pip-wrapper as default-python. Also adds python-setuptools and python-wheel to relevant packages, either to native-inputs or to propagated inputs if the pkg_resources Python module is loaded at runtime. * guix/build-system/pyproject.scm (default-python): Default to python-sans-pip-wrapper. Change-Id: I2d986c2225114f54459dd6bb360913106e52cdf4
gnu: python-sphinx: Update to 5.3.0. * gnu/packages/sphinx.scm (python-sphinx): Update to 5.3.0. [build-system]: Use pyproject-build-system. [arguments]: Remove custom check phase; add pre-check phase. [propagated-inputs]: Add python-colorama, python-filelock, python-flake8, python-html5lib, python-isort, python-mypy, python-sphinxcontrib-websupport, and python-types-requests. [native-inputs]: Remove python-html5lib; add python-flit-core. Change-Id: I843d70361cdf707ca67616075f4c71f1e59a72f3
gnu: python-sphinx-alabaster-theme: Update to 0.7.13. * gnu/packages/sphinx.scm (python-sphinx-alabaster-theme): Update to 0.7.13. [build-system]: Use pyproject-build-system.