Skip to content

Conversation

mattem
Copy link
Contributor

@mattem mattem commented Mar 14, 2022

When providing a custom dict for the tool_versions, take this into account when selecting the filename and url.

This also changes the get_release_url function to allow for different URLs for each platform (where a platform is added after the initial release of the interpreter version).

@mattem mattem force-pushed the fix/custom_tools_versions branch 3 times, most recently from 7cbdbc4 to 0bca106 Compare March 14, 2022 15:48
@mattem mattem marked this pull request as ready for review March 14, 2022 15:53
@mattem mattem requested review from brandjon and lberki as code owners March 14, 2022 15:53
mandatory = True,
values = TOOL_VERSIONS.keys() + MINOR_MAPPING.keys(),
),
"release_filename": attr.string(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm it's smelly there's no docs/ change in this PR, something must not be wired up

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is exported, the macro wrapping it is, and these attrs are set in the macro

@mattem mattem force-pushed the fix/custom_tools_versions branch from 0bca106 to 063d48a Compare March 15, 2022 13:55
@mattem
Copy link
Contributor Author

mattem commented Mar 15, 2022

Updated to include the aarch64-apple-darwin release.

@mattem mattem merged commit 121741a into main Mar 15, 2022
@mattem mattem deleted the fix/custom_tools_versions branch March 15, 2022 15:03
mattem added a commit that referenced this pull request Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants