Skip to content

Commit b46eda4

Browse files
committed
Pin Python dependency versions
The build started failing because a new Django release happened, and that release is not compatible with our current django adapter.
1 parent 1e7e19e commit b46eda4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

python/django/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ start:
33
python3 manage.py migrate cockroach_example && python3 manage.py runserver 6543
44

55
deps:
6-
git clone https://github.com/cockroachdb/django-cockroachdb || true
76
pip3 install --upgrade setuptools
8-
pip3 install django psycopg2
9-
cd django-cockroachdb && pip3 install .
7+
pip3 install django==3.0.9 django-cockroachdb==3.0.1 psycopg2

python/sqlalchemy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ start:
2323
deps:
2424
# To avoid permissions errors, the following should be run in a virtualenv
2525
# (preferred) or as root.
26-
pip3 install flask-sqlalchemy sqlalchemy-cockroachdb psycopg2
26+
pip3 install flask-sqlalchemy==2.4.4 sqlalchemy-cockroachdb==1.3.1 psycopg2

0 commit comments

Comments
 (0)