fix: fix make upgrade job and _mysql issue (#32084)

* fix: upgrade pip & pip-tools versions
* fix: install libmysqlclient-dev system package again
* fix: skip reinstalling mysqlclient package
* fix: add pytz package constraint

---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
This commit is contained in:
Usama Sadiq
2023-04-18 18:10:01 +05:00
committed by GitHub
parent 2a7b400770
commit 0ec7b8cc30
11 changed files with 129 additions and 118 deletions

View File

@@ -61,10 +61,6 @@ jobs:
- name: Install Python dependencies
run: |
make dev-requirements
pip uninstall -y mysqlclient
pip install --no-binary mysqlclient mysqlclient
pip uninstall -y xmlsec
pip install --no-binary xmlsec xmlsec
- name: Initiate Services
run: |
@@ -78,6 +74,11 @@ jobs:
UPDATE mysql.user SET authentication_string = null WHERE user = 'root';
FLUSH PRIVILEGES;
EOF
- name: Install mysqlclient-dev binary
run: |
sudo apt-get update
sudo apt-get install -y libmysqlclient-dev
- name: Run Tests
env: