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
Seemingly correct version and environment not being recognized #125
Comments
|
I'm also hitting this with 3.6 (as |
|
Running into the same with local runners. |
|
I also face same issue with local runner ( |
|
Same issue here! My workaround for now is to run the job inside a container instead but ultimately I'd like to know that my Python application works on different OS:es so would still like to see this resolved. |
|
Same issue when using act! |
|
So - I suspect the culprit is actually different platform versions, which you can see in the manifest: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json Those are actually (silently) checked for in When using nektos/act, you'd want to ensure |
|
This seems to have started 2 days ago on the Selenium project. - name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7In this run , we are setting 3.7 but the error below shows that python 3.6.9 is the runtime that is being used. assert sys.version_info >= (3, 7), f"To generate the CDP code requires python 3.7 or later. Executing python is {sys.version_info}"
AssertionError: To generate the CDP code requires python 3.7 or later. Executing python is sys.version_info(major=3, minor=6, micro=9, releaselevel='final', serial=0) |
|
FYI, @RomainMuller hit the nail on the head, and there's a lighter workaround here: nektos/act#251 |
|
Hello everyone! |
Describe the bug
A clear and concise description of what the bug is.
I have a simple setup python job at the top of my workflow.
However, when I run it, it doesn't seem to work. The weird thing is that you can see that the lines appear to pass correctly, but the test still fails.
Which version of the action are you using?
v1v2v2.0.1ormaster)Environment
If applicable, please specify if you're using a container
Python Versions
Please list all of the effected versions of Python (
3.8.2, etc.)3.7.x
To Reproduce
Steps to reproduce the behavior:
Linux cloudVM 5.3.0-1032-azure #33~18.04.1-Ubuntu SMP Fri Jun 26 15:01:15 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxRun/Repo Url
If applicable, and if your repo/run is public, please include a URL so it is easier for us to investigate.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: