mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
47b796cd82
The `test_vendor.py` test needs access to `poetry` to make its assertions. This requirement was previously satisfied by adding `poetry` to the `python-test` site. Unfortunately, this caused conflicts when running the `mozlint` tests, as they use the ini "requirements" feature to install their dependencies. Importantly, the `mozlint` dependencies aren't compatible with the version of `poetry` we need. Fortunately, this was a good reminder: since `poetry` is a test-specific dependency, leverage the existing ini "requirements" feature as it represents exactly that: the extra package dependencies of a specific test. Note that I had to doctor the `dataclass` line in `vendor_requirements.txt` to include an environment marker, otherwise it would fail to install with Python >= 3.7. Differential Revision: https://phabricator.services.mozilla.com/D143376 |
||
---|---|---|
.. | ||
build.txt | ||
common.txt | ||
docs.txt | ||
ipython.txt | ||
lint.txt | ||
mach.txt | ||
perftest-test.txt | ||
python-test.txt | ||
upload-generated-sources.txt | ||
vendor.txt | ||
watch.txt | ||
webcompat.txt | ||
wpt.txt |