Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
30190c74
Commit
30190c74
authored
Mar 27, 2021
by
Arun Babu Neelicattu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pip installer: disable version check explicitly
parent
5073c205
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
poetry/utils/pip.py
+4
-1
No files found.
poetry/utils/pip.py
View file @
30190c74
...
@@ -20,7 +20,10 @@ def pip_install(
...
@@ -20,7 +20,10 @@ def pip_install(
path
=
Path
(
path
)
if
isinstance
(
path
,
str
)
else
path
path
=
Path
(
path
)
if
isinstance
(
path
,
str
)
else
path
is_wheel
=
path
.
suffix
==
".whl"
is_wheel
=
path
.
suffix
==
".whl"
args
=
[
"install"
,
"--prefix"
,
str
(
environment
.
path
)]
# We disable version check here as we are already pinning to version available in either the
# virtual environment or the virtualenv package embedded wheel. Version checks are a wasteful
# network call that adds a lot of wait time when installing a lot of packages.
args
=
[
"install"
,
"--disable-pip-version-check"
,
"--prefix"
,
str
(
environment
.
path
)]
if
not
is_wheel
:
if
not
is_wheel
:
args
.
insert
(
1
,
"--use-pep517"
)
args
.
insert
(
1
,
"--use-pep517"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment