wide-midnight-78598
02/03/2025, 4:10 PMsquare-psychiatrist-19087
02/03/2025, 5:20 PMmajor_minor_interpreter = '3.8'
Have you tried switching it to 3.11?wide-midnight-78598
02/03/2025, 5:44 PMall_major_minor_python_versions
- but the underlying question is more like... why? Do we need this? etc.
Works fine on my machine using 3.11 - since the error has to do with not understanding set
or something similarcurved-manchester-66006
02/03/2025, 6:08 PMinstall_from_resolve
subsystems where one can change the interpreter constraints, do we support:
⢠All Python versions that Pants itself supports for python_sources. Which would currently be >=3.8 after we dropped 3.7 following pip's lead.
⢠Python version >= the version of Pants itself.
Although now that I've typed this, in this narrow case, wouldn't we just need to exclude that file from the upgrade since it is a special case? Like in src/python/pants/backend/python/util_rules/scripts/BUILD
wide-midnight-78598
02/03/2025, 6:16 PMwide-midnight-78598
02/03/2025, 6:20 PMwide-midnight-78598
02/03/2025, 6:21 PMcurved-manchester-66006
02/03/2025, 6:39 PMsrc/python/pants/backend/python/util_rules/scripts/BUILD
)wide-midnight-78598
02/03/2025, 6:41 PMfast-nail-55400
02/03/2025, 7:29 PMfast-nail-55400
02/03/2025, 7:30 PMhcl2
dependency in the main Pants resolve, which I recall had been a review comment.fast-nail-55400
02/03/2025, 7:31 PMfast-nail-55400
02/03/2025, 7:31 PMwide-midnight-78598
02/03/2025, 7:32 PMwide-midnight-78598
02/03/2025, 7:35 PM