Skip to content
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

Issue with the rapidyaml Python package #56

Open
mkurc-ant opened this issue Jul 30, 2021 · 2 comments
Open

Issue with the rapidyaml Python package #56

mkurc-ant opened this issue Jul 30, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@mkurc-ant
Copy link
Collaborator

mkurc-ant commented Jul 30, 2021

This issue is to track rapidyaml package import errors, another issue has been posted in the rapidyaml repo: biojppm/rapidyaml#146

With the PR #42 I've noticed kokoro CI failures on rapidyaml import. whereas the GH actions CI imports it successfully even though it uses the same Conda environmeng.

By attaching the following debug command just before invoking the tests themselves to each CI script:

strace python -c "import ryml" 2>&1 | grep "\.so" || true

I discovered that the Python interpreter always tries to link libpython3.9.so.1.0 even though the conda env uses Python 3.7.

On GH actions the import succeeds because the library is found in the system outside the conda env while on kokoro it is not. The log indicated that it linked to /opt/hostedtoolcache/Python/3.9.6/x64/lib/libpython3.9.so.1.0

@issuelabeler issuelabeler bot added the bug Something isn't working label Jul 30, 2021
mtdudek added a commit to antmicro/fpga-interchange-tests that referenced this issue Jul 30, 2021
Rapidyaml requires libpython3.9.so.1.0 to work, but it isn't installed.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
mtdudek added a commit to antmicro/fpga-interchange-tests that referenced this issue Jul 30, 2021
Rapidyaml requires libpython3.9.so.1.0 to work, but it isn't installed.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
mtdudek added a commit to antmicro/fpga-interchange-tests that referenced this issue Jul 30, 2021
Rapidyaml requires libpython3.9.so.1.0 to work, but it isn't installed.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
mtdudek added a commit to antmicro/fpga-interchange-tests that referenced this issue Jul 30, 2021
Rapidyaml requires libpython3.9.so.1.0 to work, but it isn't installed.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
@mithro
Copy link
Contributor

mithro commented Jul 30, 2021

@mkurc-ant - Shouldn't conda package building be complaining about that?

acomodi pushed a commit to antmicro/fpga-interchange-tests that referenced this issue Aug 2, 2021
Rapidyaml requires libpython3.9.so.1.0 to work, but it isn't installed.

Signed-off-by: Maciej Dudek <mdudek@antmicro.com>
@mkurc-ant
Copy link
Collaborator Author

@mithro We install rapidyaml through pip, not conda. I haven't been fully through the package build system but it looks like the package has the requirement of Python >= 3.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants