/layers/paketo-buildpacks_pip-install/packages/lib/python3.8/site-packages:
total 64
drwxr-xr-x 16 cnb cnb 4096 Jan 1 1980 .
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 ..
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Flask-0.12.3.dist-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Jinja2-2.7.2-py3.8.egg-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 MarkupSafe-0.21-py3.8.egg-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Werkzeug-0.10.4.dist-info
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 click
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 click-8.0.1.dist-info
drwxr-xr-x 5 cnb cnb 4096 Jan 1 1980 flask
drwxr-xr-x 8 cnb cnb 4096 Jan 1 1980 gunicorn
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 gunicorn-19.5.0.dist-info
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 itsdangerous
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 itsdangerous-2.0.1.dist-info
drwxr-xr-x 4 cnb cnb 4096 Jan 1 1980 jinja2
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 markupsafe
drwxr-xr-x 5 cnb cnb 4096 Jan 1 1980 werkzeug
/layers/paketo-buildpacks_pip-install/packages/lib/python3.9/site-packages:
total 64
drwxr-xr-x 16 cnb cnb 4096 Jan 1 1980 .
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 ..
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Flask-0.12.3.dist-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Jinja2-2.7.2-py3.9.egg-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 MarkupSafe-0.21-py3.9.egg-info
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 Werkzeug-0.10.4.dist-info
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 click
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 click-8.0.1.dist-info
drwxr-xr-x 5 cnb cnb 4096 Jan 1 1980 flask
drwxr-xr-x 8 cnb cnb 4096 Jan 1 1980 gunicorn
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 gunicorn-19.5.0.dist-info
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 itsdangerous
drwxr-xr-x 2 cnb cnb 4096 Jan 1 1980 itsdangerous-2.0.1.dist-info
drwxr-xr-x 4 cnb cnb 4096 Jan 1 1980 jinja2
drwxr-xr-x 3 cnb cnb 4096 Jan 1 1980 markupsafe
drwxr-xr-x 5 cnb cnb 4096 Jan 1 1980 werkzeug
What happened?
What were you attempting to do?
I am rebuilding my Python 3.8 app using Python 3.9. This worked fine, but when I
execinto the container, I can see that my modules for Python 3.8 are still there alongside the modules that were installed for Python 3.9.What did you expect to happen?
I expected that my app wouldn't contain old copies of modules that I'm not using.
What was the actual behavior? Please provide log output, if possible.
Here are the steps I followed, I'm using the
integration/testdata/default_appin this case:packageslayer contains Python 3.8 and 3.9 modulesBuild Configuration
What platform (
pack,kpack,tektonbuildpacks plugin, etc.) are youusing? Please include a version.
What buildpacks are you using? Please include versions.
What builder are you using? If custom, can you provide the output from
pack inspect-builder <builder>?Can you provide a sample app or relevant configuration (
buildpack.yml,nginx.conf, etc.)?The sample app I used was this one: https://github.com/paketo-buildpacks/pip-install/tree/f0cad81e304b75d04fb0d0f89ae4926572f883db/integration/testdata/default_app.
Checklist