Unverified Commit c67b314a authored by Sébastien Eustace's avatar Sébastien Eustace
Browse files

Fix color displayed in show command for semver-compatible updates

parent 988a2339
Loading
Loading
Loading
Loading
+4 −0
Changes for CHANGELOG.md: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -6,6 +6,10 @@

- 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

+1 −1
Changes for poetry/console/commands/show.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ lists all packages available."""
        if latest.full_pretty_version == package.full_pretty_version:
            return 'up-to-date'

        constraint = package.version
        constraint = '^' + package.version

        if latest.version and statisfies(latest.version, constraint):
            # It needs an immediate semver-compliant upgrade