Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Developer Infrastructure, stack release
-
Labels:None
-
Story Points:1.5
-
Epic Link:
-
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
Issue Links
- blocks
-
DM-8259 v13.0 [Fall 2016] release
- Done
symlinks are out because github doesn't give the raw text of the link target.