Skip to content

reverse the deprecation of --build and --no-clean #2062

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* **PROCESS** Version numbers are now simply ``X.Y`` where the leading ``1``
has been dropped.

* Fixed :issue:`1873`. Silence byte compile errors when installation succeed.

* **BACKWARD INCOMPATIBLE** Dropped support for Python 3.1.

* **BACKWARD INCOMPATIBLE** Removed the bundle support which was deprecated in
Expand All @@ -22,6 +20,12 @@
until their removal in pip v8.0. For more information please see
https://pip.pypa.io/en/latest/reference/pip_install.html#caching

* **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now
*NOT* deprecated. This reverses the deprecation that occurred in v1.5.3. See
:issue:`906` for discussion.

* Fixed :issue:`1873`. Silence byte compile errors when installation succeed.

* Added a virtualenv-specific configuration file. (:pull:`1364`)

* Added site-wide configuation files. (:pull:`1978`)
Expand Down
8 changes: 3 additions & 5 deletions pip/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,11 @@ def run(self, options, args):

if (
options.no_install or
options.no_download or
(options.build_dir != build_prefix) or
options.no_clean
options.no_download
):
warnings.warn(
"--no-install, --no-download, --build, and --no-clean are "
"deprecated. See https://github.com/pypa/pip/issues/906.",
"--no-install and --no-download are deprecated. "
"See https://github.com/pypa/pip/issues/906.",
RemovedInPip7Warning,
)

Expand Down