-
Notifications
You must be signed in to change notification settings - Fork 12
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
esm_runscripts py3.9 vs py3.10 different softlink handling #1147
Comments
That is indeed scary... @pgierz, can you look at this next week? |
.....yes, this is absolutely frightening. I am very confused by this. The actual employed Python version should have absolutely no affect on the files used, as far as I am aware nothing in our code checks the Python version. @chrisdane I will try to reproduce this and look why it is happening. |
This makes debugging a bit more difficult :-( |
@chrisdane: Can you please ensure that no one touches the |
Yes sure however I think the problem does not depend on that specific esm_tools branch. You could just make a new branch in which you add a softlink to the repo and make the venv check run with two different python versions, i.e. installing the esm_tools from scratch with different python versions. |
It does not, but I want to reproduce your problem as closely as possible 😉 Otherwise there will always be "something else" that might be causing issues. |
Describe the bug
A check run results in different files in
<expid>/.venv_esmtools
depending on the python version that was used to install the esm_tools. The affected files are softlinks:(or here: https://github.com/esm-tools/esm_tools/tree/fix_echam_hist_ssp_forcing/namelists/jsbach/3.20)
To Reproduce
leads to different venv files:
i.e. with python3.9 all softlinks were dereferenced successfully (recursively) but with python3.10, only one dir exists (and I don't understand why exactly this one?):
EDIT: that directory is from a colleague and was already overwritten by a new esm_runscripts call. But this is how the directory looked like. The same
was used of course.
Expected behavior
Same esm_tools repo files should exist in
<expid>/.venv_esmtools
no matter which python version is used.System (please complete the following information):
The text was updated successfully, but these errors were encountered: