Skip to content
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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jmsanders
Copy link
Contributor

I suspect we'll want to sufficiently increment the released version so this doesn't break users who are pinned to 0.1.

@jmsanders jmsanders self-assigned this Mar 27, 2024
@@ -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
Copy link
Contributor Author

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?

Copy link

github-actions bot commented Mar 27, 2024

Your pull request is automatically being deployed to Dagster Cloud.

Location Status Link Updated
from_gh_action View in Cloud Mar 27, 2024 at 10:07 PM (UTC)

Copy link
Member

@gibsondan gibsondan left a 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)

@shalabhc
Copy link
Contributor

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.
@jmsanders jmsanders force-pushed the jordan/increment-default-python-version branch from 15f5c5e to 18e68f8 Compare March 27, 2024 15:25
@jmsanders
Copy link
Contributor Author

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.

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants