Skip to content
Snippets Groups Projects

Update from-scratch.sh - update toolchain

Merged Amir MOHAMMADI requested to merge patch-1 into master

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • André Anjos mentioned in commit 447fbd11

    mentioned in commit 447fbd11

  • merged

  • @andre.anjos I have noticed recently that conda does not keep packages form different channels in different folders. This means that you may download two packages with the same version and name form conda-forge and defaults but your cache could be only one of them. Conda is acting very stupidly and will just pick whatever that is in the cache ignoring if it was from a different channel.

    To prevent an issue like this, I think it is best that you remove all environments form CI machines, run conda clean --all and then run form-scratch.sh. This would be a more a manual process because I cannot integrate it into from-scratch.sh.

    Edited by Amir MOHAMMADI
  • Also, maybe its best to add --copy to the conda create command to make sure the packages don't change over time.

  • I think we should have a script that calls from-scratch with all that in place. That has to be called by the admin on the CI machines.

Please register or sign in to reply
Loading