conda-forge / ifcopenshell-feedstock

A conda-smithy repository for ifcopenshell.
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

macOS ARM64 does not build correctly and cannot be imported #49

Closed oursland closed 3 months ago

oursland commented 4 months ago

Solution to issue cannot be found in the documentation.

Issue

The necessary libraries for macOS ARM64 are not being built in the package and cannot be imported. This is reflected in the Azure builds, although it is not triggering an error. Perhaps the build scripts need to be updated.

In meta.yaml the test phase should be performing an import ifcopenshell. This is present in the macOS builds for x86-64, but not in the macOS for ARM64.

Installed packages

# packages in environment at /Users/jso/code/FreeCAD/FreeCAD/.conda/freecad:
#
# Name                    Version                   Build  Channel
aiohttp                   3.9.5           py311h05b510d_0    conda-forge
aiosignal                 1.3.1              pyhd8ed1ab_0    conda-forge
aom                       3.9.1                h7bae524_0    conda-forge
archspec                  0.2.3              pyhd8ed1ab_0    conda-forge
arpack                    3.9.1           nompi_h593882a_101    conda-forge
atk-1.0                   2.38.0               hd03087b_2    conda-forge
attrs                     23.2.0             pyh71513ae_0    conda-forge
blas                      2.122                accelerate    conda-forge
blas-devel                3.9.0           22_osxarm64_accelerate    conda-forge
blinker                   1.8.2              pyhd8ed1ab_0    conda-forge
blosc                     1.21.6               h5499902_0    conda-forge
boltons                   24.0.0             pyhd8ed1ab_0    conda-forge
brotli                    1.1.0                hb547adb_1    conda-forge
brotli-bin                1.1.0                hb547adb_1    conda-forge
brotli-python             1.1.0           py311ha891d26_1    conda-forge
bzip2                     1.0.8                h93a5062_5    conda-forge
c-ares                    1.28.1               h93a5062_0    conda-forge
c-compiler                1.7.0                h6aa9301_1    conda-forge
ca-certificates           2024.6.2             hf0a4a13_0    conda-forge
cairo                     1.18.0               hc6c324b_2    conda-forge
calculix                  2.21                 hb88299f_2    conda-forge
ccache                    4.10.1               hbe278c5_0    conda-forge
cctools                   986                  h4faf515_0    conda-forge
cctools_osx-arm64         986                  h62378fb_0    conda-forge
certifi                   2024.6.2           pyhd8ed1ab_0    conda-forge
cffi                      1.16.0          py311h4a08483_0    conda-forge
cfgv                      3.3.1              pyhd8ed1ab_0    conda-forge
cgal-cpp                  5.6.1                hf2eced8_0    conda-forge
charset-normalizer        3.3.2              pyhd8ed1ab_0    conda-forge
clang                     16.0.6          default_h095aff0_8    conda-forge
clang-16                  16.0.6          default_hb63da90_8    conda-forge
clang_impl_osx-arm64      16.0.6              hc421ffc_16    conda-forge
clang_osx-arm64           16.0.6              h54d7cd3_16    conda-forge
clangxx                   16.0.6          default_h095aff0_8    conda-forge
clangxx_impl_osx-arm64    16.0.6              hcd7bac0_16    conda-forge
clangxx_osx-arm64         16.0.6              h54d7cd3_16    conda-forge
cmake                     3.28.3               h50fd54c_0    conda-forge
coin3d                    4.0.2                h7cbf44c_1    conda-forge
colorama                  0.4.6              pyhd8ed1ab_0    conda-forge
compiler-rt               16.0.6               h3808999_2    conda-forge
compiler-rt_osx-arm64     16.0.6               h3808999_2    conda-forge
compilers                 1.7.0                hce30654_1    conda-forge
conda                     24.5.0          py311h267d04e_0    conda-forge
conda-devenv              3.3.0              pyhd8ed1ab_0    conda-forge
conda-libmamba-solver     24.1.0             pyhd8ed1ab_0    conda-forge
conda-package-handling    2.3.0              pyh7900ff3_0    conda-forge
conda-package-streaming   0.10.0             pyhd8ed1ab_0    conda-forge
contourpy                 1.2.1           py311hcc98501_0    conda-forge
curl                      8.8.0                h653d890_1    conda-forge
cxx-compiler              1.7.0                h2ffa867_1    conda-forge
cycler                    0.12.1             pyhd8ed1ab_0    conda-forge
dav1d                     1.2.1                hb547adb_0    conda-forge
debugpy                   1.8.2           py311hb9542d7_0    conda-forge
distlib                   0.3.8              pyhd8ed1ab_0    conda-forge
distro                    1.9.0              pyhd8ed1ab_0    conda-forge
docutils                  0.21.2             pyhd8ed1ab_0    conda-forge
double-conversion         3.3.0                h13dd4ca_0    conda-forge
doxygen                   1.10.0               h8fbad5d_0    conda-forge
eigen                     3.4.0                h1995070_0    conda-forge
expat                     2.5.0                hb7217d7_1    conda-forge
ffmpeg                    6.1.1           gpl_hddf633d_114    conda-forge
filelock                  3.15.4             pyhd8ed1ab_0    conda-forge
flann                     1.9.2                h4ee9f5c_0    conda-forge
fltk                      1.3.9                h31b9a01_0    conda-forge
fmt                       10.2.1               h2ffa867_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 h77eed37_2    conda-forge
fontconfig                2.14.2               h82840c6_0    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
fonttools                 4.53.0          py311hd3f4193_0    conda-forge
fortran-compiler          1.7.0                hafb19e3_1    conda-forge
freeimage                 3.18.0              hd0e3f39_20    conda-forge
freetype                  2.12.1               hadb7bae_2    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
frozendict                2.4.4           py311hd3f4193_0    conda-forge
frozenlist                1.4.1           py311h05b510d_0    conda-forge
gdk-pixbuf                2.42.12              h7ddc832_0    conda-forge
gettext                   0.22.5               h8fbad5d_2    conda-forge
gettext-tools             0.22.5               h8fbad5d_2    conda-forge
gfortran                  12.3.0               h1ca8e4b_1    conda-forge
gfortran_impl_osx-arm64   12.3.0               h53ed385_3    conda-forge
gfortran_osx-arm64        12.3.0               h57527a5_1    conda-forge
giflib                    5.2.2                h93a5062_0    conda-forge
git                       2.44.0          pl5321h015987d_0    conda-forge
gl2ps                     1.4.2                hc97c1ff_1    conda-forge
glew                      2.1.0                h9f76cd9_2    conda-forge
glib                      2.80.2               h535f939_0    conda-forge
glib-tools                2.80.2               h4c882b9_0    conda-forge
gmp                       6.3.0                h7bae524_2    conda-forge
gmpy2                     2.1.5           py311h1e33d93_1    conda-forge
gmsh                      4.12.2               hd427cfb_0    conda-forge
gnutls                    3.7.9                hd26332c_0    conda-forge
graphite2                 1.3.13            hebf3989_1003    conda-forge
graphviz                  9.0.0                h3face73_1    conda-forge
gst-plugins-base          1.24.5               h40577aa_0    conda-forge
gstreamer                 1.24.5               h430e707_0    conda-forge
gtk2                      2.24.33              h7895bb2_4    conda-forge
gts                       0.7.6                he42f4ea_4    conda-forge
h2                        4.1.0              pyhd8ed1ab_0    conda-forge
harfbuzz                  8.5.0                h1836168_0    conda-forge
hdf4                      4.2.15               h2ee6834_7    conda-forge
hdf5                      1.14.3          nompi_hec07895_105    conda-forge
hpack                     4.0.0              pyh9f0ad1d_0    conda-forge
hyperframe                6.0.1              pyhd8ed1ab_0    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
identify                  2.5.36             pyhd8ed1ab_0    conda-forge
idna                      3.7                pyhd8ed1ab_0    conda-forge
ifcopenshell              v0.7.0.231127   py311_all_h60a7c55_202    conda-forge
imath                     3.1.11               h1059232_0    conda-forge
isl                       0.26            imath32_h347afa1_101    conda-forge
jasper                    4.2.4                h6c4e4ef_0    conda-forge
jinja2                    3.1.4              pyhd8ed1ab_0    conda-forge
jsoncpp                   1.9.5                hc021e02_1    conda-forge
jsonpatch                 1.33               pyhd8ed1ab_0    conda-forge
jsonpointer               3.0.0           py311h267d04e_0    conda-forge
jxrlib                    1.1                  h93a5062_3    conda-forge
kiwisolver                1.4.5           py311he4fd1f5_1    conda-forge
krb5                      1.21.3               h237132a_0    conda-forge
lame                      3.100             h1a8c8d9_1003    conda-forge
lcms2                     2.16                 ha0e7c42_0    conda-forge
ld64                      711                  h634c8be_0    conda-forge
ld64_osx-arm64            711                  ha4bd21c_0    conda-forge
lerc                      4.0.0                h9a09cb3_0    conda-forge
libabseil                 20240116.2      cxx17_hebf3989_0    conda-forge
libaec                    1.1.3                hebf3989_0    conda-forge
libarchive                3.7.4                h83d404f_0    conda-forge
libasprintf               0.22.5               h8fbad5d_2    conda-forge
libasprintf-devel         0.22.5               h8fbad5d_2    conda-forge
libass                    0.17.1               hf7da4fe_1    conda-forge
libblas                   3.9.0           22_osxarm64_accelerate    conda-forge
libboost                  1.82.0               h72cdd8a_6    conda-forge
libboost-devel            1.82.0               hf450f58_6    conda-forge
libboost-headers          1.82.0               hce30654_6    conda-forge
libboost-python           1.84.0          py311h911f721_3    conda-forge
libbrotlicommon           1.1.0                hb547adb_1    conda-forge
libbrotlidec              1.1.0                hb547adb_1    conda-forge
libbrotlienc              1.1.0                hb547adb_1    conda-forge
libcblas                  3.9.0           22_osxarm64_accelerate    conda-forge
libclang-cpp15            15.0.7          default_he012953_5    conda-forge
libclang-cpp16            16.0.6          default_hb63da90_8    conda-forge
libclang13                18.1.8          default_hfc66aa2_0    conda-forge
libcurl                   8.8.0                h7b6f9a7_1    conda-forge
libcxx                    17.0.6               he7857fb_2    conda-forge
libdeflate                1.20                 h93a5062_0    conda-forge
libedit                   3.1.20191231         hc8eb9b7_2    conda-forge
libev                     4.33                 h93a5062_2    conda-forge
libexpat                  2.5.0                hb7217d7_1    conda-forge
libffi                    3.4.2                h3422bc3_5    conda-forge
libgd                     2.3.3                hfdf3952_9    conda-forge
libgettextpo              0.22.5               h8fbad5d_2    conda-forge
libgettextpo-devel        0.22.5               h8fbad5d_2    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_3    conda-forge
libgfortran-devel_osx-arm64 12.3.0               hc62be1c_3    conda-forge
libgfortran5              13.2.0               hf226fd6_3    conda-forge
libglib                   2.80.2               h535f939_0    conda-forge
libhiredis                1.0.2                hbec66e7_0    conda-forge
libhwloc                  2.10.0          default_h7685b71_1001    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
libidn2                   2.3.7                h93a5062_0    conda-forge
libintl                   0.22.5               h8fbad5d_2    conda-forge
libintl-devel             0.22.5               h8fbad5d_2    conda-forge
libjpeg-turbo             3.0.0                hb547adb_1    conda-forge
liblapack                 3.9.0           22_osxarm64_accelerate    conda-forge
liblapacke                3.9.0           22_osxarm64_accelerate    conda-forge
libllvm15                 15.0.7               h2621b3d_4    conda-forge
libllvm16                 16.0.6               haab561b_3    conda-forge
libllvm18                 18.1.8               h5090b49_0    conda-forge
libmamba                  1.5.8                h90c426b_0    conda-forge
libmambapy                1.5.8           py311h26e1311_0    conda-forge
libnetcdf                 4.9.2           nompi_he469be0_114    conda-forge
libnghttp2                1.58.0               ha4dd798_1    conda-forge
libogg                    1.3.5                h99b78c6_0    conda-forge
libopencv                 4.10.0          headless_py311hddb8925_1    conda-forge
libopenvino               2024.2.0             h5c9529b_1    conda-forge
libopenvino-arm-cpu-plugin 2024.2.0             h5c9529b_1    conda-forge
libopenvino-auto-batch-plugin 2024.2.0             hcd65546_1    conda-forge
libopenvino-auto-plugin   2024.2.0             hcd65546_1    conda-forge
libopenvino-hetero-plugin 2024.2.0             h88cb26a_1    conda-forge
libopenvino-ir-frontend   2024.2.0             h88cb26a_1    conda-forge
libopenvino-onnx-frontend 2024.2.0             h32b5460_1    conda-forge
libopenvino-paddle-frontend 2024.2.0             h32b5460_1    conda-forge
libopenvino-pytorch-frontend 2024.2.0             h00cdb27_1    conda-forge
libopenvino-tensorflow-frontend 2024.2.0             h2741c3b_1    conda-forge
libopenvino-tensorflow-lite-frontend 2024.2.0             h00cdb27_1    conda-forge
libopus                   1.3.1                h27ca646_1    conda-forge
libpng                    1.6.43               h091b4b1_0    conda-forge
libpq                     16.3                 h7afe498_0    conda-forge
libprotobuf               4.25.3               hbfab5d5_0    conda-forge
libraw                    0.21.1               h2ee6834_2    conda-forge
librsvg                   2.58.1               hbc281fb_0    conda-forge
libsolv                   0.7.29               h1efcc80_0    conda-forge
libsqlite                 3.46.0               hfb93653_0    conda-forge
libssh2                   1.11.0               h7a5bd25_0    conda-forge
libtasn1                  4.19.0               h1a8c8d9_0    conda-forge
libtheora                 1.1.1             h99b78c6_1006    conda-forge
libtiff                   4.6.0                h07db509_3    conda-forge
libunistring              0.9.10               h3422bc3_0    conda-forge
libuv                     1.48.0               h93a5062_0    conda-forge
libvorbis                 1.3.7                h9f76cd9_0    conda-forge
libvpx                    1.14.1               h7bae524_0    conda-forge
libwebp                   1.4.0                h54798ee_0    conda-forge
libwebp-base              1.4.0                h93a5062_0    conda-forge
libxcb                    1.15                 hf346824_0    conda-forge
libxml2                   2.12.7               ha661575_1    conda-forge
libxslt                   1.1.39               h223e5b9_0    conda-forge
libzip                    1.10.1               ha0bc3c6_3    conda-forge
libzlib                   1.3.1                hfb2fe0b_1    conda-forge
llvm-openmp               18.1.8               hde57baf_0    conda-forge
llvm-tools                16.0.6               haab561b_3    conda-forge
loguru                    0.7.2           py311h267d04e_1    conda-forge
lxml                      5.2.2           py311hf9a6a72_0    conda-forge
lz4-c                     1.9.4                hb7217d7_0    conda-forge
lzo                       2.10              h93a5062_1001    conda-forge
mamba                     1.5.8           py311hb045da1_0    conda-forge
markupsafe                2.1.5           py311h05b510d_0    conda-forge
matplotlib                3.9.0           py311ha1ab1f8_0    conda-forge
matplotlib-base           3.9.0           py311hba6b155_0    conda-forge
menuinst                  2.1.1           py311h267d04e_0    conda-forge
mpc                       1.3.1                h91ba8db_0    conda-forge
mpfr                      4.2.1                h41d338b_1    conda-forge
mpmath                    1.3.0              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.8           py311h6bde47b_0    conda-forge
multidict                 6.0.5           py311he2be06e_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
mysql-common              8.3.0                hd1853d3_4    conda-forge
mysql-libs                8.3.0                hf036fc4_4    conda-forge
ncurses                   6.5                  hb89a1cb_0    conda-forge
nettle                    3.9.1                h40ed0f5_0    conda-forge
nine                      1.1.0                      py_0    conda-forge
ninja                     1.12.1               h420ef59_0    conda-forge
nlohmann_json             3.11.3               hebf3989_0    conda-forge
nodeenv                   1.9.1              pyhd8ed1ab_0    conda-forge
nspr                      4.35                 hb7217d7_0    conda-forge
nss                       3.101                hc42bcbf_0    conda-forge
numpy                     2.0.0           py311h4268184_0    conda-forge
occt                      7.7.2           all_h1e2436f_201    conda-forge
olefile                   0.47               pyhd8ed1ab_0    conda-forge
opencamlib                2023.01.11      py311hebb5e2f_5    conda-forge
opencv                    4.10.0          headless_py311h5151cf2_1    conda-forge
openexr                   3.2.2                h2c51e1d_1    conda-forge
openh264                  2.4.1                hebf3989_0    conda-forge
openjpeg                  2.5.2                h9f1df11_0    conda-forge
openssl                   3.3.1                hfb2fe0b_1    conda-forge
p11-kit                   0.24.1               h29577a5_0    conda-forge
packaging                 24.1               pyhd8ed1ab_0    conda-forge
pandas                    2.2.2           py311h4b4568b_1    conda-forge
pango                     1.54.0               h5cb9fbc_0    conda-forge
pcl                       1.14.0               hc87a3e3_0    conda-forge
pcre2                     10.43                h26f9a81_0    conda-forge
perl                      5.32.1          7_h4614cfb_perl5    conda-forge
pillow                    10.3.0          py311h0b5d0a1_0    conda-forge
pip                       24.0               pyhd8ed1ab_0    conda-forge
pivy                      0.6.8           py311hd6ee22a_2    conda-forge
pixman                    0.43.4               hebf3989_0    conda-forge
pkg-config                0.29.2            hab62308_1008    conda-forge
platformdirs              4.2.2              pyhd8ed1ab_0    conda-forge
pluggy                    1.5.0              pyhd8ed1ab_0    conda-forge
ply                       3.11               pyhd8ed1ab_2    conda-forge
pre-commit                3.7.1              pyha770c72_0    conda-forge
proj                      9.3.1                h93d94ba_0    conda-forge
pthread-stubs             0.4               h27ca646_1001    conda-forge
pugixml                   1.14                 h13dd4ca_0    conda-forge
py-opencv                 4.10.0          headless_py311hee2cd3c_1    conda-forge
pybind11                  2.13.1          py311h6bde47b_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pybind11-global           2.13.1          py311h6bde47b_0    conda-forge
pycollada                 0.8                pyhd8ed1ab_0    conda-forge
pycosat                   0.6.6           py311heffc1b2_0    conda-forge
pycparser                 2.22               pyhd8ed1ab_0    conda-forge
pyparsing                 3.1.2              pyhd8ed1ab_0    conda-forge
pyside2                   5.15.8          py311h737ae55_4    conda-forge
pysocks                   1.7.1              pyha2e5f31_6    conda-forge
python                    3.11.8          hdf0ec26_0_cpython    conda-forge
python-dateutil           2.9.0              pyhd8ed1ab_0    conda-forge
python-tzdata             2024.1             pyhd8ed1ab_0    conda-forge
python_abi                3.11                    4_cp311    conda-forge
pytz                      2024.1             pyhd8ed1ab_0    conda-forge
pyyaml                    6.0.1           py311heffc1b2_1    conda-forge
qhull                     2020.2               hc021e02_2    conda-forge
qt-main                   5.15.8              hcd44e0d_22    conda-forge
qt.py                     1.2.2                      py_0    conda-forge
rapidjson                 1.1.0.post20240409      h00cdb27_1    conda-forge
readline                  8.2                  h92ec313_1    conda-forge
reproc                    14.2.4.post0         h93a5062_1    conda-forge
reproc-cpp                14.2.4.post0         h965bd2d_1    conda-forge
requests                  2.32.3             pyhd8ed1ab_0    conda-forge
rhash                     1.4.4                hb547adb_0    conda-forge
ruamel.yaml               0.18.6          py311h05b510d_0    conda-forge
ruamel.yaml.clib          0.2.8           py311h05b510d_0    conda-forge
scipy                     1.14.0          py311hceeca8c_0    conda-forge
sed                       4.8                  hc6a1b29_0    conda-forge
setuptools                70.1.1             pyhd8ed1ab_0    conda-forge
sigtool                   0.1.3                h44b9a77_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smesh                     9.9.0.0              hc4060f7_8    conda-forge
snappy                    1.2.1                hd02b534_0    conda-forge
soqt                      1.6.2                hcb8fcd3_1    conda-forge
sqlite                    3.46.0               h5838104_0    conda-forge
svt-av1                   2.1.0                h7bae524_0    conda-forge
swig                      4.2.1                hfe15c3f_0    conda-forge
sympy                     1.12.1          pypyh2585a3b_103    conda-forge
tapi                      1100.0.11            he4954df_0    conda-forge
tbb                       2021.12.0            h420ef59_1    conda-forge
tbb-devel                 2021.12.0            h94f16c5_1    conda-forge
tk                        8.6.13               h5083fa2_1    conda-forge
tornado                   6.4.1           py311hd3f4193_0    conda-forge
tqdm                      4.66.4             pyhd8ed1ab_0    conda-forge
truststore                0.8.0              pyhd8ed1ab_0    conda-forge
typing_extensions         4.12.2             pyha770c72_0    conda-forge
tzdata                    2024a                h0c530f3_0    conda-forge
ukkonen                   1.0.1           py311he4fd1f5_4    conda-forge
urllib3                   2.2.2              pyhd8ed1ab_1    conda-forge
utfcpp                    4.0.5                hce30654_0    conda-forge
virtualenv                20.26.3            pyhd8ed1ab_0    conda-forge
vtk                       9.2.6           qt_py311h1234567_223    conda-forge
vtk-base                  9.2.6           qt_py311h1234567_223    conda-forge
vtk-io-ffmpeg             9.2.6           qt_py311h1234567_223    conda-forge
wheel                     0.43.0             pyhd8ed1ab_1    conda-forge
wslink                    2.1.1              pyhd8ed1ab_0    conda-forge
x264                      1!164.3095           h57fd34a_2    conda-forge
x265                      3.5                  hbc6ce65_3    conda-forge
xerces-c                  3.2.5                hf393695_0    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlutils                   2.0.0              pyh9f0ad1d_0    conda-forge
xlwt                      1.3.0                      py_1    conda-forge
xorg-fixesproto           5.0               h3422bc3_1002    conda-forge
xorg-kbproto              1.0.7             h27ca646_1002    conda-forge
xorg-libice               1.1.1                hb547adb_0    conda-forge
xorg-libsm                1.2.4                hb547adb_0    conda-forge
xorg-libx11               1.8.9                h570a39f_0    conda-forge
xorg-libxau               1.0.11               hb547adb_0    conda-forge
xorg-libxdmcp             1.1.3                h27ca646_0    conda-forge
xorg-libxext              1.3.4                h1a8c8d9_2    conda-forge
xorg-libxfixes            5.0.3             h3422bc3_1004    conda-forge
xorg-libxrender           0.9.11               hb547adb_0    conda-forge
xorg-renderproto          0.11.1            h27ca646_1002    conda-forge
xorg-xextproto            7.3.0             h1a8c8d9_1003    conda-forge
xorg-xproto               7.0.31            h27ca646_1007    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
yaml                      0.2.5                h3422bc3_2    conda-forge
yaml-cpp                  0.8.0                h13dd4ca_0    conda-forge
yarl                      1.9.4           py311h05b510d_0    conda-forge
zlib                      1.3.1                hfb2fe0b_1    conda-forge
zstandard                 0.22.0          py311h4a6b76e_1    conda-forge
zstd                      1.5.6                hb46c0d2_0    conda-forge

Environment info

active environment : freecad
    active env location : /Users/jso/code/FreeCAD/FreeCAD/.conda/freecad
            shell level : 1
       user config file : /Users/jso/.condarc
 populated config files : /opt/homebrew/Caskroom/miniforge/base/.condarc
                          /Users/jso/.condarc
          conda version : 24.5.0
    conda-build version : not installed
         python version : 3.10.14.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m2
                          __conda=24.5.0=0
                          __osx=14.5=0
                          __unix=0=0
       base environment : /opt/homebrew/Caskroom/miniforge/base  (writable)
      conda av data dir : /opt/homebrew/Caskroom/miniforge/base/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/robostack-staging/osx-arm64
                          https://conda.anaconda.org/robostack-staging/noarch
          package cache : /opt/homebrew/Caskroom/miniforge/base/pkgs
                          /Users/jso/.conda/pkgs
       envs directories : /Users/jso/code/FreeCAD/FreeCAD/.conda
                          /envs
                          /opt/homebrew/Caskroom/miniforge/base/envs
                          /Users/jso/code/gtsfm/.conda
                          /Users/jso/code/modern-slam-tutorial-python/.conda
                          /Users/jso/code/mocap/.conda
                          /Users/jso/code/gtsam/.conda
                          /Users/jso/code/GTDynamics/.conda
                          /Users/jso/code/invariant-ekf/.conda
                          /Users/jso/code/util-uwb-dataset/.conda
                          /Users/jso/code/kalibr/.conda
                          /Users/jso/code/realsense-ros-demo/.conda
                          /Users/jso/code/crazyflie/crazyflie-lib-python/.conda
                          /Users/jso/code/SE2-3-/.conda
                          /Users/jso/code/symforce/.conda
                          /Users/jso/code/factor-graph/.conda
                          /Users/jso/code/forget-me-not/.conda
                          /Users/jso/code/esp32-localization/.conda
                          /Users/jso/code/esp32-s3-drone/.conda
                          /Users/jso/.conda/envs
               platform : osx-arm64
             user-agent : conda/24.5.0 requests/2.31.0 CPython/3.10.14 Darwin/23.5.0 OSX/14.5 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8
                UID:GID : 501:20
             netrc file : None
           offline mode : False
adrianinsaval commented 4 months ago

If I'm not mistaken ifcopenshell is cross compiled for arm64 so the tests aren't run

oursland commented 4 months ago

That would explain why the tests aren't being run. What I do not yet understand is why the .dylib packages necessary for the Python module are not installed in the conda package.

Krande commented 3 months ago

Hey, I just saw we were some missing build dependencies needed for cross-compilation according to this article. I have included them here in the PR -> https://github.com/conda-forge/ifcopenshell-feedstock/pull/50

Unfortunately I don't own a mac, so please let me know if either of you have the opportunity to help test the osx arm package before we make a new release?

Update: I just merged a new release ifcopenshell=0.7.10 which hopefully should work as expected. Please let me know if you continue to see this issue?

Best Regards Kristoffer

Krande commented 3 months ago

Hey @oursland, it would help a lot if you could test ifcopenshell=v0.7.11 and see if this is still a problem?

oursland commented 3 months ago

Hey @oursland, it would help a lot if you could test ifcopenshell=v0.7.11 and see if this is still a problem?

I can confirm that the module now loads. A plain mamba install ifcopenshell==0.7.11 results in the following message on import:

Python 3.11.9 | packaged by conda-forge | (main, Apr 19 2024, 18:34:54) [Clang 16.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ifcopenshell
No stream support: No module named 'lark'

Running mamba install lark does resolve the issue. Is lark a runtime requirement?

Unfortunately there are dependency conflicts with the version of occt that ifcopenshell is built against in the application (FreeCAD), so I cannot test in that environment to ensure correct operation at this time.

Krande commented 3 months ago

That's good to hear!

Is lark a runtime requirement?

I believe lark is optional. But I don't see any harm in adding it as a runtime requirement. I'll consider adding lark as a runtime dependency in the next release in a few weeks

oursland commented 3 months ago

If it is optional, then I imagine it is unnecessary. If anything, too many dependencies lead to the problem I'm experiencing w.r.t. occt.

As the import is functional, I'll close the issue.