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

21.3 pip3 (arm64) failing when used with "-b" option #10576

Closed
1 task done
harshvp1621 opened this issue Oct 12, 2021 · 2 comments
Closed
1 task done

21.3 pip3 (arm64) failing when used with "-b" option #10576

harshvp1621 opened this issue Oct 12, 2021 · 2 comments
Labels
resolution: invalid Invalid issue/PR type: deprecation Related to deprecation / removal.

Comments

@harshvp1621
Copy link

Description

Environment: arm64 Debian Buster
Python3.7
When upgrading from stock pip 18.1 to the latest 21.3, subsequent commands using the "-b" option start failing. This issue was not observed in the previous pip3 versions.
Command:
pip3 install -b ./foo <some_package>

Error:
`Usage:
pip3 install [options] [package-index-options] ...
pip3 install [options] -r [package-index-options] ...
pip3 install [options] [-e] ...
pip3 install [options] [-e] ...
pip3 install [options] <archive url/path> ...

no such option: -b`

Expected behavior

In versions prior to 21.3, the "-b" option worked fine when used as mentioned above. Has the usage/option to specify build dir changed?

pip version

21.3

Python version

python3.7

OS

Debian Buster (arm64)

How to Reproduce

  1. Upgrade to pip 21.3 (in my case I upgrade from 18.1 to 21.3)
  2. pip3 install -b $SOME_TEMP_DIR --upgrade-strategy only-if-needed -r ./requirements.txt

Output

Error:
Usage:   
  pip3 install [options] <requirement specifier> [package-index-options] ...
  pip3 install [options] -r <requirements file> [package-index-options] ...
  pip3 install [options] [-e] <vcs project url> ...
  pip3 install [options] [-e] <local project path> ...
  pip3 install [options] <archive url/path> ...

no such option: -b

Code of Conduct

@harshvp1621 harshvp1621 added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Oct 12, 2021
@harshvp1621 harshvp1621 changed the title pip3 (arm64) failing when used with "-b" option 21.3 pip3 (arm64) failing when used with "-b" option Oct 12, 2021
@uranusjr
Copy link
Member

The option (shorthand to --build-dir) has been deprecated and was finally removed in the latest release. See release notes for more information.

@uranusjr uranusjr added type: deprecation Related to deprecation / removal. resolution: invalid Invalid issue/PR and removed type: bug A confirmed bug or unintended behavior S: needs triage Issues/PRs that need to be triaged labels Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: invalid Invalid issue/PR type: deprecation Related to deprecation / removal.
Projects
None yet
Development

No branches or pull requests

3 participants