-
Notifications
You must be signed in to change notification settings - Fork 112
Update templates to use serverless environment version 4 and matching Python version #3897
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
base: main
Are you sure you want to change the base?
Conversation
Remove the Python version spec changes from experimental-jobs-as-code template to minimize the diff. This template doesn't need the same Python version constraints as the default template. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
12 failing tests:
|
| * This needs to be compatible with the version of DB Connect and the serverless_environment_version. | ||
| */}} | ||
| {{define "python_version_spec" -}} | ||
| >=3.10,<3.13 |
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 this is the only spot where the local Python version is specified, could you copy the rationale from the PR summary here? I was wondering when seeing this line before reading the PR summary.
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.
Yes, good feedback.
Expands the python_version_spec comment to explain why we use >=3.10,<3.13 rather than pinning to 3.12. The broader range improves usability by avoiding the need for version managers while maintaining compatibility with DB Connect 15, serverless environment v4/v5, and DBR 16/17. Addresses PR feedback: #3897 (review) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Changes
This updates templates to serverless environment version 4 and associated Python versions
Some considerations:
Why
Tests