[done for master / waiting for freecad 0.19 release] conda: python3.8 is coming
[done for master / waiting for freecad 0.19 release] conda: python3.8 is coming
As I just received the first PR's for python3.8 I thought it might be interesting for others to see the status of the freecad-related packages. I guess the migration won't introduce too much troubles and we will see a python3.8-freecad-build in early December.
- [x] netgen: https://github.com/conda-forge/netgen-feedstock/pull/25
- [x] ifcopenshell: https://github.com/conda-forge/ifcopens ... ock/pull/3
- [x] libredwg: https://github.com/conda-forge/libredwg ... ock/pull/6
- [x] pyside2: https://github.com/conda-forge/pyside2- ... ck/pull/55 # needs a rebuild
- [x] pivy: https://github.com/conda-forge/pivy-feedstock/pull/19
- [x] vtk: https://github.com/conda-forge/vtk-feedstock/pull/93
- [x] smesh: https://github.com/conda-forge/smesh-feedstock/pull/26
- [x] solvespace: osx still missing
- [ ] freecad: https://github.com/conda-forge/freecad- ... ck/pull/30
more coming soon...
- [x] netgen: https://github.com/conda-forge/netgen-feedstock/pull/25
- [x] ifcopenshell: https://github.com/conda-forge/ifcopens ... ock/pull/3
- [x] libredwg: https://github.com/conda-forge/libredwg ... ock/pull/6
- [x] pyside2: https://github.com/conda-forge/pyside2- ... ck/pull/55 # needs a rebuild
- [x] pivy: https://github.com/conda-forge/pivy-feedstock/pull/19
- [x] vtk: https://github.com/conda-forge/vtk-feedstock/pull/93
- [x] smesh: https://github.com/conda-forge/smesh-feedstock/pull/26
- [x] solvespace: osx still missing
- [ ] freecad: https://github.com/conda-forge/freecad- ... ck/pull/30
more coming soon...
Last edited by looo on Tue Jan 14, 2020 12:39 pm, edited 7 times in total.
Re: [WIP] conda: python3.8 is coming
Thanks for the 'play by play'!
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: [WIP] conda: python3.8 is coming
The PR's for freecad came faster than expected... Btw.: this will not yet affect the 0.19_pre packages which are used for dmg/appimage. Only the more official package from conda-forge will be build with py3.8 + py3.7. So we are able to do some testing before updating the 0.19_pre-feedstock.
Re: [WIP] conda: python3.8 is coming
How to install?looo wrote: ↑Fri Nov 08, 2019 5:33 pm The PR's for freecad came faster than expected... Btw.: this will not yet affect the 0.19_pre packages which are used for dmg/appimage. Only the more official package from conda-forge will be build with py3.8 + py3.7. So we are able to do some testing before updating the 0.19_pre-feedstock.
You're amazing looo.
Noticed this as well, related to the enhancements idea: https://www.python.org/downloads/release/python-380/
"fight the good fight"
Re: [WIP] conda: python3.8 is coming
FreeCAD itself is not done yet, some homework is necessary:sgrogan wrote: ↑Fri Nov 08, 2019 5:44 pm How to install?
You're amazing looo.
Noticed this as well, related to the enhancements idea: https://www.python.org/downloads/release/python-380/
Code: Select all
In file included from ../src/Base/swigpyrun.cpp:41:0:
../src/Base/swigpyrun.inl: In function 'void Swig_python::cleanupSWIG_T(const char*)':
../src/Base/swigpyrun.inl:75:31: error: invalid use of incomplete type 'PyInterpreterState {aka struct _is}'
PyObject *modules = interp->modules;
^~
In file included from $PREFIX/include/python3.8/genobject.h:11:0,
from $PREFIX/include/python3.8/Python.h:121,
from ../src/Base/PyExport.h:42,
from ../src/Base/swigpyrun.cpp:25:
$PREFIX/include/python3.8/pystate.h:20:8: note: forward declaration of 'PyInterpreterState {aka struct _is}'
struct _is;
^~~
In file included from ../src/Base/swigpyrun.cpp:41:0:
../src/Base/swigpyrun.inl:75:33: error: invalid use of incomplete type 'PyInterpreterState {aka struct _is}'
PyObject *modules = interp->modules;
^~~~~~~
In file included from $PREFIX/include/python3.8/genobject.h:11:0,
from $PREFIX/include/python3.8/Python.h:121,
from ../src/Base/PyExport.h:42,
from ../src/Base/swigpyrun.cpp:25:
$PREFIX/include/python3.8/pystate.h:20:8: note: forward declaration of 'PyInterpreterState {aka struct _is}'
struct _is;
^~~
[405/3032] Building CXX object src/Base/CMakeFiles/FreeCADBase.dir/Stream.cpp.o
[406/3032] Building CXX object src/Base/CMakeFiles/FreeCADBase.dir/RotationPyImp.cpp.o
In file included from ../src/Base/RotationPyImp.cpp:33:0:
src/Base/RotationPy.cpp:90:1: warning: missing initializer for member '_typeobject::tp_vectorcall' [-Wmissing-field-initializers]
};
Re: [waiting for a working pyside2] conda: python3.8 is coming
It's nearly done. A working version is available via freecad/label/testing channel. Some changes for pyside2 need to be backported (or use qt5.14 with pyside2 5.14). I will try to apply the patches to pyside5.13 with qt5.12.5 as conda-forge only builds lts versions of qt.
There are still some issues with py3.8:
time.clock was removed and should be replace according to: (There are some occurences in FEM)
https://stackoverflow.com/questions/585 ... python-3-8
And there is still a occt7.4 issue which I have no idea how to solve:
https://forum.freecadweb.org/viewtopic. ... 20#p358293
There are still some issues with py3.8:
time.clock was removed and should be replace according to: (There are some occurences in FEM)
https://stackoverflow.com/questions/585 ... python-3-8
And there is still a occt7.4 issue which I have no idea how to solve:
https://forum.freecadweb.org/viewtopic. ... 20#p358293
Re: [done for master / waiting for freecad 0.19 release] conda: python3.8 is coming
Nice!
P.S. As for FreeCAD 0.19 release, i am guessing that should happen around April, it would be good if packages would be tested for a month or two and wouldn't change before doing a release.
P.S. As for FreeCAD 0.19 release, i am guessing that should happen around April, it would be good if packages would be tested for a month or two and wouldn't change before doing a release.
Re: [done for master / waiting for freecad 0.19 release] conda: python3.8 is coming
Sure. If python 3.8 and occt7.4 still have issues I guess we should go for py3.7 and occt7.3.
But still I believe it's important to try to go with the latest available packages to provide feedback.
Re: [done for master / waiting for freecad 0.19 release] conda: python3.8 is coming
Didn't check and i will just ask, is this already done for the (0.19) binaries? If not it would be great if it could be done ASAP. As doing it a few days before release is likely a bad idea.