Missing Taskcluster third_party dependencies make 'mach vendor python' hard to use
Categories
(Firefox Build System :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mars, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fixed by bug 1601140])
The taskcluster dependency on aiohttp
and it's sub-dependencies are missing from the third_party/python
directory. The missing deps show up in the "to be upgraded" list whenever someone attempts to use mach vendor python
to upgrade an individual package. It makes use of mach vendor python
confusing and tedious to repair.
Steps to reproduce:
mach vendor python taskcluster==6.0.0
hg st third_party
to see the list of missing packages thevendor
command has added.
Expected output:
No changes to the third_party/python/
directory.
Actual output:
aiohttp
, yarl
and friends have appeared in the third_party/python/
directory.
To see how we know taskcluster is causing the problem, run:
cd obj-*/_virtualenvs/init_py3/bin
./pip-compile ../../../../third_party/python/requirements.in --output-file=-
Comment 1•5 years ago
|
||
It sounds like the fix would be to install those dependencies?
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Yes, we either need to vendor the dependencies, or stop vendoring the taskcluster
client and install it at runtime as needed (only appears used by mozrelease
).
Comment 3•5 years ago
|
||
FWIW this issue has gotten worse and doing no-op "mach vendor python" runs now installs even more packages.
I wonder if a feasible solution is to "declare bankruptcy" by just vendoring all these packages once and for all in a giant patch.
Reporter | ||
Comment 4•5 years ago
•
|
||
I'm +1 for vendoring the missing libraries in a single patch. I'm up for reviewing the patch for whoever does this.
Comment 5•5 years ago
|
||
Bug 1601140 fixed this, but I don't know how to properly resolve this bug. Dupe, worksforme, depend, morph into "vendor this again once it's py3" and unblock mach-busted ... ? Any preferences?
Updated•2 years ago
|
Comment 6•2 months ago
|
||
Marking as fixed by bug 1601140, based on comment 5.
Description
•