Skip to content
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

Workaround for urllib3 breakage in Mac WPT runtime #50

Closed
cookiecrook opened this issue Jun 12, 2023 · 3 comments
Closed

Workaround for urllib3 breakage in Mac WPT runtime #50

cookiecrook opened this issue Jun 12, 2023 · 3 comments
Assignees
Labels

Comments

@cookiecrook
Copy link
Collaborator

cookiecrook commented Jun 12, 2023

Problem

This urllib change:

Caused this breakage in WPT:

Workaround

Until you update your system, dev tools, etc. to get the latest long-term fixes, this workaround may suffice.

Use homebrew to install a version of Python 3 that is not Python 3.11

brew install python@3.10

Then explicitly point to (or symlink) your python instance when running tests.

/opt/homebrew/opt/python@3.10/libexec/bin/python ./wpt run --log-mach-level debug --log-mach - --webdriver-arg="--diagnose" safari wai-aria

This Stack Overllow page has some helpful tips if you get stuck:
https://stackoverflow.com/questions/51125013/how-can-i-install-a-previous-version-of-python-3-in-macos-using-homebrew

@cookiecrook
Copy link
Collaborator Author

This worked for me. Thanks @gsnedders. I'll leave this issue open til the next meeting in case others are still affected.

@gsnedders
Copy link
Member

It should work on WPT tip-of-tree with Xcode Python 3 now, after the latest urllib3 update.

@boazsender
Copy link
Contributor

Discussed in todays meeting, thanks for the PSA!

@zcorpan zcorpan closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants