msimet / Stile

Stile: the Systematics Tests In Lensing pipeline
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

New versions of the DM stack require astropy version >=3 #120

Open EiffL opened 5 years ago

EiffL commented 5 years ago

@msimet I'm not sure where the requirement from for requesting astropy version <3 but this is causing problem for the LSST DESC python environment at NERSC as the DM stack is now based on astropy 3.0.3. Would it be possible to update the astropy requirement ?

msimet commented 5 years ago

So, the reason we specify astropy <3 is that astropy >=3 requires python 3. Is there a way to do conditional requirements, different for python 2 and 3?

EiffL commented 5 years ago

aaaaaaaahhhhh... but... I vaguely remember making the package python3 compatible. Any need for python2 anymore?

msimet commented 5 years ago

Some of us like python2 :D

Anyway, turns out you can do this: see Tony G's answer here. https://stackoverflow.com/questions/29222269/is-there-a-way-to-have-a-conditional-requirements-txt-file-for-my-python-applica I can make this change later today, or you can do it if you like.

EiffL commented 5 years ago

would definitely be appreciated if you could make the change ;-) otherwise I can try to have a go at it tonight