o
    !7h                     @  sj   d dl mZ d dlmZmZmZ ddlmZmZm	Z	m
Z
mZ er&ddlmZ G dd dee	eef ZdS )	    )annotations)TYPE_CHECKING
CollectionGeneric   )CTKTRTRequirementInformationState)	Criterionc                   @  s`   e Zd ZdZd#ddZd$dd	Zd%ddZd&ddZd'ddZd(ddZ	d)ddZ
d*d d!Zd"S )+BaseReporterz?Delegate class to provider progress reporting for the resolver.returnNonec                 C     dS )z-Called before the resolution actually starts.N )selfr   r   u/var/www/epreuve.sigeris.cm/public_html/epreuve/venv/lib/python3.10/site-packages/pip/_vendor/resolvelib/reporters.pystarting       zBaseReporter.startingindexintc                 C  r   )zYCalled before each round of resolution starts.

        The index is zero-based.
        Nr   )r   r   r   r   r   starting_round   r   zBaseReporter.starting_roundstateState[RT, CT, KT]c                 C  r   )zCalled before each round of resolution ends.

        This is NOT called if the resolution ends at this round. Use `ending`
        if you want to report finalization. The index is zero-based.
        Nr   )r   r   r   r   r   r   ending_round   r   zBaseReporter.ending_roundc                 C  r   )z/Called before the resolution ends successfully.Nr   )r   r   r   r   r   ending   r   zBaseReporter.endingrequirementr	   parent	CT | Nonec                 C  r   )a  Called when adding a new requirement into the resolve criteria.

        :param requirement: The additional requirement to be applied to filter
            the available candidaites.
        :param parent: The candidate that requires ``requirement`` as a
            dependency, or None if ``requirement`` is one of the root
            requirements passed in from ``Resolver.resolve()``.
        Nr   )r   r   r   r   r   r   adding_requirement!   r   zBaseReporter.adding_requirementcauses*Collection[RequirementInformation[RT, CT]]c                 C  r   )zCalled when starting to attempt requirement conflict resolution.

        :param causes: The information on the collision that caused the backtracking.
        Nr   )r   r!   r   r   r   resolving_conflicts+   r   z BaseReporter.resolving_conflicts	criterionCriterion[RT, CT]	candidater   c                 C  r   )z6Called when rejecting a candidate during backtracking.Nr   )r   r$   r&   r   r   r   rejecting_candidate3   r   z BaseReporter.rejecting_candidatec                 C  r   )z9Called when adding a candidate to the potential solution.Nr   )r   r&   r   r   r   pinning6   r   zBaseReporter.pinningN)r   r   )r   r   r   r   )r   r   r   r   r   r   )r   r   r   r   )r   r	   r   r   r   r   )r!   r"   r   r   )r$   r%   r&   r   r   r   )r&   r   r   r   )__name__
__module____qualname____doc__r   r   r   r   r    r#   r'   r(   r   r   r   r   r      s    







r   N)
__future__r   typingr   r   r   structsr   r   r	   r
   r   	resolversr   r   r   r   r   r   <module>   s    