GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-version-file does not support .tools-versions · Issue #970 · actions/setup-python

python-version-file does not support .tools-versions #970

New issue
Copy link
New issue
Copy link
Closed
Feature
Closed
python-version-file does not support .tools-versions#970
Feature
Copy link
Assignees
v-mahabaleshwars
Labels
feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic

Description

@ssbarnea
ssbarnea
opened on Oct 24, 2024
Issue body actions

Description:

Opposed to setup-nodejs official action, python one is not able to read .tool-versions files to determine the version of python to be used.

Action version:
latest

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.

Expected behavior:
A description of what you expected to happen.

Actual behavior:

Be able to make use of .tool-versions files

$ cat .tool-versions
direnv 2.34.0
nodejs 18.19.1
# asdf install task latest
task 3.37.2
yarn 1.22.19
python 3.12.7
Reacted by Blake Kostner, Julien Marcil, Sam Marley-Jarrett, stema-admin and Alessandro Di Felice

Activity

  1. ssbarnea
    added
    bugSomething isn't workingSomething isn't working
    needs triage
    on Oct 24, 2024
  2. v-priyagupta108 commented on Oct 25, 2024

    @v-priyagupta108
    v-priyagupta108
    on Oct 25, 2024
    Contributor
    More actions

    Hello @ssbarnea 👋,
    Thank you for your report. We will investigate it and come back to you as soon as we have some feedback.

  3. v-priyagupta108
    removed
    needs triage
    on Oct 25, 2024
  4. v-priya-kinthali commented on Oct 30, 2024

    @v-priya-kinthali
    v-priya-kinthali
    on Oct 30, 2024
    Contributor
    More actions

    Hello @ssbarnea 👋,
    This request is similar to issue #571. We will consider enhancing the parsing logic for the python-version-file input to include support for .tool-versions files.
    We appreciate your feedback and will evaluate this feature for a future enhancement. In the meantime, please feel free to provide any additional details or use cases to help us better understand the impact and prioritize this feature.
    Thank you!

  5. v-priya-kinthali
    added
    feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
    and removed
    bugSomething isn't workingSomething isn't working
    on Oct 30, 2024
  6. v-mahabaleshwars
    self-assigned this
    on Feb 3, 2025
  7. v-mahabaleshwars commented on Mar 19, 2025

    @v-mahabaleshwars
    v-mahabaleshwars
    on Mar 19, 2025
    Contributor
    More actions

    Hello @ssbarnea,

    We’ve added support for the .tool-versions file. You can test and validate the changes using actions/setup-python@main. These changes will be rolled out soon to actions/setup-python@v5.

    Feel free to let us know if you encounter any issues or have any feedback!

    Reacted by Blake Kostner
  8. v-mahabaleshwars commented on Mar 21, 2025

    @v-mahabaleshwars
    v-mahabaleshwars
    on Mar 21, 2025
    Contributor
    More actions

    Hello @ssbarnea,
    We are closing this issue now as it has been addressed in this PR.
    Please feel free to reach out if you need any further assistance.

  9. v-mahabaleshwars
    closed this as completedon Mar 21, 2025
  10. samjarrett commented on Mar 23, 2025

    @samjarrett
    samjarrett
    on Mar 23, 2025
    More actions

    @mahabaleshwars can we please get this released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @v-mahabaleshwars
    v-mahabaleshwars

Labels

feature requestNew feature or request to improve the current logicNew feature or request to improve the current logic

Type

Feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.