Skip to content

Commit

Permalink
fixup! Install recent version of sqlite/pysqlite to fix crashes in te…
Browse files Browse the repository at this point in the history
…sts.
  • Loading branch information
John Eskew committed Dec 22, 2017
1 parent 7ec0650 commit 30eafbf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/upgrade_pysqlite.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/bash

# First, check to see if the pysqlite version has already been upgraded. If so, no installation is needed.
# The pip-installed version of pysqlite has a sqlite_version of "3.11.0".
sqlite_version=`python -c "from pysqlite2._sqlite import sqlite_version; print sqlite_version"`
if [ $sqlite_version = "3.14.1" ]; then
exit 0
fi

# Upgrade the version of pysqlite/sqlite to avoid crashes during testing.
# Ideally, this code would just install a pre-built wheel - change it to this
# once edX has its own artifact server.
Expand Down

0 comments on commit 30eafbf

Please sign in to comment.