composer icon indicating copy to clipboard operation
composer copied to clipboard

Use miniconda Python install in Docker images

Open bandish-shah opened this issue 2 years ago • 0 comments

What does this PR do?

Previously we installed a new system Python and overrode the original. This caused issues with several packages such as PyPi and setuptools due to the venv scheme being patched into Python in the deadsnakes repo.

This PR switches the Python install to use miniconda. It also resolves the confusion between using site-packages and dist-packages (Debian).

What issue(s) does this change relate to?

TBD

Before submitting

  • [x] Have you read the contributor guidelines?
  • [ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
  • [ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
  • [ ] Did you update any related docs and document your change?
  • [ ] Did you update any related tests and add any new tests related to your change? (see testing)
  • [ ] Did you run the tests locally to make sure they pass?
  • [ ] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

bandish-shah avatar Feb 01 '23 09:02 bandish-shah