# lsstsw deploy on OS X fails in miniconda install

XMLWordPrintable

#### Details

• Type: Bug
• Status: Done
• Resolution: Done
• Fix Version/s: None
• Component/s:
• Labels:
None
• Story Points:
0.667
• Team:
SQuaRE

#### Description

Testing the fixes for the deploy script in DM-4359 it seems that the part of the script installing miniconda no longer works on OS X because the list of packages to be installed has been derived from a Linux system and not all the Linux packages have OS X equivalents. There needs to be a per-OS list of packages. The default OS X list seems to be:

 # This file may be used to create an environment using: # \$ conda create --name --file  # platform: osx-64 astropy=1.1.1=np110py27_0 conda=3.19.1=py27_0 conda-env=2.4.5=py27_0 cycler=0.9.0=py27_0 cython=0.23.4=py27_1 freetype=2.5.5=0 libpng=1.6.17=0 matplotlib=1.5.1=np110py27_0 nomkl=1.0=0 numpy=1.10.4=py27_nomkl_0 openssl=1.0.2f=0 pandas=0.17.1=np110py27_0 pip=8.0.2=py27_0 pycosat=0.6.1=py27_0 pycrypto=2.6.1=py27_0 pyparsing=2.0.3=py27_0 pyqt=4.11.4=py27_1 python=2.7.11=0 python-dateutil=2.4.2=py27_0 pytz=2015.7=py27_0 pyyaml=3.11=py27_1 qt=4.8.7=1 readline=6.2=2 requests=2.9.1=py27_0 scipy=0.17.0=np110py27_nomkl_0 setuptools=19.6.2=py27_0 sip=4.16.9=py27_0 six=1.10.0=py27_0 sqlalchemy=1.0.11=py27_0 sqlite=3.9.2=0 tk=8.5.18=0 wheel=0.29.0=py27_0 yaml=0.1.6=0 zlib=1.2.8=0 

#### Activity

Hide
Joshua Hoblitt added a comment -

My inclination is to fix this correctly and have a separate linux/osx conda package lists. Could someone provide a package list from OSX after doing a -b install?

Show
Joshua Hoblitt added a comment - My inclination is to fix this correctly and have a separate linux/osx conda package lists. Could someone provide a package list from OSX after doing a -b install?
Hide
Tim Jenness added a comment -

That list is on this ticket as well as on DM-5157

Show
Tim Jenness added a comment - That list is on this ticket as well as on DM-5157
Hide
Joshua Hoblitt added a comment -

Err, I thought that was the linux list for some reason... thank you.

Show
Joshua Hoblitt added a comment - Err, I thought that was the linux list for some reason... thank you.
Hide
Darko Jevremovic added a comment -

Is there any timeline for resolution of this. I have a new student who after updating her OSX is stuck at instalation of miniconda. Or is there are quick workaround?
Thx.

Show
Darko Jevremovic added a comment - Is there any timeline for resolution of this. I have a new student who after updating her OSX is stuck at instalation of miniconda. Or is there are quick workaround? Thx.
Hide
Tim Jenness added a comment -

Use bin/deploy -b for now.

Show
Tim Jenness added a comment - Use bin/deploy -b for now.
Hide
Joshua Hoblitt added a comment -

My intent is for this to be resolved this week.

Show
Joshua Hoblitt added a comment - My intent is for this to be resolved this week.
Hide
Joshua Hoblitt added a comment -

After quite a bit of fiddling, I seem to have gotten OSX working under travis. This required setting up the travis matrix with multiple languages, which the docs say is unsupported and the linter warns on, but this seems to be the only to be able to use the pre-canned python versions on linux combined with a vanilla env on osx (travis does not support python on OSX). The OSX build seems to fail intermittently running rebuild due to the 10 minute travis console output timeout. I have marked the OSX builds as allowed to fail due to the random timeouts and the long wait for OSX workers to start.

Show
Joshua Hoblitt added a comment - After quite a bit of fiddling, I seem to have gotten OSX working under travis. This required setting up the travis matrix with multiple languages, which the docs say is unsupported and the linter warns on, but this seems to be the only to be able to use the pre-canned python versions on linux combined with a vanilla env on osx (travis does not support python on OSX). The OSX build seems to fail intermittently running rebuild due to the 10 minute travis console output timeout. I have marked the OSX builds as allowed to fail due to the random timeouts and the long wait for OSX workers to start.
Hide
Joshua Hoblitt added a comment -

Merged without review as the change is trivial (and was blocking DM-5179).

Show
Joshua Hoblitt added a comment - Merged without review as the change is trivial (and was blocking DM-5179 ).

#### People

Assignee:
Joshua Hoblitt
Reporter:
Tim Jenness
Watchers:
Darko Jevremovic, Jonathan Sick, Joshua Hoblitt, Russell Owen, Tim Jenness