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
0a5e4b5f
Commit
0a5e4b5f
authored
Jul 24, 2022
by
David Hotham
Committed by
Bjorn Neergaard
Aug 31, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow use of not-embedded pip
parent
81c7d00c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/poetry/utils/env.py
+1
-1
tests/inspection/test_info.py
+1
-1
No files found.
src/poetry/utils/env.py
View file @
0a5e4b5f
...
@@ -1427,7 +1427,7 @@ class Env:
...
@@ -1427,7 +1427,7 @@ class Env:
return
self
.
_run
(
cmd
,
**
kwargs
)
return
self
.
_run
(
cmd
,
**
kwargs
)
def
run_pip
(
self
,
*
args
:
str
,
**
kwargs
:
Any
)
->
int
|
str
:
def
run_pip
(
self
,
*
args
:
str
,
**
kwargs
:
Any
)
->
int
|
str
:
pip
=
self
.
get_pip_command
(
embedded
=
True
)
pip
=
self
.
get_pip_command
()
cmd
=
pip
+
list
(
args
)
cmd
=
pip
+
list
(
args
)
return
self
.
_run
(
cmd
,
**
kwargs
)
return
self
.
_run
(
cmd
,
**
kwargs
)
...
...
tests/inspection/test_info.py
View file @
0a5e4b5f
...
@@ -244,7 +244,7 @@ def test_info_setup_missing_mandatory_should_trigger_pep517(
...
@@ -244,7 +244,7 @@ def test_info_setup_missing_mandatory_should_trigger_pep517(
except
PackageInfoError
:
except
PackageInfoError
:
assert
spy
.
call_count
==
3
assert
spy
.
call_count
==
3
else
:
else
:
assert
spy
.
call_count
==
2
assert
spy
.
call_count
==
1
def
test_info_prefer_poetry_config_over_egg_info
():
def
test_info_prefer_poetry_config_over_egg_info
():
...
...
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