-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] 71.0.0 fails with 'importlib_metadata' has no attribute 'EntryPoints'
on Python 3.8
#4478
Comments
This behavior is by design. Setuptools now will prefer installed packages over its vendored ones, but it can't yet declare them. That means that if you have an installed dependency but it's older than the one setuptools needs, it will not work. The workaround/fix is to install these dependencies when installing setuptools. You may be tempted to install Either that, or ensure that there aren't older versions of those dependencies installed. Eventually, we plan to have setuptools declare (and thus install) its own dependencies so you don't have to do that, but for Setuptools to do that, we first have to solve pypa/packaging-problems#342 (an ongoing effort). |
Thanks, importing those, specifically importlib_metadata fixed the problem. Shame its not automatic at the moment. Thanks for the quick response. Much appreciated. |
* expand azure subscriptions to _all_ for testing * add azure scenario back to prod * update app missing protocol for security group * ignore changes to agentless service principal * add user-managed identity example * update user identity * update azure user managed identity assignment * update azure user managed identity assignment * update azure user managed identity assignment * update system identity discovery for user identity * update system identity discovery for user identity * update system identity discovery for user identity * update system identity discovery for user identity * fix iam2enum default no profile behaviour * update db password to use `random_password` to ensure min * remove centos8 deprecated image * remove dynu config requirement * disable dns for attacker * remove centos ami lookup * update gcp scenario alert demo * update random password to force scheme compliance * update role assignment * disable agentless for azure by default * update azure resource group deployment tags * add a readme for required providers * fix default linux server name * fix user managed identity role name * update tags for user managed identity * update user managed identity example * cleanup app and default instances * update roles for user managed identity * update roles for user managed identity * update agentless on azure * fix missing ssh key * update tag reference * update var reference * update var reference * update user managed identity reference * update agentless module * update agentless module * update azuresql service principal reference * update azuresql role assignments * update azuresql role assignments * update azuresql role assignments * update azuresql role assignments * update azuresql service principal reference * update compute outputs * update compute outputs * update compute role * update azuresql service principal reference * update role scoping to subscription * update ad group owners * update ad group owners * update key policy * update key vault * update key vault * update key vault * update key vault * update key vault * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update azure providers * update role scope * revert provider update * update role scope * update role scope * update role scope * add aadloginforlinux extension * update role scope * disable provider prevent_deletion_if_contains_resources * update role scope * update role scope * update instance ref * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * Update group.tf * add virtual machine login group * fix pypa/setuptools#4478 * update role scope * revert global subscription test settings
* expand azure subscriptions to _all_ for testing * add azure scenario back to prod * update app missing protocol for security group * ignore changes to agentless service principal * add user-managed identity example * update user identity * update azure user managed identity assignment * update azure user managed identity assignment * update azure user managed identity assignment * update system identity discovery for user identity * update system identity discovery for user identity * update system identity discovery for user identity * update system identity discovery for user identity * fix iam2enum default no profile behaviour * update db password to use `random_password` to ensure min * remove centos8 deprecated image * remove dynu config requirement * disable dns for attacker * remove centos ami lookup * update gcp scenario alert demo * update random password to force scheme compliance * update role assignment * disable agentless for azure by default * update azure resource group deployment tags * add a readme for required providers * fix default linux server name * fix user managed identity role name * update tags for user managed identity * update user managed identity example * cleanup app and default instances * update roles for user managed identity * update roles for user managed identity * update agentless on azure * fix missing ssh key * update tag reference * update var reference * update var reference * update user managed identity reference * update agentless module * update agentless module * update azuresql service principal reference * update azuresql role assignments * update azuresql role assignments * update azuresql role assignments * update azuresql role assignments * update azuresql service principal reference * update compute outputs * update compute outputs * update compute role * update azuresql service principal reference * update role scoping to subscription * update ad group owners * update ad group owners * update key policy * update key vault * update key vault * update key vault * update key vault * update key vault * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update role scope * update azure providers * update role scope * revert provider update * update role scope * update role scope * update role scope * add aadloginforlinux extension * update role scope * disable provider prevent_deletion_if_contains_resources * update role scope * update role scope * update instance ref * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * add virtual machine login group * Update group.tf * add virtual machine login group * fix pypa/setuptools#4478 * update role scope * revert global subscription test settings
setuptools dependency requirements may not be satisfied with the installed packages, which are now preferred over the vendored ones with 71.0.0: pypa/setuptools#4478 Make sure that the dependencies are also upgraded when setuptools are upgraded. And install the packages into the user directory instead of running it as the 'root' user, which is not recommended. Change-Id: I12be08c1442f3dd948638a502fc37ff2877bc966 Signed-off-by: Sangwook Ha <[email protected]>
setuptools version
71.0.0
Python version
3.8
OS
Ubuntu 20.04
Additional environment information
No response
Description
This started a few hours ago when our pipeline picked up 71.0.0, works fine on 70.3.0.
Expected behavior
No error
How to Reproduce
See Description
Output
See Description
The text was updated successfully, but these errors were encountered: