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

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

Open
4 of 5 tasks
ssbarnea opened this issue Oct 24, 2024 · 2 comments
Open
4 of 5 tasks

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

ssbarnea opened this issue Oct 24, 2024 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@ssbarnea
Copy link

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
@ssbarnea ssbarnea added bug Something isn't working needs triage labels Oct 24, 2024
@priyagupta108
Copy link
Contributor

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

@priya-kinthali
Copy link
Contributor

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!

@priya-kinthali priya-kinthali added feature request New feature or request to improve the current logic and removed bug Something isn't working labels Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants