-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Pywb fails to install on 3.11 & 3.12 (at least on M1 Macs) #835
Comments
Thanks for reporting the issue. pywb currently has gevent pinned to 21.12.0, which doesn't have wheels for 3.11. From the gevent changelog it looks like newer releses of gevent have added preliminary support for Python 3.11 but may not have wheels for all platforms yet. For now I'd recommend using Python 3.7-3.10, and we will keep this issue open to track support for 3.11. |
I spent a bit of time trying to let The good news is But then I ran the tests... The bad news is that the tests install an old version of I think we could pin back
a) find another solution to It seems like b might be easier than a. But I'd be curious what others think. |
It looks like there are quite a few other forks of httpbin out there with the Response fix applied. We could try using this one for our tests: https://github.com/aaronhmiller/httpbin And then try to wean ourselves off of using it? |
Thanks for looking into this! Could you try that fork and see if it works in the short term, and then could move forward with that? |
Using aaronhmiller/httpbin almost seems to work. Maybe some functionality isn't there any more, or the dependency updates introduced a problem in live rewriting? There are only 4 failures:
|
Debian has switched to Python v3.11 as they system Python, which now prevents pip installing. Unfortunately pywb doesn't currently build under Python v3.11, see: webrecorder/pywb#835 Until we have v3.11 support we need to build pywb under Python v3.9, and the easiest way to do that is to use the Python 3.9 Docker image. Resolves #198
Debian has switched to Python v3.11 as they system Python, which now prevents pip installing. Unfortunately pywb doesn't currently build under Python v3.11, see: webrecorder/pywb#835 Until we have v3.11 support we need to build pywb under Python v3.8, and the easiest way to do that is to use the Python 3.8 Docker image. We are currently using v3.8 in production at swap.stanford.edu. Resolves #198
This is the output I got when I did
pyenv shell 3.11.2
andpip install pywb
:The text was updated successfully, but these errors were encountered: