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
c67b314a
Unverified
Commit
c67b314a
authored
Mar 15, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix color displayed in show command for semver-compatible updates
parent
988a2339
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
CHANGELOG.md
+4
-0
poetry/console/commands/show.py
+1
-1
No files found.
CHANGELOG.md
View file @
c67b314a
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
-
Added support for virtualenv autogeneration (Python 3.6+ only).
-
Added support for virtualenv autogeneration (Python 3.6+ only).
### Fixed
-
Fixed color displayed in
`show`
command for semver-compatible updates.
## [0.5.0] - 2018-03-14
## [0.5.0] - 2018-03-14
...
...
poetry/console/commands/show.py
View file @
c67b314a
...
@@ -237,7 +237,7 @@ lists all packages available."""
...
@@ -237,7 +237,7 @@ lists all packages available."""
if
latest
.
full_pretty_version
==
package
.
full_pretty_version
:
if
latest
.
full_pretty_version
==
package
.
full_pretty_version
:
return
'up-to-date'
return
'up-to-date'
constraint
=
package
.
version
constraint
=
'^'
+
package
.
version
if
latest
.
version
and
statisfies
(
latest
.
version
,
constraint
):
if
latest
.
version
and
statisfies
(
latest
.
version
,
constraint
):
# It needs an immediate semver-compliant upgrade
# It needs an immediate semver-compliant upgrade
...
...
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