Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] utils/genrandconfig: switch to async/await format
Date: Sat, 08 Jun 2024 18:52:11 +0200	[thread overview]
Message-ID: <87y17fxtqc.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20240528132218.2307479-1-james.hilliard1@gmail.com> (James Hilliard's message of "Tue, 28 May 2024 07:22:18 -0600")

>>>>> "James" == James Hilliard <james.hilliard1@gmail.com> writes:

 > This requires python 3.5 or newer but is a bit cleaner than the
 > previous coroutine method.

 > This should also fix a python3.12 issue:
 > [Tue, 28 May 2024 13:09:05] INFO: generate the configuration
 > Traceback (most recent call last):
 >   File "/home/autobuild/autobuild/instance-0/buildroot/utils/genrandconfig", line 833, in <module>
 >     ret = asyncio.run(gen_config(args))
 >           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 >   File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
 >     return runner.run(main)
 >            ^^^^^^^^^^^^^^^^
 >   File "/usr/lib/python3.12/asyncio/runners.py", line 89, in run
 >     raise ValueError("a coroutine was expected, got {!r}".format(coro))
 > ValueError: a coroutine was expected, got <generator object gen_config at 0xffff7bd822c0>
 > [Tue, 28 May 2024 13:09:06] WARN: failed to generate configuration

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
 > ---
 > Changes v1 -> v2:
 >   - rebase
 >   - update commit message with python 3.12 fix info

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-06-08 16:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-28 13:22 [Buildroot] [PATCH v2 1/1] utils/genrandconfig: switch to async/await format James Hilliard
2024-05-28 13:31 ` Baruch Siach via buildroot
2024-05-28 13:33   ` James Hilliard
2024-05-28 13:45     ` Baruch Siach via buildroot
2024-05-31 18:48 ` [Buildroot] [External] - " Vincent Fazio
2024-05-31 19:23 ` [Buildroot] " Yann E. MORIN
2024-06-08 16:52 ` Peter Korsgaard [this message]

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

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

  git send-email \
    --in-reply-to=87y17fxtqc.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox