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
2faa9f19
Unverified
Commit
2faa9f19
authored
Mar 15, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix update command reinstalling every dependency
parent
e13da407
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
CHANGELOG.md
+1
-0
poetry/installation/installer.py
+1
-6
No files found.
CHANGELOG.md
View file @
2faa9f19
...
...
@@ -10,6 +10,7 @@
-
Fixed color displayed in
`show`
command for semver-compatible updates.
-
Fixed Python requirements in publishing metatadata.
-
Fixed
`update`
command reinstalling every dependency.
## [0.5.0] - 2018-03-14
...
...
poetry/installation/installer.py
View file @
2faa9f19
...
...
@@ -117,7 +117,7 @@ class Installer:
def
_do_install
(
self
,
local_repo
):
locked_repository
=
Repository
()
# initialize locked repo if we are installing from lock
if
not
self
.
_update
:
if
not
self
.
_update
or
(
self
.
_update
and
self
.
_locker
.
is_locked
())
:
locked_repository
=
self
.
_locker
.
locked_repository
(
True
)
if
self
.
_update
:
...
...
@@ -134,9 +134,6 @@ class Installer:
if
self
.
_whitelist
:
# collect packages to fixate from root requirements
candidates
=
[]
if
self
.
_locker
.
is_locked
():
locked_repository
=
self
.
_locker
.
locked_repository
(
True
)
for
package
in
locked_repository
.
packages
:
candidates
.
append
(
package
)
...
...
@@ -152,8 +149,6 @@ class Installer:
Dependency
(
candidate
.
name
,
candidate
.
version
)
)
locked_repository
=
Repository
()
solver
=
Solver
(
self
.
_package
,
self
.
_pool
,
...
...
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