mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
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:
parent
c19f1e414a
commit
35eac96f8c
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue