Closed tuan-ff closed 2 years ago
This patch actually is implemented within our code base so I'm closing the issue.
I'm on head of master and still failing with this issue, what is the fix for this?
If you're on python 3.7.8+, 3.8.4+, or 3.9.0+, then the patch ASDF_PYTHON_PATCH_URL="https://github.com/python/cpython/commit/8ea6353.patch?full_index=1"
causes the Python install to fail. You can check to see if anything is setting ASDF_PYTHON_PATCH_URL
in your env and remove it or set it to empty string.
I had ASDF_PYTHON_PATCH_URL in bashrc, that was it, thanks.
I'm on macOS 11.3.1. Installing Python 3.9 and 3.10 with ASDF results in error like the following
This error is caused by the patch originally intended to fix issues installing Python 3.8 and earlier in macOS, but the issue seems to have been resolved in Python >=3.9 and so the targeted files for the patch no longer exist. See https://github.com/python/cpython/tree/3.8/Misc/NEWS.d/next/macOS and compare with 3.9 tag.
I believe the fix is simply to delete the patch.
Currently I'm able to get around this by
ASDF_PYTHON_PATCH_URL="" asdf install python 3.10.1
.