create and upload to releases additional install only free-threaded assets#1014
Merged
zanieb merged 3 commits intoastral-sh:mainfrom Mar 20, 2026
Merged
create and upload to releases additional install only free-threaded assets#1014zanieb merged 3 commits intoastral-sh:mainfrom
zanieb merged 3 commits intoastral-sh:mainfrom
Conversation
Contributor
Author
|
Tested this by patching locally to skip downloading/uploading most artifacts: diff --git a/src/github.rs b/src/github.rs
index 0d3079f..7ad16b7 100644
--- a/src/github.rs
+++ b/src/github.rs
@@ -264,6 +264,13 @@ pub async fn command_fetch_release_distributions(args: &ArgMatches) -> Result<()
|| artifact.name.contains("dockerbuild")
|| artifact.name.contains("crate-")
|| artifact.name.contains("image-")
+ || artifact.name.contains("linux")
+ || artifact.name.contains("windows")
+ || artifact.name.contains("x86_64")
+ || artifact.name.contains("vcvars")
+ || artifact.name.contains("3.10")
+ || artifact.name.contains("3.11")
+ || artifact.name.contains("3.15")
{
continue;
}
diff --git a/src/release.rs b/src/release.rs
index 557c197..7438962 100644
--- a/src/release.rs
+++ b/src/release.rs
@@ -410,6 +410,10 @@ pub fn build_wanted_filenames(
}
}
+ if triple.contains("linux") || triple.contains("windows") || triple.contains("x86") {
+ continue;
+ }
+
for suffix in release.suffixes(Some(&python_version)) {
wanted_filenames.insert(
format!("cpython-{version}-{triple}-{suffix}-{datetime}.tar.zst"),Then running : Followed by: |
2caf334 to
da4f478
Compare
zanieb
approved these changes
Mar 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Create install_only assets for the free-threaded builds of Python 3.13+.
This is in addition to the install_only assets for the GIL configuration of these builds.
These assets are upload to a GitHub release by the appropriate action.
Based upon #537
Closes #536