Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Issue 1306953007: Add module dir to sys.path in FindPythonDependencies (Closed)

Created:
5 years, 3 months ago by alexanderk
Modified:
5 years, 3 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add module dir to sys.path in FindPythonDependencies while loading modules using imp.load_source() find_dependencies script was broken after modifications done in tools/perf/run_benchmark CL https://codereview.chromium.org/1280903003 BUG=527836 Committed: https://crrev.com/0c3d43f5dcef4c7334c044d3ab363eb8bf883ee2 Cr-Commit-Position: refs/heads/master@{#348653}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Save/restore sys.path #

Patch Set 3 : Update to current master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -31 lines) Patch
M tools/telemetry/telemetry/internal/util/find_dependencies.py View 1 1 chunk +38 lines, -31 lines 0 comments Download

Messages

Total messages: 28 (6 generated)
alexanderk
5 years, 3 months ago (2015-09-04 15:17:39 UTC) #2
nednguyen
https://codereview.chromium.org/1306953007/diff/1/tools/telemetry/telemetry/internal/util/find_dependencies.py File tools/telemetry/telemetry/internal/util/find_dependencies.py (right): https://codereview.chromium.org/1306953007/diff/1/tools/telemetry/telemetry/internal/util/find_dependencies.py#newcode40 tools/telemetry/telemetry/internal/util/find_dependencies.py:40: sys.path.insert(0, os.path.abspath(os.path.dirname(module_path))) Can you unload the sys.path at the ...
5 years, 3 months ago (2015-09-04 15:30:54 UTC) #3
alexanderk
On 2015/09/04 15:30:54, nednguyen wrote: > https://codereview.chromium.org/1306953007/diff/1/tools/telemetry/telemetry/internal/util/find_dependencies.py > File tools/telemetry/telemetry/internal/util/find_dependencies.py (right): > > https://codereview.chromium.org/1306953007/diff/1/tools/telemetry/telemetry/internal/util/find_dependencies.py#newcode40 > ...
5 years, 3 months ago (2015-09-04 16:07:21 UTC) #4
nednguyen
+Dave: do we need impl.loadsource line?
5 years, 3 months ago (2015-09-04 17:12:22 UTC) #6
dtu
On 2015/09/04 17:12:22, nednguyen wrote: > +Dave: do we need impl.loadsource line? Hm, not sure ...
5 years, 3 months ago (2015-09-04 17:27:48 UTC) #7
eakuefner
On 2015/09/04 at 17:27:48, dtu wrote: > On 2015/09/04 17:12:22, nednguyen wrote: > > +Dave: ...
5 years, 3 months ago (2015-09-04 17:55:06 UTC) #8
aiolos (Not reviewing)
On 2015/09/04 17:55:06, eakuefner wrote: > On 2015/09/04 at 17:27:48, dtu wrote: > > On ...
5 years, 3 months ago (2015-09-08 09:06:06 UTC) #9
nednguyen
lgtm
5 years, 3 months ago (2015-09-08 14:57:54 UTC) #10
nednguyen
On 2015/09/08 14:57:54, nednguyen wrote: > lgtm Actually, can you also add a test in ...
5 years, 3 months ago (2015-09-08 14:58:35 UTC) #11
alexanderk
> > > Hm, not sure how modulegraph differs from modulefinder here, but - I ...
5 years, 3 months ago (2015-09-11 14:02:08 UTC) #12
aiolos (Not reviewing)
On 2015/09/11 14:02:08, alexanderk wrote: > > > > Hm, not sure how modulegraph differs ...
5 years, 3 months ago (2015-09-11 14:03:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306953007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306953007/40001
5 years, 3 months ago (2015-09-14 16:17:37 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306953007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306953007/40001
5 years, 3 months ago (2015-09-14 16:24:39 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-14 17:56:44 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/0c3d43f5dcef4c7334c044d3ab363eb8bf883ee2 Cr-Commit-Position: refs/heads/master@{#348653}
5 years, 3 months ago (2015-09-14 17:57:55 UTC) #21
alexanderk
On 2015/09/08 14:58:35, nednguyen wrote: > On 2015/09/08 14:57:54, nednguyen wrote: > > lgtm > ...
5 years, 3 months ago (2015-09-15 08:17:59 UTC) #22
nednguyen
On 2015/09/15 08:17:59, alexanderk wrote: > On 2015/09/08 14:58:35, nednguyen wrote: > > On 2015/09/08 ...
5 years, 3 months ago (2015-09-15 14:59:11 UTC) #23
nednguyen
On 2015/09/15 14:59:11, nednguyen wrote: > On 2015/09/15 08:17:59, alexanderk wrote: > > On 2015/09/08 ...
5 years, 3 months ago (2015-09-15 15:01:10 UTC) #24
alexanderk
On 2015/09/15 14:59:11, nednguyen wrote: > On 2015/09/15 08:17:59, alexanderk wrote: > > On 2015/09/08 ...
5 years, 3 months ago (2015-09-15 16:29:32 UTC) #25
alexanderk
On 2015/09/15 15:01:10, nednguyen wrote: > On 2015/09/15 14:59:11, nednguyen wrote: > > On 2015/09/15 ...
5 years, 3 months ago (2015-09-15 16:30:51 UTC) #26
eakuefner
On 2015/09/15 at 16:30:51, alexanderk wrote: > On 2015/09/15 15:01:10, nednguyen wrote: > > On ...
5 years, 3 months ago (2015-09-15 17:11:51 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:34:07 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0c3d43f5dcef4c7334c044d3ab363eb8bf883ee2
Cr-Commit-Position: refs/heads/master@{#348653}

Powered by Google App Engine
This is Rietveld 408576698