-
Notifications
You must be signed in to change notification settings - Fork 21
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
Increment default python version to 3.11 #160
Conversation
gitlab/serverless-legacy-ci.yml
Outdated
@@ -40,7 +40,7 @@ build-image: | |||
before_script: | |||
- echo $AWS_ECR_PASSWORD | docker login --username $AWS_ECR_USERNAME --password-stdin $REGISTRY_URL | |||
script: | |||
- echo "FROM python:3.8-slim" > $DAGSTER_CLOUD_LOCATION_DIR/Dockerfile | |||
- echo "FROM python:3.11-slim" > $DAGSTER_CLOUD_LOCATION_DIR/Dockerfile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the name, I'm not sure if we should be touching this one?
Your pull request is automatically being deployed to Dagster Cloud.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per discussion on slack i think this would require a v0.2 release
we should also update the build/release instructions to clarify that it needs to be done from a 3.11 venv (it currently needs to be done from a 3.8 venv or the resulting built hybrid CI action fails)
I think we want to change only the templates that get copied into the user repo. Eg https://github.com/dagster-io/dagster-cloud-action/tree/main/github/serverless |
I suspect we'll want to sufficiently increment the released version so this doesn't break users who are pinned to 0.1.
15f5c5e
to
18e68f8
Compare
So keep all the defaults as 3.8 but have all the user templates override to 3.11? It looks like we might need to add a python_version override to the gitlab templates in that case. |
This reverts commit 18e68f8.
These yaml files actually get copied into user repos and can already pass an overridden python version into our action. If we bump the defaults in the action, we need to introduce a new tag > 0.1 to avoid introducing a breaking change for anybody who is pinned to 0.1 (onto to mention anybody who isn't pinned at all).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm unclear where exactly this landed - does this now only apply to newly templated github actions? If so (and we've double-checked that the regular example and dbt nux work out of hte box for 3.11) then I would support landing thsi
I don't plan on doing anything with this right now. |
I suspect we'll want to sufficiently increment the released version so this doesn't break users who are pinned to 0.1.