Skip to content

Commit 8cad6f6

Browse files
authored
chore: use stable django versions for tests hosted on python-spanner-django (#772)
1 parent 7312906 commit 8cad6f6

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ branchProtectionRules:
99
requiredStatusCheckContexts:
1010
- 'cla/google'
1111
- 'OwlBot Post Processor'
12-
- 'system-tests (3.6)'
13-
- 'system-tests (3.7)'
14-
- 'system-tests (3.8)'
15-
- 'system-tests (3.9)'
1612
- 'system-tests'
1713
- 'Kokoro'
1814
permissionRules:

django_test_suite.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mkdir -p $DJANGO_TESTS_DIR
1818
if [ $SPANNER_EMULATOR_HOST != 0 ]
1919
then
2020
pip3 install .
21-
git clone --depth 1 --single-branch --branch "spanner/stable/2.2.x" https://github.com/c24t/django.git $DJANGO_TESTS_DIR/django
21+
git clone --depth 1 --single-branch --branch "django/stable/2.2.x" https://github.com/googleapis/python-spanner-django.git $DJANGO_TESTS_DIR/django
2222
fi
2323

2424
# Install dependencies for Django tests.

django_test_suite_3.2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ mkdir -p $DJANGO_TESTS_DIR
1818
if [ $SPANNER_EMULATOR_HOST != 0 ]
1919
then
2020
pip3 install .
21-
git clone --depth 1 --single-branch --branch "stable/spanner/3.2.x" https://github.com/vi3k6i5/django.git $DJANGO_TESTS_DIR/django3.2
21+
git clone --depth 1 --single-branch --branch "django/stable/3.2.x" https://github.com/googleapis/python-spanner-django.git $DJANGO_TESTS_DIR/django3.2
2222
fi
2323

2424
# Install dependencies for Django tests.

noxfile.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ def docs(session):
181181
"""Build the docs for this library."""
182182

183183
session.install("-e", ".[tracing]")
184-
session.install("sphinx", "alabaster", "recommonmark", "django==2.2")
184+
session.install(
185+
"sphinx==4.0.1", "alabaster", "recommonmark", "django==2.2"
186+
)
185187

186188
shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True)
187189
# Warnings as errors is disabled for `sphinx-build` because django module
@@ -205,7 +207,7 @@ def docfx(session):
205207

206208
session.install("-e", ".[tracing]")
207209
session.install(
208-
"sphinx",
210+
"sphinx==4.0.1",
209211
"alabaster",
210212
"recommonmark",
211213
"gcp-sphinx-docfx-yaml",

0 commit comments

Comments
 (0)