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

CI: Fix MacOS 11/12 issue building with Python 3.7/3.8 #23

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

pniedzielski
Copy link
Collaborator

There is a known issue with pip on Python 3.7 and 3.8 where wheels can’t be installed on MacOS 11.0 or higher, even if they were successfully built with on the same machine. This is causing our integration tests to fail in CI for these platforms. Apparently, the fix is to set the environment variable SYSTEM_VERSION_COMPAT to 0, as in this patch. The current patch enables this same environment variable.

There is a known issue with pip on Python 3.7 and 3.8 where [wheels can’t be
installed on MacOS 11.0 or higher][pip-wheels], even if they were successfully
built with on the same machine.  This is causing our integration tests to fail
in CI for these platforms.  Apparently, the fix is to set the environment
variable `SYSTEM_VERSION_COMPAT` to `0`, as in [this patch][fix].  The current
patch enables this same environment variable.

[pip-wheels]: pypa/cibuildwheel#1410
[fix]: gpongelli/pycode128@066cb37

Signed-off-by: Patrick M. Niedzielski <patrick@pniedzielski.net>
@pniedzielski pniedzielski requested a review from hallfox January 26, 2024 20:12
@pniedzielski pniedzielski requested a review from a team as a code owner January 26, 2024 20:12
@pniedzielski pniedzielski merged commit 1b2baac into bloomberg:main Jan 30, 2024
10 checks passed
@pniedzielski pniedzielski deleted the gh-actions-pip-macos-12 branch February 7, 2024 22:35
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.

2 participants