Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repurpose backtracking hook #101

Merged
merged 6 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions news/101.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
A new reporter hook ``rejecting_candidate`` is added, replacing the former
``backtracking`` one. The resolver triggers this hook every time it rejects
a conflicting package before trying out an older version of it.
The hook accepts two arguments: ``criterion`` (a ``resolvers.Criterion``
object) and ``candidate``.
uranusjr marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion src/resolvelib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ResolutionTooDeep",
]

__version__ = "0.8.2.dev0"
__version__ = "0.9.0.dev0"


from .providers import AbstractProvider, AbstractResolver
Expand Down