You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @gaborbernat, thanks so much for filing this issue. Helped us debug why our Zappa deployment stopped working.
We are working around it for now by manually installing the last compatible version of virtualenvs and setuptools.
# GitHub action
jobs:
build_and_deploy:
steps:
# ... more steps here ...
# Note (Sep 9, 2024): setuptools 74.1.2 breaks imports within site-packages.zip, which causes the zappa deployment
# to fail. Virtualenv 20.26.3 still uses a compatible version of setuptools. Once this issue gets fixed, we can
# remove this step.
# See issue: https://github.com/pypa/setuptools/issues/4640
# See setuptools PR: https://github.com/pypa/setuptools/pull/4457
# See virtualenv PR: https://github.com/pypa/virtualenv/pull/2760
- name: Set fixed setuptools version
run: pip3 install virtualenv==20.26.3 setuptools==70.1.0
# ... more steps here ...
setuptools version
setuptools 74.1
Python version
Any
OS
Any
Additional environment information
No response
Description
#4457 breaks the tool being zipped up in a
site-packages.zip
... The use case was originally submitted to virtualenv via pypa/virtualenv#1715Expected behavior
It works.
How to Reproduce
pypa/virtualenv#1715
Output
Discovered during pypa/virtualenv#2760, see https://github.com/pypa/virtualenv/actions/runs/10752988428/job/29821925275?pr=2760
The text was updated successfully, but these errors were encountered: