You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some deprecation warnings seen with the Python 3.11 upgrade in Pants sources:
src/python/pants/backend/python/subsystems/python_tool_base.py:228: DeprecationWarning: read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
lock_bytes = importlib.resources.read_binary(parts.netloc, lockfile_path)
src/python/pants/jvm/resolve/coursier_fetch.py:783: DeprecationWarning: read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
lockfile_bytes = importlib.resources.read_binary(
src/python/pants/backend/python/util_rules/pex_requirements.py:213: DeprecationWarning: read_binary is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
importlib.resources.read_binary(parts.netloc, lockfile_path),
The text was updated successfully, but these errors were encountered:
Some deprecation warnings seen with the Python 3.11 upgrade in Pants sources:
The text was updated successfully, but these errors were encountered: