Really like the functionality this brings and managed to get latest version (0.4.1) installed using poetry, but it seems to fail with python 3.8 or 3.9 because of use of TypeA|TypeB rather than for example Union[TypeA, TypeB] (from Typing package) in various function calls in file ui.py.
It worked really well with python 3.10 when the | syntax was introduced, but the package claims to work with python 3.8-3.10 so feels worth the 2 mins to fix.
Wondered if it was possible to edit the ui.py file to fix this? I can see it locally in the installed package but can't find it on gitlab, otherwise I'd just have submitted a pull request.
Hey,
Really like the functionality this brings and managed to get latest version (0.4.1) installed using poetry, but it seems to fail with python 3.8 or 3.9 because of use of![image](https://github.com/roipoussiere/cadquery-server/assets/140602240/356fcec6-d118-4663-8d31-cdcd3738f85e)
TypeA|TypeB
rather than for exampleUnion[TypeA, TypeB]
(fromTyping
package) in various function calls in fileui.py
.It worked really well with python 3.10 when the
|
syntax was introduced, but the package claims to work with python 3.8-3.10 so feels worth the 2 mins to fix.Wondered if it was possible to edit the
ui.py
file to fix this? I can see it locally in the installed package but can't find it on gitlab, otherwise I'd just have submitted a pull request.Thanks for all the hard work