-
Notifications
You must be signed in to change notification settings - Fork 6.7k
fix(run/django): update bucket permissions, testing #13835
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?
Changes from all commits
34e8bd5
59ba8a0
25a2f45
21f33f5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -22,7 +22,7 @@ | |||||
|
|
||||||
| TEST_CONFIG_OVERRIDE = { | ||||||
| # You can opt out from the test for specific Python versions. | ||||||
| "ignored_versions": ["2.7", "3.6", "3.7", "3.8"], | ||||||
| "ignored_versions": ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Disabling tests for Python 3.10, 3.11, and 3.12 is a critical issue. These versions are supported by
Suggested change
|
||||||
| # Old samples are opted out of enforcing Python type hints | ||||||
| # All new samples should feature the | ||||||
| "enforce_type_hints": True, | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,6 @@ | ||
| Django==5.2.5; python_version >= "3.10" | ||
| Django==4.2.24; python_version >= "3.8" and python_version < "3.10" | ||
| Django==6.0.2 | ||
| django-storages[google]==1.14.6 | ||
| django-environ==0.12.0 | ||
| psycopg2-binary==2.9.10 | ||
| psycopg2-binary==2.9.11 | ||
| gunicorn==23.0.0 | ||
| google-cloud-secret-manager==2.21.1 |
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.
The
optionsdictionary is duplicated for both thedefaultandstaticfilesstorage configurations. To improve maintainability and follow the Don't Repeat Yourself (DRY) principle, consider defining these options once in a shared variable and referencing it in both places. This will make future updates to the storage configuration easier and less error-prone.