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
b283ca8d
Unverified
Commit
b283ca8d
authored
May 19, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the --python option to the debug:resolve command
parent
f317b003
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
CHANGELOG.md
+1
-0
poetry/console/commands/debug/resolve.py
+3
-1
No files found.
CHANGELOG.md
View file @
b283ca8d
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
### Added
### Added
-
Added a new, more efficient dependency resolver.
-
Added a new, more efficient dependency resolver.
-
Added the
`--extras`
and
`--python`
options to
`debug:resolve`
to help debug dependency resolution.
## [0.9.1] - 2018-05-18
## [0.9.1] - 2018-05-18
...
...
poetry/console/commands/debug/resolve.py
View file @
b283ca8d
...
@@ -12,6 +12,7 @@ class DebugResolveCommand(Command):
...
@@ -12,6 +12,7 @@ class DebugResolveCommand(Command):
debug:resolve
debug:resolve
{ package?* : packages to resolve. }
{ package?* : packages to resolve. }
{ --E|extras=* : Extras to activate for the dependency. }
{ --E|extras=* : Extras to activate for the dependency. }
{ --python= : Python version(s) to use for resolution. }
"""
"""
_loggers
=
[
_loggers
=
[
...
@@ -49,7 +50,8 @@ class DebugResolveCommand(Command):
...
@@ -49,7 +50,8 @@ class DebugResolveCommand(Command):
self
.
poetry
.
package
.
name
,
self
.
poetry
.
package
.
name
,
self
.
poetry
.
package
.
version
self
.
poetry
.
package
.
version
)
)
package
.
python_versions
=
self
.
poetry
.
package
.
python_versions
package
.
python_versions
=
self
.
option
(
'python'
)
or
self
.
poetry
.
package
.
python_versions
for
dep
in
dependencies
:
for
dep
in
dependencies
:
package
.
requires
.
append
(
dep
)
package
.
requires
.
append
(
dep
)
...
...
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