Closed sterlingbaldwin closed 5 years ago
According to @doutriaux1, for one reason or another, the latest version of cdms shows the version as 3.0.0
under conda list cdms
. I believe it's b/c the version in setup.py
wasn't updated.
@zshaheen normally conda-forge
uses the meta.yaml file to get the version but it seems that conda
4.6.x now uses setup.py.
Conda build runs setup.py
which install 3 packages cdms2, MV2 and regrid2
instead of 1 package normally and conda
create a pypi
version from setup.py
due to that (it seems).
I have updated setup.py to match the version of meta.yaml
in the nightly channel. We don't want to change all the yaml
file for cdat 8.1 at this point, so we will wait for a patch release to update the cdms2 version. Charles mentioned that he would like to separated cdms2
and regrid2
which mean that we will have to maintain another conda-forge
repository. I would like to find another solution, but we might not have choice....
@sterlingbaldwin I will close this issue since cdms2 is not broken. That will be fix in the next release.
Describe the bug Trying to install v3.1.2 via conda pulls in 3.0 from pypi.
To Reproduce
conda install -c conda-forge cdms2=3.1.2 python=2
Expected behavior I get version 3.1.2, not 3.0
Screenshots or traceback
Desktop (please complete the following information): linux redhat 6
Environment Information
`conda info`
``` ```
`conda config --show-sources`
``` ```
`conda list --show-channel-urls`
``` ```
Additional context
This worked yesterday. Ive tested it on two different systems, and had another user try as well. Same behavior observed everywhere. Note that in the "NEW PACKAGES INSTALLED" section conda reports its installing the correct version, but after it finishes the wrong old version is there, and its from pypi.