fix: raise the osx-64 PyPI platform tag to macOS 10.15 - #526
Closed
crowecawcaw wants to merge 1 commit into
Closed
Conversation
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.
What was the problem/requirement? (What/Why)
scripts/create_adaptor_packaging_artifact.shresolves the adaptor's dependencies forosx-64against the PyPI platform tagmacosx_10_9_x86_64. macOS 10.9 shipped in 2013. pip treats the tag as a ceiling — it accepts any wheel built for an equal or older deployment target — so the effect is not "supports old macOS", it is "silently pins every dependency to whatever version last published a 10.9 build."Resolving the adaptor for Python 3.11 under each tag, same package set, different versions:
macosx_10_9_x86_64macosx_10_15_x86_64rpds-py is the notable one: the old tag holds it years behind because upstream stopped publishing a 10.9 wheel. Packages that publish no 10.9 wheel at all are excluded outright rather than downgraded —
awscrtis one, its macOS wheels start atmacosx_10_15_universal2, which is a blocker for anything that needs it (see #525).What was the solution? (How)
Raise the tag to
macosx_10_15_x86_64. Because pip accepts wheels built for equal-or-older targets, 10.15 is a strict superset of 10.9 — no wheel that resolved before stops resolving.The other
deadline-cloud-for-*repos carry the samemacosx_10_9_x86_64line in their copy of this script. This change is scoped to Cinema 4D.What is the impact of this change?
The
osx-64adaptor conda artifact picks up current builds of its native dependencies instead of ones frozen by a 2013 deployment target, and packages with a 10.15 wheel floor become resolvable. macOS is not a supported fleet platform for this integration today (README: Windows and Linux fleets), so nothing in the shipped render path changes. No adaptor interface, schema, submitter, or job-bundle change.How was this change tested?
The script is not invoked by any workflow in this repo, so it was run by hand.
bash scripts/create_adaptor_packaging_artifact.sh --platform osx-64 --python 3.11completes successfully and produces the tar artifact, installingpyyaml 6.0.3,rpds-py 2026.6.3, andjsonschema 4.26.0where the old tag installs6.0.2,0.13.2, and4.25.1. The version table above comes frompip install --dry-run --reportunder each tag, with--only-binary=:all: --python-version 3.11, confirming the package set is identical and only the selected builds differ.Was this change documented?
No documentation change needed. The tag is an internal packaging detail and no public interface or schema changed.
Is this a breaking change?
No. It relaxes wheel selection rather than restricting it, and does not touch the adaptor interface, the init-data or run-data schemas, or job-bundle compatibility.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.