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

Update the conda versions before next release

    Details

    • Templates:
    • Story Points:
      1.5
    • Team:
      SQuaRE

      Description

      In lsstsw we currently force miniconda2 version to 3.19.0 and miniconda3 to 4.0.5.

      After deploying miniconda2 we get:

      $ otool -L miniconda/lib/libpython2.7.dylib 
      miniconda/lib/libpython2.7.dylib:
      	libpython2.7.dylib (compatibility version 2.7.0, current version 2.7.0)
      	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.0.0)
      	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 476.0.0)
      	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
      

      Doing conda update python results in:

      python:      2.7.11-0     --> 2.7.12-1
      

      and:

      $ otool -L miniconda/lib/libpython2.7.dylib 
      miniconda/lib/libpython2.7.dylib:
      	@rpath/libpython2.7.dylib (compatibility version 2.7.0, current version 2.7.0)
      	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
      	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 635.21.0)
      

      which gives the correct use of @rpath without us having to manually modify it (which we stopped doing a while back). This is important because Mac OS X builds break with galsim on XCode 8 if the @rpath is missing.

      Updating our miniconda versions to v4.1.11 fixes the problem, although we will need to update our pinned package versions after making this change as currently without the -b option the 2.7.12 fixed python is installed and then immediately downgraded.

      4.1.11 is needed for both miniconda2 and miniconda3.

      The workaround for mac users is to run conda update python before building galsim.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  jhoblitt Joshua Hoblitt
                  Reporter:
                  tjenness Tim Jenness
                  Reviewers:
                  Kian-Tat Lim, Tim Jenness
                  Watchers:
                  Chris Walter, Frossie Economou, Joshua Hoblitt, Kian-Tat Lim, Pim Schellart [X] (Inactive), Scott Daniel, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel