-
Notifications
You must be signed in to change notification settings - Fork 97
Fix macOS Python 3.10 #311
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
Conversation
This is often needed when filling out issues in conda-forge. So just provide this in the CI logs so it is easy to find and share
If `clang` version `12.0.0` is picked up, we encounter issues with TAPI on macOS. For some reason this happens with Python 3.10 and not other Pythons. In any event requiring `12.0.1`+ ensures TAPI support is working correctly, so just apply that constraint when installing `compilers` to avoid issues.
cc @joshmoore @rabernat (for vis) |
Odd, but 👍 |
Yeah I filed issue ( conda-forge/clangdev-feedstock#166 ) about this |
This behaves as exactly equals, which means we don't get patch version updates (like 3.10.2) instead we get (3.10.0). So this relaxes that to allow patch version fixes.
conda create -n env python==${{matrix.python-version}} wheel pip compilers 'clang>=12.0.1' | ||
conda create -n env python=${{matrix.python-version}} wheel pip compilers 'clang>=12.0.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having ==
s effectively means 3.10.0
instead of 3.10.0
+. As we likely don't want to pin the patch version to 0
, relaxing that here. May be part of the issue we were seeing as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow. TIL. 👍
Was unable to reproduce the issue locally. Have In any event this should unblock CI here. Will see if anything turns up in the upstream issue. |
CI looks green ✅ |
Merging to fix CI. Hope that is ok. |
For some reason we pick up
clang
version12.0.0
only in the Python 3.10 job, which has problems with TAPI (hence the CI issues we have been seeing). These issues are not present withclang
version12.0.1
+ (hence why the other Python jobs work). So here we requireclang
version12.0.1
+ when installing compilers to fix CI.Edit: Also included a bit more debug info in CI to aid with issue templates that Conda & conda-forge use
TODO:
tox -e py39
passes locallytox -e docs
passes locally