famous-kite-46295
09/13/2024, 1:04 AMinterpreter_constraints=["==3.9.*"]
because 3.9 is what pants internally uses (and 3.9 is different from the version we use, like in the example in the docs).
https://www.pantsbuild.org/2.21/docs/writing-plugins/overview#building-in-repo-plugins-with-pants
When we make python_source
entries for the plugin files (to get code formatting, linting, etc.) on the in-repo plugin code, we now need python 3.9 for development (in addition to the version we otherwise use).
Is there a way to make pants use the python installation for plugin development that comes with pants itself and is used by it for the plugin execution?
Otherwise, users now would need to install two python versions on their system, 3.9 and whatever we use use, e.g. 3.10 (in addition to the 3.9 that comes with pants).curved-manchester-66006
09/13/2024, 3:44 PM