On Wed, 28 Aug 2024 at 22:05, Trevor Gamblin via
lists.openembedded.org <tgamblin=baylibre....@lists.openembedded.org>
wrote:
> Even with that workaround, I see a more serious issue:
>
> |DEBUG: Executing shell function do_compile
> |/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/setup.py:60:
> RuntimeWarning: NumPy 1.26.4 may not yet support Python 3.12.
> | warnings.warn(
> |Running from numpy source directory.
> |/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/setup.py:75:
> DeprecationWarning:
> |
> | `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
> |  of the deprecation of `distutils` itself. It will be removed for
> |  Python >= 3.12. For older Python versions it will remain present.
> |  It is recommended to use `setuptools < 60.0` for those Python versions.
> |  For more details, see:
> | https://numpy.org/devdocs/reference/distutils_status_migration.html
> |
> |
> |  import numpy.distutils.command.sdist
> |Traceback (most recent call last):
> |  File
> "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/setup.py",
> line 483, in <module>
> |    from numpy.distutils.core import numpy_cmdclass as cmdclass
> |  File
> "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/numpy/distutils/core.py",
> line 24, in <module>
> |    from numpy.distutils.command import config, config_compiler, \
> |  File
> "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/numpy/distutils/command/config.py",
> line 19, in <module>
> |    from numpy.distutils.mingw32ccompiler import generate_manifest
> |  File
> "/home/tgamblin/workspace/yocto/poky/build/tmp/work/core2-64-poky-linux/python3-numpy/1.26.4/numpy-1.26.4/numpy/distutils/mingw32ccompiler.py",
> line 27, in <module>
> |    from distutils.msvccompiler import get_build_version as
> get_build_msvc_version
> |ModuleNotFoundError: No module named 'distutils.msvccompiler'
> |ERROR: 'python3 setup.py bdist_wheel ' execution failed.
>
> I think we'll need to wait for the numpy upgrade to go in.

I don't understand. This setuptools update did make it to master, and
numpy 1.26.4 builds fine with it on the autobuilder and in my local
builds.

Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203891): 
https://lists.openembedded.org/g/openembedded-core/message/203891
Mute This Topic: https://lists.openembedded.org/mt/107996505/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to