Skip to content

Commit ad98239

Browse files
committed
pinning setuptools & wheel to fix the install of Kivy
2021-08-09T06:34:05.0384060Z + /usr/local/Cellar/python/3.7.8/bin/pip3 install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ build/deps/Kivy-1.11.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl 2021-08-09T06:34:06.0536510Z Looking in links: file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ 2021-08-09T06:34:06.0563640Z Processing ./build/deps/Kivy-1.11.1-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl 2021-08-09T06:34:08.8544000Z ERROR: Could not find a version that satisfies the requirement Kivy-Garden>=0.1.4 (from Kivy==1.11.1) (from versions: none) 2021-08-09T06:34:08.9146240Z ERROR: No matching distribution found for Kivy-Garden>=0.1.4 (from Kivy==1.11.1) 2021-08-09T06:34:08.9592970Z ++ pwd 2021-08-09T06:34:08.9597710Z + /usr/local/Cellar/python/3.7.8/bin/pip3 install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ build/deps/PyInstaller-3.6.tar.gz 2021-08-09T06:34:09.4599440Z Looking in links: file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ 2021-08-09T06:34:09.4640650Z Processing ./build/deps/PyInstaller-3.6.tar.gz 2021-08-09T06:34:14.2580570Z Installing build dependencies: started 2021-08-09T06:34:14.8695070Z Installing build dependencies: finished with status 'error' 2021-08-09T06:34:14.8698340Z ERROR: Command errored out with exit status 1: 2021-08-09T06:34:14.8705040Z command: /usr/local/opt/python/bin/python3.7 /usr/local/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-2wocve2z/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ -- 'setuptools>=40.8.0' wheel 2021-08-09T06:34:14.8707500Z cwd: None 2021-08-09T06:34:14.8707890Z Complete output (3 lines): 2021-08-09T06:34:14.8711970Z Looking in links: file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ 2021-08-09T06:34:14.8713580Z ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none) 2021-08-09T06:34:14.8716660Z ERROR: No matching distribution found for setuptools>=40.8.0 2021-08-09T06:34:14.8718130Z ---------------------------------------- 2021-08-09T06:34:15.1003480Z ERROR: Command errored out with exit status 1: /usr/local/opt/python/bin/python3.7 /usr/local/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/pip-build-env-2wocve2z/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links file:///Users/runner/work/cross-platform-python-gui/cross-platform-python-gui/build/deps/ -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
1 parent a66b6bd commit ad98239

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
771 KB
Binary file not shown.
25.9 KB
Binary file not shown.

build/mac/buildDmg.sh

+3
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ brew reinstall build/deps/sdl2_ttf-2.0.15.catalina.bottle.tar.gz
6868
${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
6969
PIP_PATH="`find /usr/local/Cellar/python -type f -wholename *bin/pip3* | sort -n | uniq | head -n1`"
7070

71+
${PIP_PATH} install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file://`pwd`/build/deps/ build/deps/setuptools-49.1.0-py3-none-any.whl
72+
${PIP_PATH} install --ignore-installed --upgrade --cache-dir build/deps/ --no-index --find-links file://`pwd`/build/deps/ build/deps/wheel-0.34.2-py2.py3-none-any.whl
73+
7174
# setup a virtualenv to isolate our app's python depends
7275
#sudo ${PYTHON_PATH} -m ensurepip
7376
#${PIP_PATH} install --upgrade --force-reinstall --user pip setuptools

0 commit comments

Comments
 (0)