quaint-telephone-89068
02/24/2023, 9:57 PMIt doesn't work, you get:
pants.base.exceptions.RuleTypeError: /Users/benjyw/src/pants/pants-plugins/internal_plugins/test_lockfile_fixtures/rules.py:85: Could not resolve type for `pytest.to_pex_request` in module internal_plugins.test_lockfile_fixtures.rules.
Return type annotation required for `to_pex_request` in /Users/benjyw/src/pants/src/python/pants/backend/python/subsystems/python_tool_base.py:276
Even though to_pex_request does have a return type annotation.
_Originally posted by @happy-kitchen-89482 in #18350 (comment)_
pantsbuild/pantsuser
03/01/2023, 2:59 AM