hallowed-artist-8187
02/11/2024, 6:58 PMpants test :: I'd like it to skip those packages if possible (or ignore/skip the build errors)
I tried setting some interpreter constraints for those packages, but that didn't seem to help 🤔happy-kitchen-89482
02/11/2024, 7:32 PMhappy-kitchen-89482
02/11/2024, 7:33 PMhallowed-artist-8187
02/11/2024, 7:35 PMhallowed-artist-8187
02/11/2024, 7:40 PM./BUILD I have
python_sources(
interpreter_constraints=parametrize(py38=["==3.8.*"], py39=["==3.9.*"], py310=["==3.10.*"]),
)
Then inside ./package/BUILD I have
python_sources(
name="py39",
interpreter_constraints=[">=3.9"],
)
And ./package/tests/BUILD
python_tests(
interpreter_constraints=[">=3.9"],
)happy-kitchen-89482
02/11/2024, 9:09 PMhappy-kitchen-89482
02/11/2024, 9:09 PMhappy-kitchen-89482
02/11/2024, 9:10 PMpython_sources, one for each interpreter, and the tests may not depend on the 3.8 one"happy-kitchen-89482
02/11/2024, 9:10 PMhappy-kitchen-89482
02/11/2024, 9:10 PM==, or parameterize the tests as well if you want to run them on multiple interpretershappy-kitchen-89482
02/11/2024, 9:11 PMhallowed-artist-8187
02/11/2024, 9:11 PMhallowed-artist-8187
02/12/2024, 12:38 AMhappy-kitchen-89482
02/12/2024, 4:18 PM