-
Notifications
You must be signed in to change notification settings - Fork 0
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
Matrix testing on different python version still always uses python 3.12 #123
Comments
I will revert the commits that added the print because I'd like the merge the corresponding PR soon, but I hope the link to the CI results stay alive. If not it's easy enough to recreate. |
Yikes, good catch. I immediately assumed it was a simple error on my part in failing to pass an input variable through the call chain, but in fact the code chain looks fine:
Then I realized I could just look at the logs to confirm this, and it's the same thing: the 3.9 flag is successfully getting passed all the way through to Indeed, the conda setup correctly shows 3.9 being requested: And once we get the whole thing installed and run I then thought maybe we mess up the system variables? But the pyiron config business sets After that we just
Is there any possibility that somehow the reporting itself is the problem? I see you force-pushed in the linked PR so I can't see the source of the report. It seems extremely unlikely to me that the report is wrong, but given that the logs consistently show the right version throughout, I'm just very lost. |
It is very strange you have |
Very nice observation. So Given that the python version kwarg is getting passed all the way to the conda incubator, it's a matter of seeing what other input we're passing that's creating a conflict (or, much less likely, there is a bug in the incubator action) |
Also as far as I recall, we are writing our env file to the default location for the incubator setup, so even though it's not being set explicitly it should be getting passed in just fine. I'll double check that when I get to this though. |
The problem appears a mixture of The I'm working on a PR (#124) which solves this by decomposing the caching into two steps so we can cache and use the file directly at invocation of |
Thanks! Like I said it's a not a time critical issue, but good that you figured it out so quickly. |
At least in my tests on the packages without |
My recent experience is that for very simple envs (the |
The speedup between writing and reading the cache is significant for |
The unit tests seem to be run always with python 3.12, even if the unit test workflow says it's 3.9/3.10/whatever.
By accident I used a 3.12 syntax feature in this PR, which should (and does locally) make older pythons crash, but the unit test matrix runs fine. So I stuck
import sys; print(sys.version)
into the tests and it does report here that it runs 3.12 even though it's supposed to be the 3.9 test.The text was updated successfully, but these errors were encountered: