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

krakenw: Ignore unusable Pyenv shims when searching for an applicable Python version #210

Open
NiklasRosenstein opened this issue Feb 29, 2024 · 0 comments
Assignees
Labels
only: kraken-wrapper This issue affects only kraken-wrapper. type: documentation Improvements or additions to documentation

Comments

@NiklasRosenstein
Copy link
Contributor

NiklasRosenstein commented Feb 29, 2024

Our current implementation in the krakenw.common.findpython module already supports looking for applicable versions in $PYENV_ROOT/versions, but it's not unlikely that Pyenv shim matches the version constraint as that will be on the PATH and we check $PYENV_ROOT/versions last. Sometimes that shim may not be configured properly so it reports an error (e.g. python3.10.13 available but not configured or something like that), and we should ignore a finding where this happens.

@NiklasRosenstein NiklasRosenstein added type: documentation Improvements or additions to documentation only: kraken-wrapper This issue affects only kraken-wrapper. labels Feb 29, 2024
@NiklasRosenstein NiklasRosenstein self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
only: kraken-wrapper This issue affects only kraken-wrapper. type: documentation Improvements or additions to documentation
Projects
Status: No status
Development

No branches or pull requests

1 participant