Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

--no-use-wheel is deprecated #1179

Merged
merged 1 commit into from
Apr 26, 2018
Merged

--no-use-wheel is deprecated #1179

merged 1 commit into from
Apr 26, 2018

Conversation

leochen4891
Copy link
Contributor

got an error when building a vm cluster

    ================================================================================
    Error executing action `run` on resource 'execute[new-pip-upgrade-packaging]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '2'
    ---- Begin output of /usr/local/bin/pip install packaging --no-use-wheel --upgrade   ----
    STDOUT: 
    STDERR: Usage:   
      pip install [options] <requirement specifier> [package-index-options] ...
      pip install [options] -r <requirements file> [package-index-options] ...
      pip install [options] [-e] <vcs project url> ...
      pip install [options] [-e] <local project path> ...
      pip install [options] <archive url/path> ...
    
    no such option: --no-use-wheel
    ---- End output of /usr/local/bin/pip install packaging --no-use-wheel --upgrade   ----
    Ran /usr/local/bin/pip install packaging --no-use-wheel --upgrade   returned 2

from pip install help

  --no-use-wheel              Do not Find and prefer wheel archives when searching indexes and find-links locations. DEPRECATED in favour of --no-binary.```

@aespinosa
Copy link
Collaborator

Can we confirm which version of pip was it deprecated?

What do we have typically deployed these days?

@leochen4891
Copy link
Contributor Author

leochen4891 commented Apr 17, 2018

--no-use-wheel was deprecated in 7.0.0 via PR-2699 , and is removed in 9.0.0

"--no-use-wheel and --use-wheel are deprecated in favour of new options --no-binary and --only-binary. The equivalent of --no-use-wheel is --no-binary=:all:. (#2699)
"

On a newly created VM cluster, the pip is on version 10.0.0

vagrant@bcpc-bootstrap:~$ /usr/local/bin/pip -V
pip 10.0.0 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)

@leochen4891
Copy link
Contributor Author

Tested by building a VM cluster.

@desirit
Copy link
Contributor

desirit commented Apr 26, 2018

reviewed by the team

@desirit desirit merged commit a0840ec into bloomberg:master Apr 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants