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

macOS: wpt: Fix running eventsource wpt tests with Python2 #25611

Closed

Conversation

@marmeladema
Copy link
Contributor

marmeladema commented Jan 26, 2020

In a previous PR, eventsource wpt tests were configured to be ran both with python2 and python3, unfortunately python2 binary does not exist on macOS.
This PR tries to address that issue by running python2.7 binary instead.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because ___
@marmeladema
Copy link
Contributor Author

marmeladema commented Jan 26, 2020

@bors-servo try=wpt-mac

@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2020

Trying commit 33bd3cc with merge 07d8fe7...

bors-servo added a commit that referenced this pull request Jan 26, 2020
macOS: wpt: Fix running eventsource wpt tests with Python2

In a previous PR, eventsource wpt tests were configured to be ran both with python2 and python3, unfortunately `python2` binary does not exist on macOS.
This PR tries to address that issue by running `python2.7` binary instead.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@jdm
Copy link
Member

jdm commented Jan 26, 2020

I checked on the workers, and there is:

  • /usr/bin/python (2.7.10), /usr/local/bin/python3 (3.7.5)
  • /Users/worker/homebrew/bin/python (2.7.15), /Users/worker/homebrew/bin/python2 (2.7.15), /Users/worker/homebrew/bin/python3 (3.7.4)
@jdm
Copy link
Member

jdm commented Jan 26, 2020

Unfortunately brew --prefix python2 returns a directory that doesn't exist for reasons that are unclear, so I think we'll either need to hardcode the path (homebrew/bin/python2) or refer to python instead.

@jdm jdm assigned jdm and unassigned nox Jan 26, 2020
@bors-servo
Copy link
Contributor

bors-servo commented Jan 26, 2020

💥 Test timed out

@marmeladema
Copy link
Contributor Author

marmeladema commented Jan 26, 2020

@bors-servo try=wpt-mac

@marmeladema
Copy link
Contributor Author

marmeladema commented Jan 26, 2020

@jdm thats unfortunate. I think using just python might the easiest for now.

@bors-servo
Copy link
Contributor

bors-servo commented Apr 19, 2020

The latest upstream changes (presumably #25853) made this pull request unmergeable. Please resolve the merge conflicts.

@jdm
Copy link
Member

jdm commented Apr 20, 2020

Closing in favour of #26229.

@jdm jdm closed this Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.