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

Remove Windows static builds #234

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

charliermarsh
Copy link
Member

Summary

This PR removes the Windows static builds from the build and release pipelines. As per #221:

The Windows static builds in this project are an artifact from trying to achieve the original goals of PyOxidizer. With the benefit of hindsight, the static Windows builds are borderline unusable.

Closes #221.

@charliermarsh charliermarsh marked this pull request as draft March 18, 2024 18:44
@charliermarsh charliermarsh marked this pull request as ready for review March 18, 2024 18:45
Copy link
Collaborator

@indygreg indygreg left a comment

Choose a reason for hiding this comment

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

As I reviewed all the deleted code, I couldn't help but reflect on how many hours it took to devise those lines of code. Dozens. If not over 100.

It was a bold experiment. But sometimes you can only learn through failure.

Thank you for this PR: it looks great!

@@ -48,8 +48,7 @@ pub static RELEASE_TRIPLES: Lazy<BTreeMap<&'static str, TripleRelease>> = Lazy::

// Windows.

// The -shared and -static parts of the triple are a lie. But the code
// handles it fine.
// The -shared part of the triple is a lie. But the code handles it fine.
Copy link
Collaborator

Choose a reason for hiding this comment

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

As a potential future followup we can strip the -shared part from the triple. The only reason it is there is to disambiguate from the static builds. Now since there are only dynamically linked builds, there's no need for the label.

I'll file an issue to track this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Cool, I can do that too.

@indygreg indygreg merged commit 9b83db4 into astral-sh:main Mar 19, 2024
237 checks passed
@charliermarsh charliermarsh deleted the charlie/win-static branch March 19, 2024 02:12
@charliermarsh
Copy link
Member Author

charliermarsh commented Mar 19, 2024

As I reviewed all the deleted code, I couldn't help but reflect on how many hours it took to devise those lines of code. Dozens. If not over 100.

Honestly... I guessed as much. There were so many little details here in the static library conversion, remove_from_extension_modules, etc. Props for making it possible.

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.

Drop support for Windows static builds
3 participants