billowy-tiger-59247
10/28/2025, 4:57 PMpytest.install_from_resolve ): dependency A=2.0.0
Which dependency will be picked up during test execution? The one from the original resolve or the one from the pytest resolve?billowy-tiger-59247
10/28/2025, 4:57 PMbillowy-tiger-59247
10/28/2025, 8:35 PMbillowy-tiger-59247
10/28/2025, 8:37 PMhappy-kitchen-89482
10/28/2025, 11:57 PMbillowy-tiger-59247
10/29/2025, 10:42 AMbillowy-tiger-59247
10/29/2025, 2:17 PMhappy-kitchen-89482
10/29/2025, 2:29 PMhappy-kitchen-89482
10/29/2025, 2:29 PMbillowy-tiger-59247
10/29/2025, 2:40 PM[pytest].install_from_target_resolve = true setting that enables this behavior of not including the pytest pex.happy-kitchen-89482
10/29/2025, 9:33 PMrequirements-base.txt contains pytest? If so you could create a resolve based off requirements-base.txt and install pytest from that?happy-kitchen-89482
10/29/2025, 9:33 PMA cannot be in requirements-base.txt?billowy-tiger-59247
10/30/2025, 11:02 AMrequirements-base.txt but it could be. Our current solution to the problem is ensuring that both the pytest resolve and all the other resolves have this same conflicting dep pinned to a specific version. But this is not a very scalable solution, as this pinned version is very restrictive and will likely make other resolves stuck to this version just because one of the other resolves has this requirement.
In my understanding its reasonable to think that pytest deps should be part of the resolve dependency resolution. I think this behavior is what we see in other tools (poetry, pdm, uv, etc)happy-kitchen-89482
10/31/2025, 4:34 AMhappy-kitchen-89482
10/31/2025, 4:34 AMbillowy-tiger-59247
10/31/2025, 10:56 AM