glamorous-vegetable-64929
05/10/2024, 4:55 PMpants package
and get the following error: The Pip requested was pip==23.0.1 but it does not work with the interpreter selected which is CPython 3.12.3 at /home/user/.pyenv/versions/3.12.3/bin/python3.12. Pip 23.0.1 requires Python <3.12,>=3.7.
. The target is docker_image
. How can I set the interpreter for this build target?glamorous-vegetable-64929
05/10/2024, 4:57 PMglamorous-vegetable-64929
05/10/2024, 5:40 PMglamorous-vegetable-64929
05/10/2024, 5:46 PMpip_version=24.0
in [python]
)glamorous-vegetable-64929
05/10/2024, 5:52 PMsquare-psychiatrist-19087
05/10/2024, 5:55 PMglamorous-vegetable-64929
05/10/2024, 5:58 PMsquare-psychiatrist-19087
05/10/2024, 6:01 PMsquare-psychiatrist-19087
05/10/2024, 6:01 PMglamorous-vegetable-64929
05/10/2024, 6:03 PMpython.resolves_to_interpreter_constraints
on resolve dockerfile
? I will try...square-psychiatrist-19087
05/10/2024, 6:04 PMsquare-psychiatrist-19087
05/10/2024, 6:05 PMdefault_requirements = ["dockerfile>=3.2.0,<4"]
and set install_from_resolve
https://www.pantsbuild.org/2.20/reference/subsystems/dockerfile-parser#install_from_resolveglamorous-vegetable-64929
05/10/2024, 6:42 PMsquare-psychiatrist-19087
05/10/2024, 6:42 PM