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
Fix deploy error due to new pip / old setuptools conflict
Newer versions of pip (>=19.0) don't work with older versions of
setuptools (<40) due to an attribute error. If
`include_system_packages` is `false` (now the default), this is not an
issue because of the newer setuptools that gets installed into the venv.
However, when it's `true`, which is required for some charms, the
install fails because pip somehow prefers the older system-installed
setuptools over the newer one in the venv. Pinning pip avoids the
problem until we can find a better solution.
See:
* https://discourse.jujucharms.com/t/wheel-building-fails-during-charm-deployment/1947
* pypa/pip#6164
0 commit comments