Let us walk on the 3-isogeny graph
|
Data Structures | |
class | SelfCheckState |
class | UpgradePrompt |
Functions | |
str | _get_statefile_name (str key) |
bool | was_installed_by_pip (str pkg) |
Optional[str] | _get_current_remote_pip_version (PipSession session, optparse.Values options) |
Optional[UpgradePrompt] | _self_version_check_logic (*SelfCheckState state, datetime.datetime current_time, DistributionVersion local_version, Callable[[], Optional[str]] get_remote_version) |
None | pip_self_version_check (PipSession session, optparse.Values options) |
Variables | |
str | _DATE_FMT = "%Y-%m-%dT%H:%M:%SZ" |
logger = logging.getLogger(__name__) | |
|
protected |
Definition at line 156 of file self_outdated_check.py.
References i.
|
protected |
Definition at line 37 of file self_outdated_check.py.
References i.
|
protected |
Definition at line 184 of file self_outdated_check.py.
References i, and pip._internal.self_outdated_check.was_installed_by_pip().
Referenced by pip._internal.self_outdated_check.pip_self_version_check().
None pip_self_version_check | ( | PipSession | session, |
optparse.Values | options | ||
) |
Check for an update for pip. Limit the frequency of checks to once per week. State is stored either in the active virtualenv or in the user's USER_CACHE_DIR keyed off the prefix of the pip script path.
Definition at line 218 of file self_outdated_check.py.
References pip._internal.self_outdated_check._self_version_check_logic(), and i.
bool was_installed_by_pip | ( | str | pkg | ) |
Checks whether pkg was installed by pip This is used not to display the upgrade message when pip is in fact installed by system package manager, such as dnf on Fedora.
Definition at line 146 of file self_outdated_check.py.
References i.
Referenced by pip._internal.self_outdated_check._self_version_check_logic().
Definition at line 31 of file self_outdated_check.py.
logger = logging.getLogger(__name__) |
Definition at line 34 of file self_outdated_check.py.