Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unable to use asdf-vm based version-file #571

Copy link
Copy link
Closed
@hjpotter92

Description

@hjpotter92
Issue body actions

I was using setup-node action, and didn't face this problem when using .tool-versions file; so i was surprised hitting this error in setup-python action.

Description:
When using the action, I expected it to work seamlessly with .tool-versions file that asdf-vm generates.

Action version:
Using @v4

Platform:

  • Ubuntu

Runner type:

  • Github's runner

Tools version:

Repro steps:

  • Create a asdf based version file:

    asdf local python 3.10.9
    asdf local poetry 1.3.1
  • Use the generated .tool-versions file in github action:

    - uses: actions/setup-python@v4
      with:
        python-version-file: .tool-versions
        cache: poetry
  • Fails to install python.

Expected behavior:

Parser should be smart to also identify other version managers

Actual behavior:

Resolved architecture/.tool-versions as python 3.10.9
poetry 1.3.1

Version python 3.10.[9](https://github.com/XXXXXXXXXXXXXXXX/actions/runs/3738XXXXXX/jobs/63453738XXXXXX#step:4:10)
poetry 1.3.1
 was not found in the local cache
Error: The version 'python 3.[10](https://github.com/XXXXXXXXXXXXXXXX/actions/runs/3738XXXXXX/jobs/63453738XXXXXX#step:4:11).9
poetry 1.3.1
' with architecture 'x64' was not found for Ubuntu 22.04.

Metadata

Metadata

Labels

enhancementNew feature or requestNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.