happy-family-315
02/08/2023, 9:15 AM[WARN] Pants cannot infer owners for the following imports in the target test_...py:tests:
* pytest (line: 1)
If I add pytest to requirements.txt and my default lockfile this does not happen. But now I have 2 pytest versions to maintain. One in the default lockfile and one in the pytest lockfile. Is this the only way to resolve the warning. I think pants should infer dependencies based on the pytest lockfile too when running ./pants test ...
refined-addition-53644
02/08/2023, 9:16 AMhappy-kitchen-89482
02/08/2023, 4:01 PMpytest
has two roles here, it's a library you import in your code (well, tests) like any other, and it's also a tool that Pants invokes.happy-kitchen-89482
02/08/2023, 4:02 PMhappy-kitchen-89482
02/08/2023, 4:02 PM