-
-
Notifications
You must be signed in to change notification settings - Fork 690
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
pip install watchdog not working on Catalina 10.15.7 (or 10.15.6) #689
Comments
This seems to be due to Xcode 12 automatically trying to build an ARM64 slice but some of the included system headers not supporting it (hence the Note that this is leading to build issues in YouCompleteMe (which uses watchdog as a dependency) as noted in this issue: ycm-core/YouCompleteMe#3770 |
@ddeville I would be happy to merge a PR, if you already know how to tackle the issue :) |
@BoboTiG Sorry, still going down the rabbit hole here :) While this issue happens to show up when building this extension, I think the underlying problem is likely in distutils (via setuptools) and might thus depend on the Python version being used, if it’s been fixed upstream. The build settings in |
alright, I’ve confirmed that I cannot reproduce the issue with the latest Python version (3.8.5). Version 3.8.2 was exhibiting the issue, which also happens to be the version that was used by @vlizanae. I haven’t tracked (yet) where/how this was fixed in cpython but the workaround when using Xcode 12 is to update to the latest Python version (3.8.5 is fine, haven’t checked versions between 3.8.2 and 3.8.5) |
Or more precisely, it might have been the 3.8.2 Python that ships with Xcode and is symlinked into |
I got the same issue and switched to brew install python3
/usr/local/bin/python3 -m venv venv
. venv/bin/activate
python -m pip install watchdog |
You can also set the
|
@benesch thanks! |
This should be mostly resolved now that |
`mkdocs>=1.2.2` [depends on](https://github.com/mkdocs/mkdocs/blob/cdf8a26cafa6af6cc78a45766dfec235bd7286cc/setup.py#L69) `watchdog>=2.0` and the restriction of watchdog dependency for functions-framework-python done in #101 seems to be due [an issue related to watchdog built distributions](gorakhargosh/watchdog#689 (comment)) (as explained by @di) which is [now fixed](gorakhargosh/watchdog#807). I propose to allow for `watchdog>=2.0.0` so that a project can use both `mkdocs>=1.2.2` (or `watchdog>=2.0.0`) and `functions-framework-python>=3.0.0`.
Basically the same as #620, #628 and #658, only those workarounds did not work for me. I tried in 10.15.6 and it didn't worked, but then I upgraded and it didn't worked either:
The text was updated successfully, but these errors were encountered: