Skip to content

Remove shared- prefix from Windows profiles #241

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 4 commits into from

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Mar 30, 2024

Summary

In #234, we removed the Windows static builds from python-build-standalone. As such, the shared- prefix (in, e.g., shared-pgo) is no longer necessary, since there's no need to differentiate the shared builds from the static builds.

This PR removes the shared- prefix, but continues to publish under both profiles to allow for a transition period for consumers of the shared- builds.

Closes #237.

Test Plan

Downloaded one of the release artifacts locally:

~/Downloads on  main [!+?] via 🐍 v3.12.0
❯ cd cpython-3.8-vcvars64.bat-pgo
~/Downloads/cpython-3.8-vcvars64.bat-pgo on  main [!+?]
❯ ls
cpython-3.8.18-x86_64-pc-windows-msvc-pgo-20240330T1749.tar.zst
cpython-3.8.18-x86_64-pc-windows-msvc-shared-pgo-20240330T1749.tar.zst
~/Downloads/cpython-3.8-vcvars64.bat-pgo on  main [!+?]
❯ shasum cpython-3.8.18-x86_64-pc-windows-msvc-*
718227dbe11dcdf74283952a6b01a769cd5e2919  cpython-3.8.18-x86_64-pc-windows-msvc-pgo-20240330T1749.tar.zst
718227dbe11dcdf74283952a6b01a769cd5e2919  cpython-3.8.18-x86_64-pc-windows-msvc-shared-pgo-20240330T1749.tar.zst

@@ -894,12 +893,11 @@ def build_openssl_for_arch(
# uplink.c tries to find the OPENSSL_Applink function exported from the current
# executable. However, it is exported from _ssl[_d].pyd in shared builds. So
# update its sounce to look for it from there.
if "shared" in profile:
Copy link
Member Author

Choose a reason for hiding this comment

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

(Always true. Should've been removed in the preceding PR.)

@indygreg
Copy link
Collaborator

I manually cancelled actions for Linux and macOS due to xz download bustage. Rebase on main to get working CI.

@charliermarsh charliermarsh marked this pull request as draft March 30, 2024 18:23
@charliermarsh charliermarsh marked this pull request as ready for review March 30, 2024 21:42
@charliermarsh charliermarsh marked this pull request as draft March 30, 2024 21:42
@charliermarsh charliermarsh marked this pull request as ready for review March 30, 2024 23:07
@charliermarsh charliermarsh requested a review from indygreg March 31, 2024 14:06
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.

This looks like it should work! Thanks for following up!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove -shared from Windows release artifacts
2 participants