Skip to content

How to enable different version of Pytest with Poetry and resolves #20992

Answered by benjyw
akomisarek asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

benjyw
Jun 4, 2024
Maintainer Sponsor

You must be logged in to vote
1 reply
@akomisarek
Comment options

Answer selected by akomisarek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants