wide-midnight-78598
10/15/2022, 5:03 AM./pants_from_sources dependencies helloworld/translator/translator_test.py
in example-python
00:57:24.50 [WARN] Pants cannot infer owners for the following imports in the target helloworld/translator/translator_test.py:tests:
* pytest (line: 4)
If you do not expect an import to be inferrable, add `# pants: no-infer-dep` to the import line. Otherwise, see <https://www.pantsbuild.org/v2.15/docs/troubleshooting#import-errors-and-missing-dependencies> for common problems.
This goes away if I add pytest
to my requirements.txt (//:reqs#pytest
) - but is that the correct resolution to this? Pytest is provided by pants, so shouldn't this dep be owned or found somewhere?hundreds-father-404
10/15/2022, 12:35 PMwide-midnight-78598
10/15/2022, 12:52 PMpyright
plugin changes