Supported python versions #82
Replies: 4 comments 12 replies
-
Hi Robbie! Good to hear from you again! I'm using Python 3.8.5 and I don't see any issues with sectionproperties or MeshPy. On my installed version:
I assume upgrading scipy will get rid of those warnings. I also have a personal library with more meshing and testing (almost exactly the same as the tests in #54 ), and it passes with the exact same warnings. |
Beta Was this translation helpful? Give feedback.
-
@robbievanleeuwen , also on Windows Python 3.8.10 here with meshpy (for quite a while it has worked, installed via pip). Something doesn't work with Python 3.9.x, Scipy I think. |
Beta Was this translation helpful? Give feedback.
-
I think this will be a non-issue when/if we switch to using the triangle package, which appears to have wheels for all 3 OSes on PyPI. It does not appear to be really active, but it may not need many changes so that could be ok, so long as it publishes new wheel files as new Python versions come out in the future. If there are issues with this package, then I think the best choice would be to build the wheels ourselves for each OS using GitHub actions and cibuildwheel, which is what triangle uses as well. It wouldn't take much to convert the code to use triangle, see their documents for some examples including ones with holes. Otherwise, we just require users to have the free compiler on Windows installed, which will also work fine. |
Beta Was this translation helpful? Give feedback.
-
Hi Robbie, after a bit of a break I have been working on linking sectionproperties to Excel using pyxll (following a recent thread at Eng-tips). I am using Python 3.9.7 on Windows. I had no problem installing meshpy, but when I tried to install sectionproperties using pip it looked for progressively earlier versions of numpy, and I eventually cancelled that process. However I found that if I just copied the sectionproperties folder into my active pyxll development folder everything worked without a problem. I'll post more details on my blog in a few days. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Off the back of a previous discussion #61, I am considering removing support for python 3.6 to allow supporting the recent updates to scipy (1.6 & 1.7).
Unfortunately I don't think providing support for python 3.8 is possible at this time as there are no wheels for Windows users available at https://www.lfd.uci.edu/~gohlke/pythonlibs/#meshpy... Windows strikes again 🤦
Hopefully I can get rid of meshpy and implement triangle once v2 drops and we can get a bit more version flexibility!
Let me know if you have any thoughts on only supporting python 3.7!
Cheers,
Robbie
Beta Was this translation helpful? Give feedback.
All reactions