Skip to content

Commit

Permalink
upgrade pip from 20.1.1 to 24.0
Browse files Browse the repository at this point in the history
Upgrading pip in attempt to fix the SCHEME_KEYS errors on macos builds. For more info, see:

 * #78 (comment)
  • Loading branch information
maltfield committed Mar 10, 2024
1 parent 78a7b70 commit 0f947ff
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added build/deps/pip-24.0-py3-none-any.whl
Binary file not shown.
2 changes: 1 addition & 1 deletion build/linux/buildAppImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ ls -lah /tmp/kivy_appdir/usr/bin/
# install our pip depends from the files in the repo since pip doesn't provide
# decent authentication and integrity checks on what it downloads from PyPI
# * https://security.stackexchange.com/a/234098/213165
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///`pwd`/build/deps/ build/deps/pip-20.1.1-py2.py3-none-any.whl
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///`pwd`/build/deps/ build/deps/pip-24.0-py3-none-any.whl
${PYTHON} -m pip install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///`pwd`/build/deps/ build/deps/Kivy-1.11.1-cp37-cp37m-manylinux2010_x86_64.whl

# INSTALL LATEST PIP PACKAGES
Expand Down
2 changes: 1 addition & 1 deletion build/mac/buildDmg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ brew reinstall build/deps/sdl2_ttf-2.0.15.catalina.bottle.tar.gz
cat ${PIP_PATH}

# get python essential dependencies
${PIP_PATH} install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file://`pwd`/build/deps/ build/deps/pip-20.1.1-py2.py3-none-any.whl
${PIP_PATH} install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file://`pwd`/build/deps/ build/deps/pip-24.0-py3-none-any.whl
PIP_PATH="`find /usr/local/Cellar/python* -type f -wholename *bin/pip3* | sort -n | uniq | head -n1`"

# get more info post-pip install
Expand Down
2 changes: 1 addition & 1 deletion build/windows/buildExe.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ New-Item -Path C:\tmp\python -Type Directory | Out-String

Write-Output 'INFO: Installing pip, setuptools, and virtualenv' | Out-String

C:\tmp\python\python.exe -m pip install --ignore-installed --upgrade --cache-dir .\build\deps\ --no-index --find-links .\build\deps\ .\build\deps\pip-20.1.1-py2.py3-none-any.whl | Out-String
C:\tmp\python\python.exe -m pip install --ignore-installed --upgrade --cache-dir .\build\deps\ --no-index --find-links .\build\deps\ .\build\deps\pip-24.0-py3-none-any.whl | Out-String
C:\tmp\python\python.exe -m pip install --ignore-installed --upgrade --cache-dir .\build\deps\ --no-index --find-links .\build\deps\ .\build\deps\wheel-0.34.2-py2.py3-none-any.whl | Out-String
C:\tmp\python\python.exe -m pip install --ignore-installed --upgrade --cache-dir .\build\deps\ --no-index --find-links .\build\deps\ .\build\deps\setuptools-49.1.0-py3-none-any.whl | Out-String
C:\tmp\python\python.exe -m pip install --ignore-installed --upgrade --cache-dir .\build\deps\ --no-index --find-links .\build\deps\ .\build\deps\virtualenv-20.0.26-py2.py3-none-any.whl | Out-String
Expand Down

0 comments on commit 0f947ff

Please sign in to comment.