Skip to content

Commit 75cd9bc

Browse files
ankiagagcf-owl-bot[bot]olavloite
authored
feat!: Support Django 4.2 (#865)
* feat: Changes for Django 4.2 * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Adding allow_transactions_in_auto_commit property * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Comments incorporated * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * πŸ¦‰ Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update README.rst Co-authored-by: Knut Olav LΓΈite <[email protected]> * Update README.rst Co-authored-by: Knut Olav LΓΈite <[email protected]> * Update README.rst Co-authored-by: Knut Olav LΓΈite <[email protected]> * Update django_spanner/base.py Co-authored-by: Knut Olav LΓΈite <[email protected]> * Comments incorporated --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Knut Olav LΓΈite <[email protected]>
1 parent 75a368e commit 75cd9bc

29 files changed

+1299
-773
lines changed

β€Ž.github/workflows/django_tests_against_emulator0.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator0.ymlβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests0
6+
name: django4.2-tests0
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,11 +22,11 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project
2929
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true
3030
RUNNING_SPANNER_BACKEND_TESTS: 1
3131
SPANNER_TEST_INSTANCE: google-cloud-django-backend-tests
32-
DJANGO_TEST_APPS: admin_changelist admin_ordering aggregation choices distinct_on_fields expressions_window fixtures_model_package datetimes custom_methods generic_inline_admin field_defaults datatypes empty m2o_recursive many_to_one_null migration_test_data_persistence admin_docs invalid_models_tests migrate_signals model_forms.test_uuid model_forms.test_modelchoicefield syndication_tests view_tests update test_utils select_related_onetoone sessions_tests
32+
DJANGO_TEST_APPS: admin_changelist admin_ordering aggregation distinct_on_fields expressions_window fixtures_model_package datetimes custom_methods generic_inline_admin field_defaults datatypes empty m2o_recursive many_to_one_null migration_test_data_persistence admin_docs invalid_models_tests migrate_signals model_forms.test_uuid model_forms.test_modelchoicefield syndication_tests view_tests update test_utils select_related_onetoone sessions_tests

β€Ž.github/workflows/django_tests_against_emulator1.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator1.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests1
6+
name: django4.2-tests1
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator2.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator2.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests2
6+
name: django4.2-tests2
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator3.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator3.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests3
6+
name: django4.2-tests3
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator4.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator4.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests4
6+
name: django4.2-tests4
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator5.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator5.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests5
6+
name: django4.2-tests5
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator6.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator6.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests6
6+
name: django4.2-tests6
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator7.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator7.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests7
6+
name: django4.2-tests7
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator8.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator8.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests8
6+
name: django4.2-tests8
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

β€Ž.github/workflows/django_tests_against_emulator9.ymlβ€Ž renamed to β€Ž.github/workflows/django4.2_tests_against_emulator9.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: django-tests9
6+
name: django4.2-tests9
77
jobs:
88
system-tests:
99
runs-on: ubuntu-latest
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: 3.8
2424
- name: Run Django tests
25-
run: sh django_test_suite.sh
25+
run: sh django_test_suite_4.2.sh
2626
env:
2727
SPANNER_EMULATOR_HOST: localhost:9010
2828
GOOGLE_CLOUD_PROJECT: emulator-test-project

0 commit comments

Comments
Β (0)