Multiple versions of setuptools found in built charm when layer-docker is included

When including layer-docker in my charm I end up with two separate versions of setuptools in my wheelhouse dir.

$ ls -la build/builds/jupyter-notebook-docker/wheelhouse | grep setuptools-
-rw-rw-r--  1 bdx bdx  641692 Oct 13 22:58 setuptools-20.0.tar.gz
-rw-rw-r--  1 bdx bdx  855608 Oct 13 22:58 setuptools-41.4.0.zip

This causes an error for my charm as the lower version of setuptools is installed which causes the breakage for me.

On removing setuptools-20.0.tar.gz from the built charm I get a successful deploy.

Wondering if the setuptools-20.0.tar.gz is needed by something, or if we can remove if from layer-docker?

launchpad bug

Pinging @cory_fu for input

1 Like

Apologies for the slow reply, but it seems that there is already a PR on layer:docker that will resolve this.