Skip to content

Conversation

@tdyas
Copy link
Contributor

@tdyas tdyas commented Jun 19, 2025

Users can use PANTS_BOOTSTRAP_URLS to add custom versions of Pants to those known by scie-pants. To do so, however, users must provide all of the existing ptex keys obtained via SCIE=inspect pants | jq .ptex for each supported platform since specifying PANTS_BOOTSTRAP_URLS replaces all existing URLs. Only then can the user supplement the URLs with their own. (The "built-in" URLs are for Python Build Standalone releases known to scie-pants.)

This is unwieldy especially if the user does not have access to all of the supported platforms. scie-pants should instead just merge the configuration provided via PANTS_BOOTSTRAP_URLS. This should be a more intuitive behavior for users. Also, if users did wish to replace the existing ptex URLs for PBS Pythons, the merged configuration will override built-in URLs with the user's URLs if there is a conflict.)

@tdyas tdyas force-pushed the tdyas/merge_urls_path_files branch from bcbba7c to 966006c Compare June 19, 2025 22:14
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.

1 participant