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

Fix pyenv python version #13

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Fix pyenv python version #13

merged 1 commit into from
Jan 17, 2024

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Jan 17, 2024

Description

Fix way how python executable is received by adding cwd into which call.

Additional description

Pyenv will set correct version in the output directory but does not use it because the which argument is called for wrong directory. That is resolved by adding the output path to subprocess.

Testing notes

  1. Create AYON launcher installer with python 3.9.6 (or different version)
  2. Create venv of dependencies tool with python 3.9.12 (different version from step 1.)
  3. Run dependencies tool to create package for the installer
  4. All should go well without erroring out on wrong python version

@iLLiCiTiT iLLiCiTiT requested a review from kalisp January 17, 2024 15:53
@iLLiCiTiT iLLiCiTiT merged commit da0ba42 into develop Jan 17, 2024
@iLLiCiTiT iLLiCiTiT deleted the bugfix/pyenv-version-usage branch January 17, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants