Revert "Prefer newer versions of dependencies when there are multiple available ones"

This was a wrong fix based on a misunderstanding of the issue.
The actual problem has been reported upstream.

This reverts commit c19f1e414a.
This commit is contained in:
adisbladis 2020-06-08 20:33:07 +02:00
parent c19f1e414a
commit 35eac96f8c
No known key found for this signature in database
GPG key ID: 110BFAD44C6249B7

View file

@ -59,10 +59,7 @@ let
supportsPythonVersion = pkgMeta: if pkgMeta ? marker then (evalPep508 pkgMeta.marker) else true;
in
lib.partition supportsPythonVersion poetryLock.package;
# Reverse the list so newer versions are iterated first
# It's possible for multiple versions of a dependency to be compatible and we want to pick the latest one
compatible = lib.reverseList partitions.right;
compatible = partitions.right;
incompatible = partitions.wrong;
# Create an overriden version of pythonPackages