mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +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
3 lines
60 B
Plaintext
3 lines
60 B
Plaintext
vendored:third_party/python/glean_parser
|
|
pypi:pytest==7.0.1
|