관리-도구
편집 파일: self_outdated_check.cpython-311.pyc
� �܋f� � �t � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m Z d dlmZm Z mZmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d d lmZ d d lmZ d dlmZ d dl m!Z! d d l"m#Z# d dl$m%Z% d dl&m'Z'm(Z( d dl)m*Z*m+Z+m,Z, d dl-m.Z. e j/ d�� � Z0 ej1 e2� � Z3de4de4fd�Z5de4de j fd�Z6 G d� d� � Z7e G d� d� � � � Z8de4de9fd�Z:de#d ej; dee4 fd!�Z<d"e7d#e j d$ed%e g ee4 f dee8 f d&�Z=de#d ej; ddfd'�Z>dS )(� N)� dataclass)�Any�Callable�Dict�Optional)�Version)�parse)�Group)�escape)�Text)� LinkCollector)� PackageFinder)�get_default_environment)�SelectionPreferences)� PipSession)�WINDOWS)� get_best_invocation_for_this_pip�#get_best_invocation_for_this_python)�adjacent_tmp_file�check_path_owner�replace)� ensure_dir� )�days�key�returnc �z � | � � � }t j |� � � � � }|S �N)�encode�hashlib�sha224� hexdigest)r � key_bytes�names �r/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pip/_internal/self_outdated_check.py�_get_statefile_namer&