-
Notifications
You must be signed in to change notification settings - Fork 3
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
update installation instructions, add test for macOS #7
base: main
Are you sure you want to change the base?
Conversation
jgraeb
commented
Oct 5, 2024
- Updated the installation instructions for macOS with and without conda in the docs and the readme.
- One issue remaining is that the test using pdm (and not conda) on macOS does not successfully run (test_pdm_env_macos.yaml) because of the pygraphviz installation. In the conda env (where pygraphviz is installed using conda), pdm finds graphviz successfully, but when pygraphviz is installed using pip, pdm does not find it and errors out. Any ideas on why this could be?
Co-authored-by: Scott C. Livingston <[email protected]>
Co-authored-by: Scott C. Livingston <[email protected]>
@jgraeb looks like the cache is broken again. I will investigate. |
@slivingston It seems like the conda tests are now broken too when gurobipy is installed via pdm, which worked well before. Could this have to do with the cache as well? |
I deleted recent cache entries and retried one of the macOS jobs, and it passed: https://github.com/tulip-control/floras/actions/runs/11296986960/job/31423297240 As for the workflows with conda failing, I do not expect the cache is the cause because the workflow file does not involve the cached Spot files. My best guess is that |
Python 3.13 was just released on Friday, 7 October, and I notice that:
I think the key problem is that the conda workflows are using the unintended Python 3.13. |
@slivingston Great, deleting the cached files and updating the conda setup fixed most of the tests again. But we are now back to the original error involving pdm and pygraphviz in a conda environment, but now for ubuntu and macOS and only in python version 3.12 (3.10 and 3.11 in the same workflow run fine). Pygraphviz 1.14 should work with python 3.12 and it gets installed but pdm cannot find the header file (error message). |