Replies: 1 comment 6 replies
-
Hi @malininae, As for good practices on how to update an installation from a fork, I can't really say because I'm only using
What was your motivation to stick to v2.5.0 despite the latest v2.6.0 release? Finally, you may be interested in ongoing discussion on backwards-incompatible changes for recipe/diagnostic developers. You can find some more info in ESMValGroup/ESMValTool_Tutorial#263 and ESMValGroup/Community#7 |
Beta Was this translation helpful? Give feedback.
-
Hello fellow ESMValToolers,
I have a very specific issue. I am working usually on my fork
malininae:ESMValTool
, I've been doing that for 2.5 years now, and I am trying to keep my main up-to-date and when there is a new release, I am merging the updates fromESMValGroup:ESMValTool/main
into my fork. I never had an issue with that workflow until recently.In late August this year, I created a branch
sia_so
inmalininae:ESMValTool
from the up-to-date at the timemain
with core being v2.6 and tool v2.5. Yesterday, I made a stupid mistake and accidentally updated all packages in my conda environment and had to re-create the environment and the tool. In between, I decided that it would be a good idea to update the tool to the newest version and merged latest commits fromESMValGroup:ESMValTool/main
tomalininae:ESMValTool/main
andmalininae:ESMValTool/sia_so
. After that I tried to install the tool from scratch insia_so
, but I got the core version v2.6 and tool v2.0. I also tried to install the tool frommalininae:ESMValTool/main
, but the result was the same. I even reinstalled conda and mamba, but result the versions were still odd. Then, I copiedESMValGroup:ESMValTool/main
, and that installs core v2.6 and tool v2.6.Then I though I dreamed about the tool being v2.5 to begin with, and I tried to install the tool from my
malininae:ESMValTool/extremes_bc
branch, which was updated some time this summer. There I am getting tool version v2.5 as it should be. I did diff onmalininae:ESMValTool/main
andESMValGroup:ESMValTool/main
folders, and the differences seem to be only in thegit origin
there as it should be.git log
also shows that there were indeed the changes from theESMValGroup:ESMValTool/main
pushed in. So it seems to be solely version number problem, which for some very weird reason got screwed up in the latest merge. I was wondering if someone else had a similar issue? Or if not, where does the version number come from? Is it hidden in some file? I tried to debug it but didn't go too far.I know I can go to the earlier commits, I just don't see a need for that now. So any help or advise would be very appreciated! Thanks for reading this long opus!
Beta Was this translation helpful? Give feedback.
All reactions