Use "psutil" in Marionette by default on Windows
Categories
(Testing :: Marionette Client and Harness, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug)
Details
Once bug 1884401 is fixed we could check how to enable psutil
for Windows platforms as well. Right now the jobs are failing because as it looks like not all required modules are vendored in our internal PyPI mirror:
https://treeherder.mozilla.org/logviewer?job_id=451863138&repo=try&lineNumber=1152
[task 2024-03-22T11:54:11.500Z] 11:54:11 INFO - Collecting psutil==5.9.3
[task 2024-03-22T11:54:11.876Z] 11:54:11 INFO - Using cached https://pypi.pub.build.mozilla.org/pub/psutil-5.9.3.tar.gz (483 kB)
[task 2024-03-22T11:54:12.051Z] 11:54:12 INFO - ERROR: Disabling PEP 517 processing is invalid: project specifies a build backend of setuptools.build_meta in pyproject.toml
[task 2024-03-22T11:54:12.454Z] 11:54:12 INFO - Return code: 1
[task 2024-03-22T11:54:12.470Z] 11:54:12 FATAL - Could not install python package: failed all attempts.
[task 2024-03-22T11:54:12.470Z] 11:54:12 FATAL - Running post_fatal callback...
Once we can install psutil
correctly I assume that more things are required to be fixed.
Reporter | ||
Comment 1•1 year ago
|
||
Alex could you help us with the correct mirroring of psutil for our internal PyPI mirror?
Comment 2•1 year ago
•
|
||
As discussed, there aren't distribution available for cp11 for psutil
version 5.9.3
. Fortunately, newer versions are abi3
which should work with all versions of Python we care about. I've raised bug 1889453 to get psutil
version 5.9.8
added to the internal mirror.
Reporter | ||
Comment 3•1 year ago
•
|
||
Thanks Alex! I've pushed a new try build with the restrictions for MacOS only removed to see how it will work for both Linux and Windows:
https://treeherder.mozilla.org/jobs?repo=try&revision=5458f42aa7f758363f910771b840265ed23381fd
Reporter | ||
Comment 4•1 year ago
|
||
The installation of psutil works fine now across all supported platforms. Thanks!
Reporter | ||
Updated•1 year ago
|
Description
•