Skip to content

Use different interpreter_constraints for pants-plugins #20862

Answered by benjyw
tachikoma-li asked this question in Q&A
Discussion options

You must be logged in to vote

Pants itself runs on Python 3.9 at the moment (there are plans afoot to bump this to at least 3.11). It bundles its own interpreter, so you don't need to worry about that. EXCEPT - as you've noticed - when you write plugins, because they must run under 3.9.

Pants does support multiple partitions of your codebase, each with different interpreter constraints, so that is probably the right way to do this?

Replies: 2 comments

Comment options

benjyw
May 1, 2024
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by tachikoma-li
Comment options

benjyw
May 1, 2024
Maintainer Sponsor

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants