Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: pyenv shell integrations not enabled #220

Open
cjw296 opened this issue Nov 20, 2023 · 1 comment
Open

Bug Report: pyenv shell integrations not enabled #220

cjw296 opened this issue Nov 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@cjw296
Copy link

cjw296 commented Nov 20, 2023

Describe the bug

While pyenv is used to build these images, the shell integrations are missing.

What this means is that if you install a package that provides a console script, such as pytest, the console script will not be available in your Circle CI jobs.

To Reproduce

A job with the following steps will do it:

      - run:
          name: "Install PyTest"
          command: "python -m pip install pytest"
      - run:
          name: "Run PyTest"
          command: "pytest --help"

Expected behavior

I'd expect the pytest help message to be printed.

Workarounds

I'm going to try python -m pytest instead.

@cjw296 cjw296 added the bug Something isn't working label Nov 20, 2023
cjw296 added a commit to cjw296/circleci-orbs that referenced this issue Nov 20, 2023
@jasonyoung-pearl
Copy link

We had a similar issue. When using tfenv in CircleCI, export PATH=$HOME/.tfenv/bin:$PATH would entirely break pyenv. Instead we had to symlink tfenv and terraform binaries to a path that already existed in PATH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants