unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: John Kehayias <john.kehayias@protonmail.com>
Cc: 50947@debbugs.gnu.org, Maxim Cournoyer <maxim.cournoyer@gmail.com>
Subject: bug#50947: [core-updates-frozen] python-graphene (fixed with version update) and python-nautilus fail to build
Date: Thu, 18 Nov 2021 15:57:13 +0100	[thread overview]
Message-ID: <87fsrtpl4m.fsf@gnu.org> (raw)
In-Reply-To: <j4up-vkfh01A_MphJb2GUpeMXnXyeJUlybKVCPI99aZtMblAphc5zqpIeIZTNq-rT4stupCgGN-3e058Ecw-P0nFnzZjrFyCqwO128qSGE0=@protonmail.com> (John Kehayias's message of "Fri, 01 Oct 2021 17:52:39 +0000")

Hi John,

John Kehayias <john.kehayias@protonmail.com> skribis:

> python-graphene fails to build on core-updates-frozen; log from the CI on x86_64 is here: https://ci.guix.gnu.org/build/894641/details
>
> I tried updating this and needed packages, though some things are in between versions and dependencies (between beta/rc and older stable release). It started getting a little messy with needing several older versions of packages, so I found the easiest thing was to update python-graphene to the latest beta version, since that closely matches the dependency versions we have. Although the dependents also depend on python-nautilus, so I haven't been able to check their builds (see below).

Addressed with something similar to your patch in commit
2b3046beca1b35e03f975fb95956f32eb46dee8c.

> So that builds (see git diff attached), but then python-nautilus fails for me, after updating it as well, with the (partial log):
>
> Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/scripts/events/publish.py'...
> Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates'...
> Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api'...
> Listing '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}'...
> Compiling '/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}/server.py'...
> ***   File "/gnu/store/i7f6bzgm5aaxlsijfilra4w4sms2wa51-python-nautilus-0.5.2/lib/python3.9/site-packages/nautilus/management/templates/api/{{name}}/server.py", line 4
>     class {{name.title()}}Service(nautilus.APIGateway):
>           ^
> SyntaxError: invalid syntax

That I don’t know how to fix.  Looks like these are templates, not
actual Python files, and that as such they should be skipped compilation
machinery in the ‘install’ phase.

Maxim, any suggestions?

Thanks,
Ludo’.




  reply	other threads:[~2021-11-18 15:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 17:52 bug#50947: [core-updates-frozen] python-graphene (fixed with version update) and python-nautilus fail to build John Kehayias via Bug reports for GNU Guix
2021-11-18 14:57 ` Ludovic Courtès [this message]
2021-11-21 21:29   ` John Kehayias via Bug reports for GNU Guix

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=87fsrtpl4m.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=50947@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    --cc=maxim.cournoyer@gmail.com \
    /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).