зеркало из https://github.com/mozilla/gecko-dev.git
80339c628f
- On Debian/Ubuntu, the base distribution of Python does not come with `ensurepip` (which is still called during `venv` creation). The benefit of not calling `ensurepip` explicitly in a separate command (like we now do for Windows) is that the error message you get when creating the `venv` is very clear and instructs the user to run `apt install python3.x-venv` to fix the problem. (`python3.x-venv` is what contains `ensurepip`). If we did not do this, it would just tell the user that there is `no ensurepip module` and it would hard to figure out that the solution is to run `apt install python3.x-venv`. This isn't an issue for us in CI, but it can be for end users, since that package may not be installed, and some commands (like talos tests) go through mozharness and invoke this code. - Also removed some Python dependencies in the Linux build docs that are no longer needed. Differential Revision: https://phabricator.services.mozilla.com/D174525 |
||
---|---|---|
.. | ||
_addons | ||
_search_template | ||
_static | ||
_templates | ||
bug-mgmt | ||
code-quality | ||
contributing | ||
crash-reporting | ||
gtest | ||
metrics | ||
mots | ||
nspr | ||
performance | ||
setup | ||
testing-rust-code | ||
update-infrastructure | ||
writing-rust-code | ||
conf.py | ||
config.yml | ||
index.rst | ||
jsdoc.json |