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
importlib-metadata 3.6.0 changed the behaviour of entry_points() to no longer return a dictionary of entry points but instead return an object with a deprecated dict-like interface. As of importlib-metadata 3.9.0 a DeprecationWarning is emitted when calling the dictionary methods.
Issue
importlib-metadata
3.6.0 changed the behaviour ofentry_points()
to no longer return a dictionary of entry points but instead return an object with a deprecated dict-like interface. As ofimportlib-metadata
3.9.0 a DeprecationWarning is emitted when calling the dictionary methods.virtualenv
calls.get()
here:virtualenv/src/virtualenv/run/plugin/base.py
Lines 16 to 18 in 3f41067
This results in the following warning:
$ python3.6 -Wdefault -m virtualenv /tmp/venv
Environment
Provide at least:
OS: Ubuntu 20.04
pip list
of the host python wherevirtualenv
is installed:Output of the virtual environment creation
Make sure to run the creation with
-vvv --with-traceback
:Output
See python/importlib_metadata#278 and python/importlib_metadata#289 for more context. The changelog for
importlib-metadata
suggests https://pypi.org/project/backports.entry-points-selectable/ as a possible solution.This is currently only an issue on Python 3.7 and earlier, as
virtualenv
uses the standard library on newer versions.The text was updated successfully, but these errors were encountered: