We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36716d6 commit beb3845Copy full SHA for beb3845
1 file changed
.github/workflows/python-app.yml
@@ -37,16 +37,11 @@ jobs:
37
steps:
38
- name: Check out repository
39
uses: actions/checkout@v4
40
- - name: Show pip version before uninstall
+ - name: Fix pip entries
41
run: |
42
- echo "Checking pip version before uninstall:"
43
- pip3 --version || echo "pip3 not found"
44
-
45
- - name: Uninstall pip via apt
46
- run: sudo apt-get remove python3-pip -y
47
48
- - name: Try uninstalling pip via pip (in case leftovers)
49
- run: pip3 uninstall pip -y || echo "pip3 uninstall may not work if pip is removed"
+ python -m pip uninstall -y pip
+ python -m ensurepip --upgrade
+ python -m pip install --upgrade pip
50
51
# - name: Show pip version after uninstall
52
# run: |
0 commit comments