Mozbuild requires packaging module but is not listed as dependency
Categories
(Firefox Build System :: Bootstrap Configuration, defect, P3)
Tracking
(firefox-esr102 unaffected, firefox-esr115 wontfix, firefox-esr128 wontfix, firefox-esr140 wontfix, firefox113 wontfix, firefox114 wontfix, firefox115 wontfix, firefox142 wontfix, firefox143 wontfix, firefox144 fixed)
People
(Reporter: hneiva, Assigned: ahochheiden)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
Mozbuild started using "packaging" module [1]
But the dependency was not listed in setup.cfg [2]
[1] https://phabricator.services.mozilla.com/D161756
[2] https://searchfox.org/mozilla-central/source/python/mozbuild/setup.py#17
While not a problem in gecko, as it installs the module from other dependencies, it's a problem for other repos (ie scriptworker-scripts) when we vendor it.
Comment 1•3 years ago
|
||
:ahochheiden, since you are the author of the regressor, bug 1798827, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Looks like https://github.com/r1chardj0n3s/pip-check-reqs could be used to avoid such regression in the future.
Comment 4•3 years ago
|
||
Set release status flags based on info from the regressing bug 1798827
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
After speaking with :glandium, we decided to go in a different direction on this, and remove the setup.py altogether for all of mach, mozbuild, and mozboot directories. It may have made sense at some point to allow them to be standalone packages, but we feel that is no longer the case. Updating them would signal we still care about supporting that, so we'll do the opposite and remove them to indicate we no longer feel they should be depended on in this way.
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 7•2 years ago
|
||
This still needs to be done. I'll get around to it eventually.
| Assignee | ||
Comment 8•1 year ago
|
||
These may have made sense as standalone packages, but that's no longer the case.
Dependencies are specified via the various python/sites/* files and site used
depends on which command is being run.
Comment 10•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
Description
•