unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: 62781@debbugs.gnu.org
Subject: bug#62781: [pyproject-build-system] build failure when using mesonpy pep 517 builder
Date: Tue, 11 Apr 2023 16:50:21 -0400	[thread overview]
Message-ID: <87pm8akusy.fsf@gmail.com> (raw)

Hi,

Attempting to update python-scipy on the core-updates branch, I tried
having it use pyproject-build-system with meson-python as the builder,
but it fails like:

--8<---------------cut here---------------start------------->8---
starting phase `build'
Using 'mesonpy' to build wheels, auto-detected 'mesonpy', override '#f'.
Traceback (most recent call last):
  File "<string>", line 4, in <module>
  File "/gnu/store/mpclbasyclbc4pdkf96q2iksc687f3p7-meson-python-0.12.1/lib/python3.10/site-packages/mesonpy/__init__.py", line 1054, in wrapper
    return func(*args, **kwargs)
  File "/gnu/store/mpclbasyclbc4pdkf96q2iksc687f3p7-meson-python-0.12.1/lib/python3.10/site-packages/mesonpy/__init__.py", line 1115, in build_wheel
    with _project(config_settings) as project:
  File "/gnu/store/fxd7cxzv3fzkm745x26zswrsa4gfv3fs-python-3.10.7/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/gnu/store/mpclbasyclbc4pdkf96q2iksc687f3p7-meson-python-0.12.1/lib/python3.10/site-packages/mesonpy/__init__.py", line 971, in _project
    for key, value in config_settings.items()
AttributeError: 'list' object has no attribute 'items'
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import sys, importlib, json\nconfig_settings = json.loads (sys.argv[3])\nbuilder = importlib.import_module(sys.argv[1])\nbuilder.build_wheel(sys.argv[2], config_settings=config_settings)" "mesonpy" "dist" "[]") exit-status: 1 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.4 seconds
--8<---------------cut here---------------end--------------->8---

As I've seen this same error with another package/attempt (meson-python
itself), I'm creating this ticket.  It's probably our custom Python code
in pyproject-build-system that needs to be updated.

-- 
Thanks,
Maxim




                 reply	other threads:[~2023-04-11 20:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pm8akusy.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=62781@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).