Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update doesn't provide latest version, even when install foo=LATEST works #5992

Open
ijstokes opened this issue Sep 21, 2017 · 2 comments
Open
Labels
solver pertains to the solver source::anaconda created by members of Anaconda, Inc.
Milestone

Comments

@ijstokes
Copy link

I tried to update the the latest version of a package (I had 0.6.0 and saw that 0.8.0 was available from a channel), but update just changed the channel I was using, it didn't (claim to) get the latest version:

(ana44clean) pandas-bokeh-scikitlearn (master) $ conda update -c anaconda-platform anaconda-project
Solving environment: done

## Package Plan ##

  environment location: /Users/ijstokes/anaconda/envs/ana44clean

  added / updated specs: 
    - anaconda-project


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-project-0.6.0     |           py36_0         195 KB  anaconda-platform

The following packages will be UPDATED:

    anaconda-project: 0.6.0-py36_0 --> 0.6.0-py36_0 anaconda-platform

Proceed ([y]/n)? n

However when I execute a similar command but use install and then specify version 0.8.0 of the package (which I did assuming that this would show up some kind of package conflict, that being the reason conda wasn't able to update me past 0.6.0), I was surprised to see it work:

(ana44clean) pandas-bokeh-scikitlearn (master) $ conda install -c anaconda-platform anaconda-project=0.8.0
Solving environment: done

## Package Plan ##

  environment location: /Users/ijstokes/anaconda/envs/ana44clean

  added / updated specs: 
    - anaconda-project=0.8.0


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    anaconda-project-0.8.0     |           py36_0         211 KB  anaconda-platform

The following packages will be REMOVED:

    anaconda:         4.4.0-np112py36_0

The following packages will be UPDATED:

    anaconda-project: 0.6.0-py36_0      --> 0.8.0-py36_0 anaconda-platform

Proceed ([y]/n)? y


Downloading and Extracting Packages
anaconda-project 0.8.0: ############################################################################################################# | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Obligatory conda info -a:

$ conda info -a

     active environment : ana44clean
    active env location : /Users/ijstokes/anaconda/envs/ana44clean
            shell level : 2
       user config file : /Users/ijstokes/.condarc
 populated config files : /Users/ijstokes/anaconda/.condarc
                          /Users/ijstokes/.condarc
          conda version : 4.4.0rc1
    conda-build version : 3.0.6
         python version : 3.6.1.final.0
       base environment : /Users/ijstokes/anaconda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.continuum.io/pkgs/free/osx-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/osx-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/osx-64
                          https://repo.continuum.io/pkgs/pro/noarch
          package cache : /Users/ijstokes/anaconda/pkgs
                          /Users/ijstokes/.conda/pkgs
       envs directories : /Users/ijstokes/anaconda/envs
                          /Users/ijstokes/.conda/envs
               platform : osx-64
             user-agent : conda/4.4.0rc1 requests/2.14.2 CPython/3.6.1 Darwin/16.7.0 OSX/10.12.6
                UID:GID : 502:20
             netrc file : None
           offline mode : False

# conda environments:
#
ana44clean            *  /Users/ijstokes/anaconda/envs/ana44clean
ana44scan                /Users/ijstokes/anaconda/envs/ana44scan
ap-features              /Users/ijstokes/anaconda/envs/ap-features
bokehwkshp               /Users/ijstokes/anaconda/envs/bokehwkshp
car-behavioral-cloning     /Users/ijstokes/anaconda/envs/car-behavioral-cloning
cpuc                     /Users/ijstokes/anaconda/envs/cpuc
daskwkshp                /Users/ijstokes/anaconda/envs/daskwkshp
dspyr                    /Users/ijstokes/anaconda/envs/dspyr
fusion                   /Users/ijstokes/anaconda/envs/fusion
ggpy36                   /Users/ijstokes/anaconda/envs/ggpy36
h2o                      /Users/ijstokes/anaconda/envs/h2o
ingest                   /Users/ijstokes/anaconda/envs/ingest
jlab                     /Users/ijstokes/anaconda/envs/jlab
jupyter                  /Users/ijstokes/anaconda/envs/jupyter
myenv                    /Users/ijstokes/anaconda/envs/myenv
myoracle                 /Users/ijstokes/anaconda/envs/myoracle
myoracle60py36           /Users/ijstokes/anaconda/envs/myoracle60py36
mytest                   /Users/ijstokes/anaconda/envs/mytest
opensky                  /Users/ijstokes/anaconda/envs/opensky
oracle                   /Users/ijstokes/anaconda/envs/oracle
py27                     /Users/ijstokes/anaconda/envs/py27
py27scan                 /Users/ijstokes/anaconda/envs/py27scan
py36                     /Users/ijstokes/anaconda/envs/py36
root_clone               /Users/ijstokes/anaconda/envs/root_clone
spark                    /Users/ijstokes/anaconda/envs/spark
spyder                   /Users/ijstokes/anaconda/envs/spyder
tbb                      /Users/ijstokes/anaconda/envs/tbb
topher                   /Users/ijstokes/anaconda/envs/topher
vatic                    /Users/ijstokes/anaconda/envs/vatic
webex                    /Users/ijstokes/anaconda/envs/webex
workshop                 /Users/ijstokes/anaconda/envs/workshop
base                     /Users/ijstokes/anaconda

sys.version: 3.6.1 |Anaconda custom (x86_64)| (defaul...
sys.prefix: /Users/ijstokes/anaconda
sys.executable: /Users/ijstokes/anaconda/bin/python
conda location: /Users/ijstokes/anaconda/lib/python3.6/site-packages/conda
conda-build: /Users/ijstokes/anaconda/bin/conda-build
conda-convert: /Users/ijstokes/anaconda/bin/conda-convert
conda-develop: /Users/ijstokes/anaconda/bin/conda-develop
conda-env: /Users/ijstokes/anaconda/bin/conda-env
conda-index: /Users/ijstokes/anaconda/bin/conda-index
conda-inspect: /Users/ijstokes/anaconda/bin/conda-inspect
conda-metapackage: /Users/ijstokes/anaconda/bin/conda-metapackage
conda-render: /Users/ijstokes/anaconda/bin/conda-render
conda-server: /Users/ijstokes/anaconda/bin/conda-server
conda-skeleton: /Users/ijstokes/anaconda/bin/conda-skeleton
conda-verify: /Users/ijstokes/anaconda/bin/conda-verify
user site dirs: 

CONDA_DEFAULT_ENV: ana44clean
CONDA_ENVS_PATH: <not set>
DYLD_LIBRARY_PATH: <not set>
PATH: /Users/ijstokes/anaconda/envs/ana44clean/bin:/Users/ijstokes/anaconda/bin:/Users/ijstokes/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
PYTHONHOME: <not set>
PYTHONPATH: <not set>

License directories:
    /Users/ijstokes/.continuum
    /Users/ijstokes/Library/Application Support/Anaconda
    /Users/ijstokes/anaconda/licenses
License files (license*.txt):
    /Users/ijstokes/.continuum/license_bundle_20160524191753.txt
               Reading license file : 6
                    Signature valid : 6
                       Vendor match : 3
                            product : 'mkl-optimizations'
                           packages : 'mkl'
                           end_date : '2017-05-24'
                               type : 'Trial'
                            product : 'iopro'
                           packages : 'iopro'
                           end_date : '2017-05-24'
                               type : 'Trial'
                            product : 'accelerate'
                           packages : 'numbapro mkl'
                           end_date : '2017-05-24'
                               type : 'Trial'
    /Users/ijstokes/.continuum/license_fusion_20161026132253.txt
               Reading license file : 1
                    Signature valid : 1
                       Vendor match : 0
Package/feature end dates:
    mkl             : 2017-05-24
    iopro           : 2017-05-24
    numbapro        : 2017-05-24
@kalefranz
Copy link
Contributor

That's odd. The -c anaconda-platform should make that the highest priority channel.

@kalefranz kalefranz added solver pertains to the solver source::anaconda created by members of Anaconda, Inc. labels Sep 22, 2017
@kalefranz kalefranz added this to the 4.4.0 milestone Oct 12, 2017
@kalefranz kalefranz modified the milestones: 4.4.0, 4.4.1 Nov 14, 2017
@kalefranz kalefranz modified the milestones: 4.4.1, 4.4 Dec 21, 2017
@kalefranz
Copy link
Contributor

Ian have you had any similar issues since? This was for a very old 4.4.0rc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solver pertains to the solver source::anaconda created by members of Anaconda, Inc.
Projects
None yet
Development

No branches or pull requests

2 participants