-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New util funcs v159 #169
New util funcs v159 #169
Conversation
I followed your suggestions to fix the Functional (pip) 3.10 and 3.11.
I am still going to investigate this further because I don't think that this necessary breaks the code anywhere. |
Thanks for looking into this @felicio93. I we can either pin the scipy version, or increase the min python version to be 3.10 and above. For now I'd go with scipy, if it resolves the issue. In general we have to quickly find a fix for any pinned version. I think the colored traceback usage is not that important, so we can slowly start removing parts of the code that reference it. |
@SorooshMani-NOAA, pinning scipy on our end won't help. The issue seems to be coming from the jigsawpy setup. It uses the latest scipy (1.41, which in turn does not support python 3.9). So test fails to install jigsawpy, because it tries to do that from python 3.9, and jigsawpy will fail to install scipy 1.14 . I tested creating a python env with python 3.9 on my local and then pip installing ocsmesh. I guess, because jigsawpy is installed using I can reproduce the test fail if I try to install OCSMesh from the Repo from a python 3.9 environment using: I suggest we ignore this Functional (pip) / Python 3.9 fail for now, and submit a ticket to the jigsawpy repo. what do you think? Maybe we can update the readme file with Python>=3.10 in the meantime? |
There's a quickfix for this ... In the test script: OCSMesh/.github/workflows/functional_test_2.yml Lines 50 to 53 in 38f3ac4
we can first install There's one thing that's still strange for me ... if jigsaw doesn't have an explicit version dependency, why does it still try to get latest scipy if it's not supported for python 3.9?!! |
added We still get the same result from |
After discussion with Soroosh, it is probable that the Functional (pip) / Python 3.9 is coming from the jigsawpy side. Investigation would require isolate and reproduce the problem. The short term solution will be to drop OCSMesh Python 3.9 support. I removed the Functional (pip) / Python 3.9 test. and updated the readme file. All other testes passed. I am proceeding with the PR |
4 util functions added:
Two test Classes were created:
QuadCleanup
RiverMapper