-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3937 - Parse the current Python version to the Dockerfile in pf build flow #3939
base: main
Are you sure you want to change the base?
3937 - Parse the current Python version to the Dockerfile in pf build flow #3939
Conversation
@microsoft-github-policy-service agree |
This would be a nice feature, change the python version is needed in the Azure AI foundry promptflow as well |
Could you please elaborate what you mean? |
038a3cf
to
4f13e68
Compare
The default python version in Azure AI foundry is lower than 3.10 and they not provide documentation on how to change it |
Description
Issue: #3937
This PR includes a modification where the python version in the conda environment in the deployed docker image is parsed from the environment that calls the build command.
This way, if the user writes his flows using python 3.12 syntax, breaking changes (linting for example) will not occur after deployment.
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines