Tracking the currently a little bit messy state of the conda-packages. The main goal is to have freecad and dependencies available with:
python3.10
qt5.15 / qt 6
occt7.6
[ ] update smesh to tbb2021, vtk9.1 and oct7.6
[ ] qt 5.15 https://github.com/conda-forge/qt-main-feedstock
[ ] qt-webengine 5.15 https://github.com/conda-forge/staged-r ... pull/17233
[ ] pyside2 5.15 + python 3.10 https://github.com/conda-forge/pyside2- ... k/pull/102
[ ] pivy with python3.10 (needs pyside 2 + python 3.10)
[ ] python-occ-core (occt7.6)
[ ] freecad (occt7.6, qt5.15, python3.10)
[WIP] conda: occt7.6, vtk9.1, qt5.15/qt6, python3.10
[WIP] conda: occt7.6, vtk9.1, qt5.15/qt6, python3.10
Last edited by looo on Mon Jan 31, 2022 11:53 am, edited 4 times in total.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: conda: occt7.6, vtk9.1, tbb2021, qt5.15/qt6, python3.10
are there patches available to make pivy work with 3.10? It seems pivy is broken in archlinux right now
Re: conda: occt7.6, vtk9.1, tbb2021, qt5.15/qt6, python3.10
Sorry I wasn't able to the test pivy with python3.10 until now because of missing dependencies. I will work on this issue once pyside2 / python3.10 is done. I tried to patch pyside2 to work with python3.10 but it still fails for windows and osx.adrianinsaval wrote: ↑Wed Jan 19, 2022 1:57 pm are there patches available to make pivy work with 3.10? It seems pivy is broken in archlinux right now
I guess this is the issue you are seeing with pivy + python3.10:
Code: Select all
----------------------------------------------------------------------
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/lo/projects/freecad/pivy/tests/coin_tests.py", line 1178, in testSoPathIterator
path = SoPath()
File "/home/lo/miniconda3/envs/pivy/lib/python3.10/site-packages/pivy/coin.py", line 2932, in __init__
_coin.SoPath_swiginit(self, _coin.new_SoPath(*args))
SystemError: <built-in function new_SoPath> returned a result with an exception set
----------------------------------------------------------------------
Re: conda: occt7.6, vtk9.1, tbb2021, qt5.15/qt6, python3.10
can you try if this branch fixes the issue with python3.10:
https://github.com/looooo/pivy/tree/python3.10
https://github.com/swig/swig/issues/2150
https://github.com/looooo/pivy/tree/python3.10
btw. the fix can be found here (in case anyone comes across this):
https://github.com/swig/swig/issues/2150
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: [WIP] conda: occt7.6, vtk9.1, tbb2021, qt5.15/qt6, python3.10
I'll see if I can try it out this weekend