[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/361: guix: pyproject-build-system: Default configure-flags to empty d
From: |
guix-commits |
Subject: |
12/361: guix: pyproject-build-system: Default configure-flags to empty dictionary. |
Date: |
Thu, 21 Nov 2024 06:28:37 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit d9c72f65bab907e8de68f9de1153d1df62744b71
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Sun Jul 30 13:36:37 2023 +0200
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/packages/build-tools.scm | 10 ++--------
guix/build-system/pyproject.scm | 2 +-
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index b6b991247a..3fefd6004c 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -357,10 +357,7 @@ resembles Python.")
"0vyjhjabvm41hqijifk33idbdl62i76kfyf884f9rs29rpp77nzx"))))
(build-system pyproject-build-system)
(arguments
- ;; The project is configured to use itself to build ('mesonpy') and fails;
- ;; use another PEP 517 build system.
- (list #:build-backend "setuptools.build_meta"
- #:test-flags #~(list "tests"
+ (list #:test-flags #~(list "tests"
;; The test_pep518 tries to install
;; dependencies from the network using pip.
"-k" "not test_pep518")
@@ -381,10 +378,7 @@ resembles Python.")
python-typing-extensions
python-wheel))
(native-inputs
- (list python-pypa-build
- python-wheel
-
- ;; For tests.
+ (list ;; For tests.
git-minimal/pinned
patchelf
pkg-config
diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm
index 7c16ba6573..bdf8f440ac 100644
--- a/guix/build-system/pyproject.scm
+++ b/guix/build-system/pyproject.scm
@@ -93,7 +93,7 @@
(define* (pyproject-build name inputs
#:key source
(tests? #t)
- (configure-flags ''())
+ (configure-flags ''(@))
(backend-path #f)
(build-backend #f)
(test-backend #f)
- branch python-team created (now 03305c465d), guix-commits, 2024/11/21
- 04/361: gnu: python-sphinx: Update to 5.3.0., guix-commits, 2024/11/21
- 01/361: gnu: python-pygments: Update to 2.15.1., guix-commits, 2024/11/21
- 03/361: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/11/21
- 05/361: build-system/pyproject: Use python-sans-pip-wrapper as default-python., guix-commits, 2024/11/21
- 15/361: gnu: Add missing import., guix-commits, 2024/11/21
- 12/361: guix: pyproject-build-system: Default configure-flags to empty dictionary.,
guix-commits <=
- 19/361: gnu: Add setuptools/wheel to more Python packages., guix-commits, 2024/11/21
- 18/361: gnu: python-typing-extensions: Update to 4.10.0., guix-commits, 2024/11/21
- 02/361: gnu: python-imagesize: Update to 1.4.1., guix-commits, 2024/11/21
- 06/361: build-system/python: Ignore symlinks when changing mtime., guix-commits, 2024/11/21
- 09/361: guix: toml: Add TOML parser., guix-commits, 2024/11/21
- 16/361: gnu: Add missing import (again)., guix-commits, 2024/11/21
- 21/361: gnu: python-markdown-it-py: Update to 3.0.0., guix-commits, 2024/11/21
- 22/361: gnu: python-mdit-py-plugins: Update to 0.4.0., guix-commits, 2024/11/21
- 24/361: gnu: python-jupytext: Update to 1.15.0., guix-commits, 2024/11/21
- 25/361: gnu: python-textual: Update to 0.50.1., guix-commits, 2024/11/21