-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't build python3-scipy
#9
Comments
Hi, thanks for the report. The problem seems to be the indirect versioned dependencies.
Yocto master has upgraded I will have to leave |
(Looking...) Or just patch This way |
Weird.
Either somehow the |
Thank you so much for the quick and thorough reply! I was misreading the I'm leaving this issue open for you to decide if you want to take action in your repo to make it compatible with I ran into another issue of the From 200040363de025679ac06ae5dc4b71aad332e0e1 Mon Sep 17 00:00:00 2001
From: Matt Campbell <[email protected]>
Date: Fri, 6 Dec 2024 11:50:18 -0500
Subject: [PATCH] Widen version retirement for gast
Beniget (needed by SciPy) has a version conflict with he provided
version of gast in Yocto. This commit widens the requirement to avoid
that conflict as the minor version revisions are compatible with this
version of Beniget.
Upstream-Status: Pending
---
requirements.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/requirements.txt b/requirements.txt
index 6c43616..3db5af2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-gast ~= 0.5.0
+gast >=0.5.0,<1.0
|
Exactly this is my problem.
There should be no need to patch anything, as this version is in this layer in The next version (see serge-sans-paille/beniget@3f3c950) already requires |
First, thank you for taking up the torch on maintaining
python3-scipy
support. I'm working to pull parts of your layer into a new project I'm starting so I can build scipy. I'm currently pointing atmain
of all upstream layers (which I know might be a bad idea...). I plan on pointing to an official Yocto release after I get things stabilized out on the new project.I brought in your
python3-scipy
recipe and related requirements (i.e.python3-beniget
, etc.). When I go to buildpython3-scipy
I get the following error:When I look in the work dir for
python3-scipy-native
and look inrecipe-sysroot-native
, it did indeed populatepythran
,beniget
andgast
. If I run a devshell and run python3 (double checking it's using therecipe-sysroot-native
version), I can import all those packages. Any idea what is going on here and why the scipy package build process can not find those dependence? Below is a snipped of therun.do_compile
. I suppose it's possible some of those paths are off?python_pep517_do_compile() { nativepython3 -m build --no-isolation --wheel --outdir /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/dist /build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/scipy-1.14.1 -Cbuilddir='/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/build' -Csetup-args=--prefix -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/usr -Csetup-args=--bindir -Csetup-args=bin -Csetup-args=--sbindir -Csetup-args=sbin -Csetup-args=--datadir -Csetup-args=share -Csetup-args=--libdir -Csetup-args=lib -Csetup-args=--libexecdir -Csetup-args=libexec -Csetup-args=--includedir -Csetup-args=include -Csetup-args=--mandir -Csetup-args=share/man -Csetup-args=--infodir -Csetup-args=share/info -Csetup-args=--sysconfdir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/etc -Csetup-args=--localstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/var -Csetup-args=--sharedstatedir -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/recipe-sysroot-native/com -Csetup-args=--wrap-mode -Csetup-args=nodownload -Csetup-args=--native-file -Csetup-args=/build/tmp/work/x86_64-linux/python3-scipy-native/1.14.1/meson.native -Csetup-args=-Dblas=openblas -Csetup-args=-Dlapack=openblas -Csetup-args=-Duse-pythran=true }
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: