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

Fix resolution with bad (empty) releases

parent 749ebc02
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
# Change Log

## [Unreleased]

### Fixed

- Fixed resolution with bad (empty) releases.


## [0.8.0] - 2018-04-13

### Added
+4 −0
Original line number Diff line number Diff line
@@ -89,6 +89,10 @@ class PyPiRepository(Repository):
        versions = []

        for version, release in info['releases'].items():
            if not release:
                # Bad release
                continue

            if (
                not constraint
                or (constraint and constraint.matches(Constraint('=', version)))