Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
c4d6eda0
Commit
c4d6eda0
authored
Dec 19, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install recent version of sqlite/pysqlite to fix crashes in tests.
parent
82ad9295
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
scripts/upgrade_pysqlite.sh
+14
-0
tox.ini
+7
-0
No files found.
scripts/upgrade_pysqlite.sh
0 → 100755
View file @
c4d6eda0
#!/bin/bash
# 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.
pip uninstall
-y
pysqlite
rm
-rf
tmp_pysqlite_upgrade
&&
mkdir
-p
tmp_pysqlite_upgrade
&&
cd
tmp_pysqlite_upgrade
curl
-o
2.8.3.tar.gz https://codeload.github.com/ghaering/pysqlite/tar.gz/2.8.3
curl
-o
sqlite-autoconf-3140100.tar.gz https://www.sqlite.org/2016/sqlite-autoconf-3140100.tar.gz
tar
-xzvf
sqlite-autoconf-3140100.tar.gz
tar
-xzvf
2.8.3.tar.gz
cp
-av
sqlite-autoconf-3140100/. pysqlite-2.8.3/
cd
./pysqlite-2.8.3
&&
python setup.py build_static install
cd
../..
&&
rm
-rf
tmp_pysqlite_upgrade
tox.ini
View file @
c4d6eda0
...
...
@@ -60,5 +60,12 @@ deps =
-rrequirements/edx-sandbox/base.txt
-rrequirements/edx-sandbox/local.txt
-rrequirements/edx-sandbox/post.txt
whitelist_externals
=
/bin/bash
/usr/bin/curl
/bin/tar
commands
=
# Upgrade sqlite to fix crashes during testing.
bash
scripts/upgrade_pysqlite.sh
# Now perform testing.
{posargs}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment