Python opm 2023.04 appears to lack boost169
mferrera opened this issue · 3 comments
mferrera commented
- OS: 22.04.2 LTS
- Python: Python 3.8.10
Steps to reproduce
python -m venv opm
pip install -U pip opm
pip list
# Package Version
# ------------- -------
# opm 2023.4
# pip 23.1.2
# pkg_resources 0.0.0
# setuptools 44.0.0
python -c "from opm._common import action"
Results in
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/.../test/opm/lib/python3.8/site-packages/opm/_common.py", line 12, in <module>
from .opmcommon_python import action
ImportError: libboost_system.so.1.69.0: cannot open shared object file: No such file or directory
But
pip install opm==2022.10
pip list
# Package Version
# ------------- -------
# opm 2022.10
# pip 23.1.2
# pkg_resources 0.0.0
# setuptools 44.0.0
python -c "from opm._common import action"
# No error
Also,
opm-2022.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.1 MB)
opm-2023.4-cp38-cp38-manylinux2014_x86_64.whl (4.3 MB)
There is a fairly large size difference :-)
cf. 6316768 ?
akva2 commented
Not that one but building using cmake. I will have to fiddle some flags to make it use static boost, I completely overlooked that. Will fix.
…________________________________
From: mferrera ***@***.***>
Sent: Thursday, May 11, 2023 4:58:54 PM
To: OPM/opm-common ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [OPM/opm-common] Python opm 2023.04 appears to lack boost169 (Issue #3519)
* OS: 22.04.2 LTS
* Python: Python 3.8.10
Steps to reproduce
python -m venv opm
pip install -U pip opm
pip list
# Package Version
# ------------- -------
# opm 2023.4
# pip 23.1.2
# pkg_resources 0.0.0
# setuptools 44.0.0
python -c "from opm._common import action"
Results in
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/.../test/opm/lib/python3.8/site-packages/opm/_common.py", line 12, in <module>
from .opmcommon_python import action
ImportError: libboost_system.so.1.69.0: cannot open shared object file: No such file or directory
But
pip install opm==2022.10
pip list
# Package Version
# ------------- -------
# opm 2022.10
# pip 23.1.2
# pkg_resources 0.0.0
# setuptools 44.0.0
python -c "from opm._common import action"
# No error
Also,
opm-2022.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.1 MB)
opm-2023.4-cp38-cp38-manylinux2014_x86_64.whl (4.3 MB)
There is a fairly large size difference :-)
cf. 6316768<6316768> ?
—
Reply to this email directly, view it on GitHub<#3519>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAQLQRYU2GD7J7R65RFJXLTXFT5C5ANCNFSM6AAAAAAX6IFFVY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
akva2 commented
I have pushed out 2023.4.1 that should fix this. Please confirm.
mferrera commented
LGTM, thanks for the quick resolution!