Skip to content

Commit

Permalink
workaround python regression
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Nov 20, 2024
1 parent 97bfe3f commit a96cbf1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ jobs:
export PYTHONPATH=`echo /usr/share/python-wheels/pip-*py2*.whl`
sudo --preserve-env=PYTHONPATH python -m pip install --upgrade pip setuptools wheel
sudo chown -R $USER /usr/local/lib/python2.7
# workaround https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/2089136
wget https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/2089136/+attachment/5838791/+files/tarfile.py
sudo mv tarfile.py /usr/lib/python2.7/tarfile.py
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Display installed python package versions
Expand Down

0 comments on commit a96cbf1

Please sign in to comment.