� u��g�����UdZddlmZddlZddlZddlmZddlmZddl m Z ddl m Z e rddl mZeeeefZd ed <d Zd �d d ��ZGd�de��ZGd�de��ZGd�de��Zd�ZdS)z�Provide basic warnings used by setuptools modules. Using custom classes (other than ``UserWarning``) allow users to set ``PYTHONWARNINGS`` filters to run tests and prepare for upcoming changes in setuptools. �)� annotationsN)�date)�cleandoc)�indent)� TYPE_CHECKING)� TypeAliasr�_DueDatez zP********************************************************************************z {details} c�X�eZdZdZe ddd���Ze ddd���ZdS)�SetuptoolsWarningz/Base class in ``setuptools`` warning hierarchy.N��summary� str | None�details�due_date�_DueDate | None�see_docs�see_url� stacklevel�int�return�Nonec ���|pt|dd��pd}|pt|dd��pd} |pt|dd��}|pt|dd��} | od| ��} |pt|dd��}|r t|�nd} |�|| | |p| |��} | r0| tj��krt ��r || ���t j| ||d z� ��dS) �6Private: reserved for ``setuptools`` internal use only�_SUMMARYN��_DETAILS� _DUE_DATE� _SEE_DOCSz%https://setuptools.pypa.io/en/latest/�_SEE_URL�)r)�getattrr�_format�today�_should_enforce�warnings�warn)�clsr rrrrr�kwargs�summary_�details_�docs_ref�docs_url�due�texts �c/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/setuptools/warnings.py�emitzSetuptoolsWarning.emits���B�g�c�:�t�<�<�B����B�g�c�:�t�<�<�B����>�w�s�K��>�>���>�w�s�K��>�>���R� R�� R� R���;�W�S�*�d�;�;��!)�3�d�H�o�o�t���{�{�8�X�s�G�4G�x��P�P�� � �3�����%�%�/�*;�*;�%��#�d�)�)�O�� �d�C�J��N�;�;�;�;�;�;��str� date | None� format_args� dict | Nonec���tj��}t|���|pi��}t|���|pi��|r ||krd|d�d�nd|r||krdnd|rd|�d�ndg}d�|D��}|rZt t �d �|��� ��t��} d �|d | d g��S|S) rz By z%Y-%b-%dzi, you need to update your project and remove deprecated calls or your builds will no longer be supported.Nzy This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future.z See z for details.c��g|]}|�|��S�r8)�.0�xs r/� <listcomp>z-SetuptoolsWarning._format.<locals>.<listcomp>Rs��0�0�0�q�a�0��0�0�0r1� )rz!! z !!) rr#r� format_mapr� _TEMPLATE�format�join�_INDENT) r'r rrrr4r#�possible_parts�parts�bodys r/r"zSetuptoolsWarning._format6s9��� � � ���7�#�#�.�.�{�/@�b�A�A�� �W� � � (� (��):�� ;� ;��� (�5� 0� 0�P��X�P�P�P�P�� �� (�5� 0� 0�I�I��07� A� ,�g� ,� ,� ,� ,�T� �� 1�0�N�0�0�0�� � >��)�*�*�4�9�9�U�3C�3C�*�D�D�g�N�N�D��9�9�g�v�t�V�<�=�=� =��r1)NNNNNr )r rrrrrrrrrrrrr)NNN) r r2rr2rr3rrr4r5rr2)�__name__� __module__� __qualname__�__doc__� classmethodr0r"r8r1r/r r s�������9�9��#�"�$(�#�"��<�<�<�<��[�<�2� !%�"�#'� �����[���r1r c��eZdZdZdS)�InformationOnlyaCurrently there is no clear way of displaying messages to the users that use the setuptools backend directly via ``pip``. The only thing that might work is a warning, although it is not the most appropriate tool for the job... See pypa/packaging-problems#558. N�rErFrGrHr8r1r/rKrKYs���������r1rKc��eZdZdZdS)�SetuptoolsDeprecationWarningz� Base class for warning deprecations in ``setuptools`` This class is not derived from ``DeprecationWarning``, and as such is visible by default. NrLr8r1r/rNrNcs���������r1rNc�X�tjdd�����}|dvS)N�SETUPTOOLS_ENFORCE_DEPRECATION�false)�true�on�ok�1)�os�getenv�lower)�enforces r/r$r$ls,���i�8�'�B�B�H�H�J�J�G� �/� /�/r1)rH� __future__rrVr%�datetimer�inspectr�textwrapr�typingr�typing_extensionsr�tuplerr �__annotations__rAr>� UserWarningr rKrNr$r8r1r/�<module>rcsj�����#�"�"�"�"�"� � � � ����������������������� � � � � � ��,�+�+�+�+�+�+��C��c�M�*��*�*�*�*� ��� 6� 6�(� 6� 6� �=�=�=�=�=� �=�=�=�@�����'���������#4����0�0�0�0�0r1
Memory