Skip to content

Commit

Permalink
Improve pypi closure computation by using a complete resolver
Browse files Browse the repository at this point in the history
Previous approach was using a naive algorithm that was failing to
resolve complex constraints, mainly because of the absence of
backtracking. In order to solve properly the issue, the new
implementation drags the generic constraint solver used by pip
(resolvelib) and instantiate it.

Note also that the package now only depends on the standard
PyPI simple API rather than the release obsolete one.
  • Loading branch information
Nikokrock committed Aug 5, 2024
1 parent c7c0eb9 commit 1796a7b
Show file tree
Hide file tree
Showing 12 changed files with 3,679 additions and 511 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = [
"stevedore>1.20.0",
"setuptools",
"packaging",
"resolvelib",
"psutil; sys_platform=='win32'",
"psutil; sys_platform=='linux'",
"psutil; sys_platform=='linux2'",
Expand Down
Loading

0 comments on commit 1796a7b

Please sign in to comment.