| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Review requested:
|
Sorry, something went wrong.
Original commit message:
[py3.12] Optimize some py files
1. Remove the imp module and use its equivalent instead
2. Delete unused module imports
Bug: chromium:1487454
Change-Id: I06fd342ba8e17f96ee2e55926cca0efded845b2a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4983809
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Ho Cheung <uioptt24@gmail.com>
Cr-Commit-Position: refs/heads/main@{#90641}
Refs: v8/v8@a0d0d4f
|
With the cherry-pick we run into this: 15:53:51 export PATH="/home/iojs/build/workspace/node-test-commit-v8-linux/depot_tools:/home/iojs/venv/bin:/home/iojs/nghttp2/src:/home/iojs/wrk:/usr/lib/ccache:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" && \ 15:53:51 /usr/bin/python3.10 deps/v8/tools/run-tests.py --gn --arch=x64 --progress=dots --timeout=120 intl \ 15:53:51 mjsunit cctest debugger inspector message preparser \ 15:53:51 --json-test-results /home/iojs/build/workspace/node-test-commit-v8-linux/v8-tap.json --slow-tests-cutoff 1000000 15:53:51 Traceback (most recent call last): 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/base_runner.py", line 173, in execute 15:53:51 tests = self._load_testsuite_generators(ctx, names) 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/base_runner.py", line 534, in _load_testsuite_generators 15:53:51 tests = suite.load_tests_from_disk(variables) 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 293, in load_tests_from_disk 15:53:51 test_count = self.__calculate_test_count() 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 286, in __calculate_test_count 15:53:51 self.__initialize_test_count_estimation() 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 283, in __initialize_test_count_estimation 15:53:51 next(iter(self.ListTests()), None) 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 127, in list_tests 15:53:51 case = self._create_test(testname, self.suite) 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 117, in _create_test 15:53:51 return self.test_class(suite, path, self._path_to_name(path), **kwargs) 15:53:51 File "/home/iojs/build/workspace/node-test-commit-v8-linux/deps/v8/tools/testrunner/local/testsuite.py", line 110, in _path_to_name 15:53:51 if utils.IsWindows(): 15:53:51 NameError: name 'utils' is not defined Upstream, that reference was removed by v8/v8@e3b750c, but git node v8 backport fails to cherry-pick that cleanly and it seems much simpler to not remove from . import utils from the original commit. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
@marco-ippolito when this lands on v20.x-staging this will need the embedder string in common.gypi to be adjusted as #59662 has bumped it up in the meantime. |
Sorry, something went wrong.
|
Landed in a898c9c00d9 |
Sorry, something went wrong.
Original commit message:
[py3.12] Optimize some py files
1. Remove the imp module and use its equivalent instead
2. Delete unused module imports
Bug: chromium:1487454
Change-Id: I06fd342ba8e17f96ee2e55926cca0efded845b2a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4983809
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Ho Cheung <uioptt24@gmail.com>
Cr-Commit-Position: refs/heads/main@{#90641}
Refs: v8/v8@a0d0d4f
PR-URL: #60716
Reviewed-By: Michaël Zasso <targos@protonmail.com>
| Back | FazBrowse Home | New Git URL |
Original commit message:
[py3.12] Optimize some py files 1. Remove the imp module and use its equivalent instead 2. Delete unused module imports Bug: chromium:1487454 Change-Id: I06fd342ba8e17f96ee2e55926cca0efded845b2a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4983809 Reviewed-by: Michael Achenbach <machenbach@chromium.org> Commit-Queue: Ho Cheung <uioptt24@gmail.com> Cr-Commit-Position: refs/heads/main@{#90641}Refs: v8/v8@a0d0d4f
cc @nodejs/releasers This fixes Python 3.12 compatibility for the V8 CI with Node.js v20.x(-staging). The change is already present in v22.x-staging. It only touches the V8 test runner so has no effect on Node.js itself.
e.g. failure without this cherry-pick:
https://ci.nodejs.org/job/node-test-commit-v8-linux/6855/nodes=rhel8-s390x,v8test=v8test/console