Circleci/python PATH set incorrectly

When using the current circleci/python:3.8-rc-stretch-browsers my PATH is not correctly loaded, and as such after I pip install, python libs are not available in my PATH. When I SSH they are (which was the behavior before).

This works in 3.6, 3.7 images:

  - run: pip install -r requirements.txt --user --no-warn-script-location
  - run:
      name: "Integration tests"
      command: pytest --junitxml=integration-test-reports/results.xml

In current image I have to reference the executable direcly:

  - run: pip install -r requirements.txt --user --no-warn-script-location
  - run:
      name: "Integration tests"
      command: ~/.local/bin/pytest --junitxml=integration-test-reports/results.xml

Hey @SamMorrowDrums welcome to CircleCI Discuss!

I moved your post into a new topic as this is about our original convenience images and now the next-gen beta (where you posted).

The image you mentioned (circleci/python:3.8-rc-stretch-browsers) is an old release candidate image (hence the rc). Can you try using circleci/python:3.8-browsers instead? This drops the RC portion so that you’re using the actual Python v3.8 release, and it drops the Debian Stretch OS which is also old.

Indeed it works. Apologies, but I was trying to find the correct 3.8 image on Docker Hub and failed… It’s organization of images is actually not very helpful for browsing. The updated image works as expected.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.