Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-25434

Restructure tarball paths with goal to remove miniconda version



    • Story
    • Status: To Do
    • Resolution: Unresolved
    • None
    • conda, lsst, lsstsw
    • None
    • Architecture
    • No


      At a minimum, the miniconda reference in the tarball path is not useful, so it should be removed.

      Currently, the paths look like these:

      Which corresponds to the following template:

      stack/{os_family}/{kernel_equivalent}/{compiler}/{miniconda_version}-{environment hash}/

      Since an environment effectively encodes kernel equivalent, compiler and the miniconda version is irrelevant, I'd suggest dropping those from the paths to simplify things, although at least dropping miniconda_version is desirable, as that version has no impact on binary or API compatibility.

      Further restructuring

      If we were to simplify this to rely more on the environment repo and hash, we may reconsider the string to be of the following format:




      This form is a bit more explicit, showing a bit more information about an environment in the URL, such as the repo where that environment is located.

      Using {arch} (linux-64, osx-64) is more consistent with how conda/conda-forge describes systems as well.

      Restructuring according to system

      If we would like to proceed further, it should be noted we conda-forge will be packaging newer versions of glibc. If we want to consider that in the path, we would expect kernel equivalent should also be changed to be either 10.9 (OS X), cos6 (centos 6), cos7 (centos 7), and roughly refers to the system/glibc features that are available to packages. Like the compiler, this can effectively be namespaced by the environment hash as well.

      Currently, the compiler is currently just "conda-system", which is also fine if we are leaving in the environment hash.

      Based on this, If we were to reimagine the path so that binaries might be reused across conda environments, we might choose something similar to the following:



        Issue Links



              Unassigned Unassigned
              bvan Brian Van Klaveren
              Brian Van Klaveren, Chris Walter, Gabriele Comoretto [X] (Inactive), Heather Kelly, Kian-Tat Lim, Tim Jenness
              0 Vote for this issue
              6 Start watching this issue




                  No builds found.