Comment on #20992 How to enable different version of Pytest with Poetry and resolves
Discussion answered by benjyw
So you're not currently using a Pants lockfile, it sounds like?
There is no way to generate Pants requirements from just the dev requirements. But it's not a bad idea to enable that, if you want to add it. See here for the current implementation which always grabs both sections. We could add arguments to the macro to control which groups it looks at. Should be pretty straightforward.
pantsbuild/pants