-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
feat: update Python connector base image to v4.0.0 with Python 3.11 #52663
Conversation
- Update Python version from 3.10.14 to 3.11.8 - Bump base image version to 4.0.0 for major Python version change - Update Python version in sanity checks and documentation Co-Authored-By: [email protected] <[email protected]>
🤖 Devin AI EngineerOriginal prompt from [email protected]:
I'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
⚙️ Control Options:
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -70,14 +70,10 @@ async def check_python_image_has_expected_env_vars(python_image_container: dagge | |||
""" | |||
expected_env_vars = { | |||
"PYTHON_VERSION", | |||
"PYTHON_PIP_VERSION", |
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 have no clue where they are set, and they don't seem to be used anywhere. Code for the sake of code must die.
@@ -146,24 +146,6 @@ async def check_user_can_read_dir(container: dagger.Container, user: str, dir_pa | |||
raise errors.SanityCheckError(f"{dir_path} is not readable by {user}.") | |||
|
|||
|
|||
async def check_user_cant_write_dir(container: dagger.Container, user: str, dir_path: str): |
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.
Dagger started outputing exit code 1, but not throwing the exception as our code assumed. Removing the whole check because I don't see how this is useful.
@@ -79,6 +79,9 @@ poetry run mypy base_images --check-untyped-defs | |||
|
|||
## CHANGELOG | |||
|
|||
### 1.6.0 |
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.
Funny, but it seems that the changelog for the package is in a template file. Pretty insane tbh.
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.
Overall, I like the bump and I want to move forward with this. I have already published the base image itself, and I want to test it on a few connectors to see how well it's going to work.
/format-fix
|
…52663) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Natik Gadzhi <[email protected]>
Description
Updates the Python connector base image to version 4.0.0, upgrading from Python 3.10 to Python 3.11.
Changes
Link to Devin run
https://app.devin.ai/sessions/7b158d1965bd493db84ea04078974ce6
Pre-merge checklist