bitter-ability-32190
11/14/2023, 6:30 PMpytest) where the resolve the requirements come from isn't static. Instead you'd set install_from_resolve to true to say "install from the resolve of the test' source.
It's for cases where:
• You have test_resolve_a in resolve A. It uses fixtures or whatever, so does import pytest
• You also have test_resolve_b in resolve B. Same schtick. import pytest
• Their ICs don't overlap
So no value of install_from_resolve would work. Not even putting pytest in its own resolve (because of the imports).
Instead pytest should come from the resolve of the source file.bitter-ability-32190
11/14/2023, 6:30 PMbitter-ability-32190
11/14/2023, 6:31 PMhappy-kitchen-89482
11/14/2023, 6:32 PMbitter-ability-32190
11/14/2023, 6:34 PMpants.happy-kitchen-89482
11/14/2023, 8:08 PMbitter-ability-32190
11/14/2023, 8:08 PMpytest would also have to be in each of the resolves, and hopefully of the same version as the pytest resolve.happy-kitchen-89482
11/14/2023, 8:13 PMinstall_from_resolve being useful (although not by passing True, as that is a typing nightmare). It would need to be implemented generically, but I think that's fine. We should always be partitioning by resolve before we use a tool anyway.happy-kitchen-89482
11/14/2023, 8:14 PMbitter-ability-32190
11/14/2023, 8:14 PMhappy-kitchen-89482
11/14/2023, 8:16 PMhappy-kitchen-89482
11/14/2023, 8:17 PMhappy-kitchen-89482
11/14/2023, 8:17 PMbitter-ability-32190
11/14/2023, 8:17 PMhappy-kitchen-89482
11/14/2023, 8:17 PMhappy-kitchen-89482
11/14/2023, 8:17 PMsparse-lifeguard-95737
11/14/2023, 8:44 PMsparse-lifeguard-95737
11/14/2023, 8:44 PMsparse-lifeguard-95737
11/14/2023, 8:44 PMsparse-lifeguard-95737
11/14/2023, 8:45 PM