Closed
Bug 894950
Opened 11 years ago
Closed 11 years ago
Decide best way to handle psutil
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jhopkins, Unassigned)
References
Details
psutil is a compiled Python package which wants to be built against the same version of compiler that the python binary was built with.
In our new win64 setup (in testing), we've currently got VS10 installed, no VS9 installed, and the Python binary was built against VS9. This configuration fails to build psutil since it's looking for VS9's vcvarsall.bat and doesn't find it.
Some options:
1) rebuild python 2.7 using VS10.
2) install VS9.
3) hack around the VS9 dependency and build psutil with VS10. The compile itself passes but I'm not sure whether this will cause other problems.
4) other?
Comment 1•11 years ago
|
||
imo option 2 is a lot more work for little gain and should be off the table
Comment 2•11 years ago
|
||
(In reply to John Hopkins (:jhopkins) from comment #0)
> 3) hack around the VS9 dependency and build psutil with VS10. The compile
> itself passes but I'm not sure whether this will cause other problems.
I'm not sure this is safe, psutil has binary components that will be loaded in the Python process, and I don't know how the memory management works.
Comment 3•11 years ago
|
||
If the easiest route is for Release Engineering to deploy pre-built binary packages to the machine (via Puppet or similar), then I think downstream consumers can work around this by first checking for whether psutil is available on the system before attempting to install it in the virtualenv.
That being said, that feels like a one-off and there is the potential for other binary Python packages in the future. It would be nice to devise a solution that scales.
Reporter | ||
Comment 4•11 years ago
|
||
Thanks for all your input - deploying a pre-built binary package sound like the best route. I built psutil on a w64-ix-slaveXX machine and asked for it to be deployed here https://bugzilla.mozilla.org/show_bug.cgi?id=781277#c36
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Assignee | ||
Updated•7 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•