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
1242fac5
Unverified
Commit
1242fac5
authored
Sep 15, 2022
by
Bjorn Neergaard
Committed by
GitHub
Sep 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: run pip with --isolated to avoid bad local config (#6531)
Resolves: #6521
parent
cc3f9942
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
src/poetry/utils/pip.py
+7
-1
No files found.
src/poetry/utils/pip.py
View file @
1242fac5
...
...
@@ -25,7 +25,13 @@ def pip_install(
# 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
)]
args
=
[
"install"
,
"--disable-pip-version-check"
,
"--isolated"
,
"--prefix"
,
str
(
environment
.
path
),
]
if
not
is_wheel
and
not
editable
:
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