You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but why the next step of run poetry shell still says active python version of 3.7?
Run poetry shell
poetry shell
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '**_0_**'"
env:
PYTHON_VERSION: 3.8
POETRY_VERSION: 1.2.0a2
pythonLocation: C:\hostedtoolcache\windows\Python\3.8.10\x64
**The currently activated Python version 3.7.9 is not supported by the project (^3.8.0).**
Trying to find and use a compatible version.
Using python3 (3.8.10)
Creating virtualenv zetta-lstthbR--py3.8 in C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs
Spawning shell within C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\zetta-lstthbR--py3.8
PowerShell 7.2.4
Copyright (c) Microsoft Corporation.
https://aka.ms/powershell
Type 'help' to get help.
Action version:
Specify the action version
tried both v3 and v4
Platform:
Ubuntu
macOS
Windows
Runner type:
Hosted
Self-hosted
The text was updated successfully, but these errors were encountered:
This seems like a duplicate of #374. I am not a maintainer of the setup-python action, but I suggest taking a look at #374 (comment) for a work around until the root cause is fixed.
thanks @Kurt-von-Laven but on windows i cannot use something like poetry env use 3.8... i have to write something to find the location of python on windows and pass the full path to poetry env use path. i will close this anyway, and post acomment in #374
Description:
i have the following setup in my ci.yml
I saw that python 3.8 is successfully setted up.
but why the next step of
run poetry shell
still says active python version of 3.7?Action version:
Specify the action version
tried both v3 and v4
Platform:
Runner type:
The text was updated successfully, but these errors were encountered: