build(feat): Support pyenv/Python installation on Big Sur#22257
build(feat): Support pyenv/Python installation on Big Sur#22257
Conversation
4cbe487 to
9baad70
Compare
|
I'll try this out tonight. |
Installing Python via pyenv on Big Sur for older Python versions requires: * Setting LDFLAGS for zlib (pyenv/pyenv#1711) * Patching the source code Once a new release of pyenv is released and we use a newer Python 3 version we will not need all these hacks and all Mac versions will be able to use the same code paths. Fixes #22497
9baad70 to
3b26758
Compare
|
@joshuarli Hi Josh, please let me know if you will be able to give it a try or if I should ask for another person that has Big Sur already installed. Thanks! |
|
Okay, removing my 3.6.10 and starting out with a slightly outdated pyenv (pyenv@943015ebb2ee2ec3b249e1177d8b8531d0ee3960) on Big Sur. However, it does include the proper zlib ldflags patch. Tried Edit: never mind, I forgot to checkout the branch, haha. I see python's configure stuff being patched and it works! |
joshuarli
left a comment
There was a problem hiding this comment.
Great work, thanks for taking care of this. You have my blessing.
I expect we can only totally remove all this once Sentry's on 3.8, I have no problems compiling 3.8.6 OOTB.
|
Thank you Josh for testing this out! |
Installing Python via pyenv on Big Sur for older Python versions requires:
Once a new release of pyenv is released and we use a newer Python 3 version
we will not need all these hacks and all Mac versions will be able to use
the same code paths.
Fixes #22497