Skip to content

Conversation

@jku
Copy link
Member

@jku jku commented Nov 24, 2025

Our selftest and Makefile happily find the .python-version in the working directory, but for actual users of the action it's not as easy: The .python-version is actually in the action path.

I'm re-adding 3.10 to test matrix so we can for sure see the python version selection in the logs

Our selftest and Makefile happily find the .python-version in the
working directory, but for actual users of the action it's not as
easy: The .python-version is actually in the action path.

Signed-off-by: Jussi Kukkonen <[email protected]>
@jku
Copy link
Member Author

jku commented Nov 24, 2025

looks good to me, this is from a test run where "system python" is 3.10:

first the host environment

DEBUG: Python: Python 3.10.11
DEBUG: pip: pip 25.3 from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip (python 3.10)

then uv reads the python-version (3.14) and sets up the actual runtime:

Using CPython 3.14.0 interpreter at: /opt/homebrew/opt/[email protected]/bin/python3.14
Creating virtual environment at: .action-env
Activate with: source .action-env/bin/activate
Using Python 3.14.0 environment at: .action-env

@jku jku requested review from di and woodruffw November 25, 2025 14:18
@jku jku merged commit 5483fa8 into main Nov 25, 2025
53 checks passed
@jku jku deleted the fix-python-version-lookup branch November 25, 2025 14:26
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.

issue in python version selection

3 participants