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

Pex-built tools may fail to run if built for a Python minor version for which the Pyenv shim errors #248

Open
NiklasRosenstein opened this issue Jun 7, 2024 · 0 comments
Assignees
Labels
type: bug Something isn't working

Comments

@NiklasRosenstein
Copy link
Contributor

I'm unsure whether to report this on the Pex side, depends a bit on how we're building the Pex and point it to a Python minor version at the moment.

Basically, if you have Pyenv with a Python 3.10 version (for example) installed, but running python3.10 gives you something like this:

pyenv: python3.10: command not found

The `python3.10' command exists in these Python versions:
  3.10.14

Note: See 'pyenv help global' for tips on allowing both
      python2 and python3 to be found.

then the Pex-built binaries produced by Kraken may fail with the same error if they're targeting 3.10.

> :kraken-build:python.black.check PENDING
pyenv: python3.10: command not found

The `python3.10' command exists in these Python versions:
  3.10.14

Note: See 'pyenv help global' for tips on allowing both
      python2 and python3 to be found.
> :kraken-build:python.black.check FAILED
@NiklasRosenstein NiklasRosenstein added the type: bug Something isn't working label Jun 7, 2024
@NiklasRosenstein NiklasRosenstein self-assigned this Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant