File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ toolforge webservice --backend=kubernetes python3.11 shell -- \
1212 webservice-python-bootstrap && \
1313 source venv/bin/activate && \
1414 echo " ==> Installing dependencies..." && \
15+ export MYSQLCLIENT_CFLAGS=" -I/usr/include/mariadb/" && \
16+ export MYSQLCLIENT_LDFLAGS=" -L/usr/lib/x86_64-linux-gnu/ -lmariadb" && \
1517 pip install -r requirements.txt && \
1618 echo " ==> Running migrations..." && \
1719 python3 src/manage.py migrate && \
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ djangorestframework==3.15.2
88markdown == 3.7 # Markdown support for the browsable API.
99django-filter == 24.3 #
1010jsonpatch == 1.33
11- pymysql
11+ mysqlclient == 2.2.7
Original file line number Diff line number Diff line change 1- import pymysql
21
3- pymysql .install_as_MySQLdb ()
You can’t perform that action at this time.
0 commit comments