Skip to content

Fix setting python version for environment in CI#1620

Merged
alejoe91 merged 7 commits intoNeuralEnsemble:masterfrom
zm711:fix-ci-python-version
Jan 8, 2025
Merged

Fix setting python version for environment in CI#1620
alejoe91 merged 7 commits intoNeuralEnsemble:masterfrom
zm711:fix-ci-python-version

Conversation

@zm711
Copy link
Contributor

@zm711 zm711 commented Jan 6, 2025

This will fail until we figure out #1619 and #1618. Then this will fix #1618.

We are still having issues with python version so instead I add an explicit step to set our python version number in the environment. I'm not 100% sure this will work. I think the ideal scenario would be to actually create different cached environments for python versions instead so I might try that strategy in parallel in which case we could close this PR. Opinions?

@zm711
Copy link
Contributor Author

zm711 commented Jan 6, 2025

This looks like it fixed the CI issue, but we will have to wait for #1619 to make sure the CI works all the way.

@zm711
Copy link
Contributor Author

zm711 commented Jan 7, 2025

Not a clue where this pip issue is coming from. I'll have to do a bit more research :( It didn't appear yesterday so maybe just a ci fluke ? I'll play around a bit more.

@zm711 zm711 added this to the 0.14.0 milestone Jan 7, 2025
@zm711
Copy link
Contributor Author

zm711 commented Jan 7, 2025

Okay @alejoe91 I finally figured it out. We were using the same cached conda env for everything. I just had to make it so we cache an environment for each python version we want to test against so the packages are all synced up. Feel free to review when you have time :)

@alejoe91 alejoe91 merged commit af7c53c into NeuralEnsemble:master Jan 8, 2025
71 checks passed
@zm711 zm711 deleted the fix-ci-python-version branch January 8, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI Failures--Wrong Python Version + NWB failures

2 participants