§
]<ˆj– ã óŠ — d dl Z d dlZd dlmZmZ dee fd„Zdee fd„Zdee fd„Zdeeef fd„Z dS )é N)ÚOptionalÚTupleÚreturnc ó: — t ¦ « p
t ¦ « S )z9Returns glibc version string, or None if not using glibc.)Úglibc_version_string_confstrÚglibc_version_string_ctypes© ó úk/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/pip/_internal/utils/glibc.pyÚglibc_version_stringr s € å'Ñ)Ô)ÐJÕ-HÑ-JÔ-JÐJr
c óÈ — t j dk rdS t j d¦ « } | €dS | ¦ « \ }}n# t
t t f$ r Y dS w xY w|S )z@Primary implementation of glibc_version_string using os.confstr.Úwin32NÚCS_GNU_LIBC_VERSION)ÚsysÚplatformÚosÚconfstrÚsplitÚAttributeErrorÚOSErrorÚ
ValueError)Úgnu_libc_versionÚ_Úversions r r r s~ € õ „|�wÒÐØˆtðÝœ:Ð&;Ñ<Ô<ÐØÐ#Ø�4à%×+Ò+Ñ-Ô-‰
ˆˆ7ˆ7øÝ�G¥ZÐ0ð ð ð àˆtˆtðøøøð €Ns ”A ¬A ÁAÁAc ó8 — ddl } n# t $ r Y dS w xY w | d¦ « }n# t $ r Y dS w xY w |j }n# t
$ r Y dS w xY w| j |_ |¦ « }t |t ¦ « s|
d¦ « }|S )z=Fallback implementation of glibc_version_string using ctypes.r NÚascii)ÚctypesÚImportErrorÚCDLLr Úgnu_get_libc_versionr Úc_char_pÚrestypeÚ
isinstanceÚstrÚdecode)r Úprocess_namespacer Úversion_strs r r r së € ð؈
ˆ
ˆ
ˆ
øÝð ð ð Øˆtˆtðøøøð Ø"ŸKšK¨Ñ-Ô-ÐÐøÝð ð ð ØˆtˆtðøøøðØ0ÔEÐÐøÝð ð ð ð ˆtˆtðøøøð $*¤?ÐÔ Ø+Ð+Ñ-Ô-€Kå�k¥3Ñ'Ô'ð 2Ø!×(Ò(¨Ñ1Ô1ˆàÐs* ‚ ‡
”™/ ¯
=¼=ÁA Á
AÁAc ó. — t ¦ « } | €dS d| fS )z“Try to determine the glibc version
Returns a tuple of strings (lib, version) which default to empty strings
in case the lookup fails.
N)Ú r) Úglibc)r )Ú
glibc_versions r Úlibc_verr, [ s% € õ )Ñ*Ô*€MØÐ؈xà˜Ð'Ð'r
)
r r Útypingr r r$ r r r r, r r
r ú