Когда я запускаю uv, запускаю pytest, чтобы протестировать указанный проект, я получите следующее:
Код: Выделить всё
============================================================================= test session starts =============================================================================
platform darwin -- Python 3.12.5, pytest-8.3.3, pluggy-1.5.0
...
(test output)
...
============================================================================== warnings summary ===============================================================================
../../../../../usr/local/lib/python3.9/site-packages/certifi/core.py:36
/usr/local/lib/python3.9/site-packages/certifi/core.py:36: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
_CACERT_CTX = get_path("certifi", "cacert.pem")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Сначала он говорит, что использует Python3.12.5 — версию, которую я указал для этого проекта, но тогда предупреждение приходит от Python3.9?
Как мне избавиться от этого сообщения?
Подробнее здесь: https://stackoverflow.com/questions/790 ... on-version