Skip to content

Commit

Permalink
generate_release: downgrade setuptools
Browse files Browse the repository at this point in the history
Try fixing zope.interface install error on py3.8
  • Loading branch information
alive4ever committed Feb 15, 2025
1 parent 8fe8356 commit 29093d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions generate_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ def wine_run(command_parts):
check_subp(subprocess.run([r'7z', '-y', 'e', '-opython', visual_c_name, visual_c_path_to_dlls]))

log('Installing dependencies')
if python_version_minor == 8:
wine_run(['./python/python.exe', '-I', '-m', 'pip', 'install', '--no-compile', 'setuptools<=75.6.0'])
wine_run(['./python/python.exe', '-I', '-m', 'pip', 'install', '--no-compile', '-r', './requirements.txt'])

log('Uninstalling unnecessary gevent stuff')
Expand Down

0 comments on commit 29093d8

Please sign in to comment.