Closed
Bug 1253502
Opened 9 years ago
Closed 9 years ago
Move python virtualenv initialization to moz.configure
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox48 fixed)
RESOLVED
FIXED
mozilla48
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(2 files)
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/38117/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/38117/
Attachment #8726625 -
Flags: review?(gps)
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/38119/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/38119/
Attachment #8726626 -
Flags: review?(gps)
Comment 3•9 years ago
|
||
Comment on attachment 8726625 [details]
MozReview Request: Bug 1253502 - Allow to pass a specific python interpreter to initialize virtualenvs
https://reviewboard.mozilla.org/r/38117/#review35181
Yay!
Attachment #8726625 -
Flags: review?(gps) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8726626 [details]
MozReview Request: Bug 1253502 - Move python virtualenv initialization to moz.configure
https://reviewboard.mozilla.org/r/38119/#review35187
I still don't like that we create the virtualenv as part of configure. But we can tackle that another day.
::: build/moz.configure/init.configure:146
(Diff revision 1)
> + manager.build(python)
Since we're now doing this from the virtualenv, I'm pretty sure you can delete the __main__ code from python/mozbuild/mozbuild/virtualenv.py.
Feel free to do that before landing if it is indeed unused.
Attachment #8726626 -
Flags: review?(gps) → review+
Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #4)
> Comment on attachment 8726626 [details]
> MozReview Request: Bug 1253502 - Move python virtualenv initialization to
> moz.configure
>
> https://reviewboard.mozilla.org/r/38119/#review35187
>
> I still don't like that we create the virtualenv as part of configure. But
> we can tackle that another day.
Until we make it impossible to use configure && make (which I'd rather avoid), configure will need to setup the virtualenv if it's not already running in one.
Comment 7•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2439b4a42435
https://hg.mozilla.org/mozilla-central/rev/33859b1a30fa
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•