astroconda / astroconda-contrib

Community Submitted Conda Recipes
12 stars 38 forks source link

`conda install jwst_coronagraph_visibility` installs version 0.1.0, not the latest version 0.4.2 #601

Open jbhagan opened 4 years ago

jbhagan commented 4 years ago

Version 0.4.2 can be installed with conda install jwst_coronagraph_visibility=0.4.2, however it would be best if the latest version can be installed with conda install jwst_coronagraph_visibility.

jhunkeler commented 4 years ago

There's a bug in conda. Using conda <= 4.6.14 I see the correct version picked up by default:

$ conda create -n jcvtest -c https://ssb.stsci.edu/astroconda jwst_coronagraph_visibility
[...]
    jwst_coronagraph_visibility-0.4.2|           py37_1         1.8 MB  https://ssb.stsci.edu/astroconda
[...]

However, you're right... conda >= 4.7.0 returns the completely wrong version:

$ conda create -n jcvtest -c https://ssb.stsci.edu/astroconda jwst_coronagraph_visibility
[...]
  jwst_coronagraph_~ astroconda/linux-64::jwst_coronagraph_visibility-0.1.0-py36_0
# Note: I assume conda decided to use python 3.6 because there's no 0.1.0 package for 3.7. 
[...]

I can open an issue against https://github.com/conda/conda to see what they think about this behavior.

cc: @rendinam

pllim commented 4 years ago

608 bumped to 0.4.4, so this is moot.