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

Can't install python 3.12 on linux x64 #830

Closed
2 tasks done
cembirler opened this issue Mar 13, 2024 · 11 comments
Closed
2 tasks done

Can't install python 3.12 on linux x64 #830

cembirler opened this issue Mar 13, 2024 · 11 comments
Assignees
Labels
bug Something isn't working

Comments

@cembirler
Copy link

cembirler commented Mar 13, 2024

Description:
Getting an error when trying to download Python 3.12 for Linux.
The version not found however 3.12 linux with x64 is listed in the versions-manifest.json file

Action version:
actions/setup-python@4
Screenshot 2024-03-13 at 09 44 03

This is the contents of the .yml file:

name: Setup and Run Flask Server

on:
  workflow_dispatch:

  # push:
  #   branches:
  #     - master  # Run workflow on push to the master branch

jobs:
  build:
    runs-on: linux

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: "3.12"  # Set Python version

Platform:

  • Linux

Runner type:

  • Hosted
@cembirler cembirler added bug Something isn't working needs triage labels Mar 13, 2024
@HarithaVattikuti
Copy link
Contributor

Hello @cembirler
Thank you for creating this issue. We will investigate it and get back to you as soon as we have some feedback.

@giladdi-tr
Copy link

The same is true for Python version 3.10

@till
Copy link

till commented Mar 19, 2024

Same for 3.7

@arturgeller6
Copy link

I see the same issue for 3.8.10 when using actions/checkout@v3 with matrix strategy.
I see that semver is not detected properply

##[debug]Semantic version spec of 3.8.10​ is 3.8.10​ ##[debug]isExplicit: ##[debug]explicit? false ##[debug]evaluating 0 versions ##[debug]match not found

And when parsing manifest file it does not stop for 3.8.10 when checking arch and os.

@till
Copy link

till commented Mar 19, 2024

My work around is to set an explicit version. 🙃

@till
Copy link

till commented Mar 20, 2024

Maybe to add: it seems like every other run does not match a version and setup-python fails.

Not sure how to provide more details - it just fails to find the version and fails the job.

Can repro local (with act) and online.

@arturgeller6
Copy link

it is working now for me (perhaps some unicode symbol was in my version when I copied book code)

@gowridurgad
Copy link

gowridurgad commented Mar 22, 2024

Hii @cembirler I am able to install python 3.12 successfully.
Here's a screenshot for your reference:
Screenshot 2024-03-25 at 7 04 28 PM

@gowridurgad
Copy link

Hello @cembirler
Just a gentle reminder!
contents of the .yml file:

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup Python
        uses: actions/setup-python@v4
        with:
          python-version: "3.12"  # Set Python version 

@gowridurgad
Copy link

Hello @cembirler
Just a gentle reminder!

@gowridurgad
Copy link

Hello @cembirler
Due to inactivity, I'm going to close this issue for now. Please feel free to reopen this issue or create a new one if necessary. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants