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

Run v8 python script in a separate subshell #228

Merged
merged 1 commit into from
Nov 11, 2021

Conversation

dylanahsmith
Copy link
Collaborator

Problem

build/deps.py was trying to import a script from v8, in a way that isn't python3 compatible, since there aren't init.py files in the directories on the path to the script

Solution

Use a separate command to execute the script, which is the way this is done in v8 as well (https://github.com/v8/v8/blob/ee74e718339223345b42935e9f4cbc7be208e557/DEPS#L552-L558).

This is how it is run in v8, so we shouldn't depend on it being importable
@codecov
Copy link

codecov bot commented Nov 11, 2021

Codecov Report

Merging #228 (a13e254) into master (d8d94c2) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #228   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          17       17           
  Lines         580      580           
=======================================
  Hits          556      556           
  Misses         15       15           
  Partials        9        9           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8d94c2...a13e254. Read the comment docs.

@dylanahsmith dylanahsmith merged commit 806a853 into rogchap:master Nov 11, 2021
@dylanahsmith dylanahsmith deleted the avoid-v8-python-import branch December 21, 2021 14:37
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants