rapid-crayon-823203/17/2022, 9:21 AM
as a dependency in your
and you import
in your test files or
so it is discovered by dependency inference, what pytest distribution is used for the tests ? the global defined in
or the one in the user defined lock file ?
I know It's confusing adding
as a dependency, but the main use case is for IDE support, ie: when running
, I'd like to have
./pants export //:poetry
, ... exported too
happy-kitchen-8948203/17/2022, 4:18 PM
rapid-crayon-823203/17/2022, 4:20 PM
use pytest as a tool
use pytest as a dep ?
hundreds-father-40403/17/2022, 4:21 PM
It will use the version in requirements.txt I believeIt will install Pytest twice (bleh), then I can't quite remember how Pex handles merging the two PEXes when there's the same dep. I want to say it goes with the first one encountered..
happy-kitchen-8948203/17/2022, 4:30 PM