happy-psychiatrist-90774
07/24/2024, 3:40 PMBUILD
file I did
python_sources(
interpreter_constraints=['>=3.7'],
resolve=parametrize('py_37', 'py_38'),
)
but then I got this error
The inputs use interpreter constraints (`CPython>=3.7`) that are not a subset of those used to generate the lockfile (`CPython==3.7.*`).
How can I have it support both resolve files at the same time?better-van-82973
07/24/2024, 4:16 PMparametrize
to the interpreter_constraints
field as well? Like this: https://www.pantsbuild.org/2.22/docs/python/overview/interpreter-compatibility#setting-the-default-python-version
Then you could make it:
interpreter_constraints=parametrize('==3.7.*', '==3.8.*')
Or if the second lockfile was generated with a different set of constraints, you can sub in those toobetter-van-82973
07/24/2024, 4:18 PMhappy-psychiatrist-90774
07/24/2024, 4:20 PMhappy-psychiatrist-90774
07/28/2024, 9:17 AM