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

Issue 2341173004: Allow gen_file_type_proto.py to work in virtualenv. (Closed)

Created:
4 years, 3 months ago by sanfin
Modified:
4 years, 1 month ago
CC:
arv+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow gen_file_type_proto.py to work in virtualenv. There were complaints in crbug.com/605592 that virtualenv builds are broken with the strategy of passing -w to gen_file_type_proto.py. Systems can use virtualenv to isolate the Python environment from dist-packages, making the nested call to this script redundant (and broken, since -S breaks some assumptions from virtualenv). BUG=605592 BUG=614082 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/a0c75183f6dab0b8ab2953b34595d6fd5651b9bc Cr-Commit-Position: refs/heads/master@{#428777}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M chrome/browser/resources/safe_browsing/gen_file_type_proto.py View 1 2 chunks +15 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
Simeon
Hi all, The Chromecast buildbots use a Python virtualenv to build our targets, which breaks ...
4 years, 3 months ago (2016-09-17 02:28:34 UTC) #3
xyzzyz
lgtm, but please be sure to run it on all trybots, as this kind of ...
4 years, 3 months ago (2016-09-19 14:02:14 UTC) #4
mbjorge
https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode22 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:22: return hasattr(sys, 'real_prefix') On 2016/09/19 at 14:02:14, xyzzyz wrote: ...
4 years, 3 months ago (2016-09-19 15:25:37 UTC) #5
Nathan Parker
https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode21 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:21: def IsInVirtualEnv(): Add some comments describing why this is ...
4 years, 3 months ago (2016-09-19 16:46:23 UTC) #6
Simeon
https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py File chrome/browser/resources/safe_browsing/gen_file_type_proto.py (right): https://codereview.chromium.org/2341173004/diff/1/chrome/browser/resources/safe_browsing/gen_file_type_proto.py#newcode21 chrome/browser/resources/safe_browsing/gen_file_type_proto.py:21: def IsInVirtualEnv(): On 2016/09/19 16:46:23, Nathan Parker wrote: > ...
4 years, 2 months ago (2016-09-22 22:17:50 UTC) #11
Nathan Parker
lgtm
4 years, 2 months ago (2016-10-21 04:02:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341173004/20001
4 years, 1 month ago (2016-10-24 22:46:59 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/247722)
4 years, 1 month ago (2016-10-24 22:56:21 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341173004/20001
4 years, 1 month ago (2016-10-24 23:01:27 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/179662)
4 years, 1 month ago (2016-10-24 23:15:39 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341173004/20001
4 years, 1 month ago (2016-10-31 18:40:46 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-31 20:03:57 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 20:05:45 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a0c75183f6dab0b8ab2953b34595d6fd5651b9bc
Cr-Commit-Position: refs/heads/master@{#428777}

Powered by Google App Engine
This is Rietveld 408576698