Skip to content

Commit

Permalink
prevent pip update to 24.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Jun 23, 2024
1 parent 27b018e commit 00c0163
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci/install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sudo apt-get install -y -q libdbus-1-3 libxkbcommon-x11-0 libxcb-icccm4 libxcb-i

sudo gem install dotenv -v ${DOTENV_VER}
sudo gem install fpm # Linux build fails using 1.13.0
pip install --upgrade pip
# pip install --upgrade pip # pip update to 24.1 breaks CI
pip install -r src/requirements.txt | sed '/^Ignoring/d'

.ci/install-libusb.sh
Expand Down
4 changes: 2 additions & 2 deletions .ci/install-win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo Python Version
python -V

::
:: Upgrade the Python version to PYUPGRADE_WIN_V when the environment variable exists.
:: Upgrade the Python version to PYUPGRADE_WIN_V when the environment variable exists.
::
if NOT "%PYUPGRADE_WIN_V%" == "" (
if exist %PYTHON_PATH%\python.exe (
Expand All @@ -58,7 +58,7 @@ if NOT "%PYUPGRADE_WIN_V%" == "" (
::
:: get pip up to date
::
python -m pip install --upgrade pip
#python -m pip install --upgrade pip # pip update to 24.1 breaks CI
python -m pip install wheel

::
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ jobs:
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r src/requirements-dev.txt
pip install -r src/requirements.txt
- uses: tsuyoshicho/action-mypy@v3
- uses: tsuyoshicho/action-mypy@v4
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r src/requirements-dev.txt
pip install -r src/requirements.txt
- name: Set up reviewdog
Expand Down

0 comments on commit 00c0163

Please sign in to comment.