Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Trevor Gamblin" <tgamblin@baylibre.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core][PATCH 6/6] python3-setuptools-scm: upgrade 8.3.1 -> 9.2.0
Date: Sun, 21 Sep 2025 09:40:11 +0200	[thread overview]
Message-ID: <DCYB3P86O998.3GPS55UV93JDF@bootlin.com> (raw)
In-Reply-To: <20250919164803.3174518-6-tgamblin@baylibre.com>

On Fri Sep 19, 2025 at 6:48 PM CEST, Trevor Gamblin wrote:
> Release notes (https://github.com/pypa/setuptools-scm/releases):
>
> v9.2.0:
>
> - reiterate version inference by RonnyPfannschmidt in #1202
> - simple activation now requires a extra instead of setting up many
>   pre-existing projects for failure/error
>
> Note that there were several v9.2.x releases yanked upstream before this
> one was added on August 16th.
>
> Add python3-tomllib to the RDEPENDS list so that the module imports OK.
>
> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
> ---

Hi Trevor,

Thanks for your patch.

It looks like this is breaking the build of some package:

ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/temp/log.do_compile.2316634
Log data follows:
| DEBUG: Executing shell function do_compile
| * Getting build dependencies for wheel...
| /srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
| !!
| 
|         ********************************************************************************
|         Please consider removing the following classifiers in favor of a SPDX license expression:
| 
|         License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
| 
|         See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
|         ********************************************************************************
| 
| !!
|   self._finalize_license_expression()
| /srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools_scm/_integration/version_inference.py:51: UserWarning: version of python-dbusmock already set
|   warnings.warn(self.message)
| Traceback (most recent call last):
|   File "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 71, in __getattr__
|     return next(
|         ast.literal_eval(value)
|         for target, value in self._find_assignments()
|         if isinstance(target, ast.Name) and target.id == attr
|     )
| StopIteration
| 
| The above exception was the direct cause of the following exception:
| 
| Traceback (most recent call last):
|   File "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 185, in read_attr
|     value = getattr(StaticModule(module_name, spec), attr_name)
|   File "/srv/pokybuild/yocto-worker/beaglebone/build/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/python3-dbusmock/0.33.0/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/config/expand.py", line 77, in __getattr__
|     raise AttributeError(f"{self.name} has no attribute {attr}") from e
| AttributeError: dbusmock has no attribute __version__
| 

https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/2434

Can you have a look at this issue please?

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2025-09-21  7:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-19 16:47 [OE-core][PATCH 1/6] maintainers.inc: add self for python recipes Trevor Gamblin
2025-09-19 16:47 ` [OE-core][PATCH 2/6] python3-numpy: upgrade 2.3.2 -> 2.3.3 Trevor Gamblin
2025-09-19 16:48 ` [OE-core][PATCH 3/6] python3-trove-classifiers: upgrade 2025.9.8.13 -> 2025.9.11.17 Trevor Gamblin
2025-09-19 16:48 ` [OE-core][PATCH 4/6] python3-hypothesis: upgrade 6.138.15 -> 6.139.2 Trevor Gamblin
2025-09-19 16:48 ` [OE-core][PATCH 5/6] python3-pyparsing: upgrade 3.2.3 -> 3.2.4 Trevor Gamblin
2025-09-19 16:48 ` [OE-core][PATCH 6/6] python3-setuptools-scm: upgrade 8.3.1 -> 9.2.0 Trevor Gamblin
2025-09-21  7:40   ` Mathieu Dubois-Briand [this message]
2025-09-21 14:09     ` Trevor Gamblin
2025-09-22  8:06       ` Mathieu Dubois-Briand

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=DCYB3P86O998.3GPS55UV93JDF@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tgamblin@baylibre.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