-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zappa failing due to newer version of setuptools #1349
Comments
We already have below function: Line 45 in 39f75e7
Replacing the distutils usage with copytree in utilities.py should solve the problem. Let me know if doing so is sufficient or not? |
Following I temporarilly forced the previous version of setup-tools and it worked |
To which version of setup-tools did you revert to? |
setuptools==74.1.2 |
For anyone else who is using Github actions to deploy and using pipenv, you will have tough time fixing the setuptools version because #pipenv takes the latest. So you will have update the virtualenv after install like |
@RicardoNeto Even that wouldn't work for me sadly. For reference and if anyone else is experiencing issues with GitHub Actions: |
A bit concerning that this PR is still sitting in a review state. Every one of my personal and work-related GitHub Actions deployment scripts using Zappa are failing because of this bug. |
I started seeing this issue today with my zappa deploy to aws lambda.
Whats the remedy here? |
iam facing this issue too. |
do zappa follow this sequence? https://github.com/pypa/setuptools/blob/v75.1.0/_distutils_hack/__init__.py#L16-L23
I see that setuptools TOT still has modified.py at setuptools_distutils |
Got it to work with the change proposed in the PR |
My zappa deploy is triggered from Docker CI/CD |
For the poetry users, I was able to fix this by pinning an older version of setuptools, similar to the other responses above:
|
Looks like this has been fixed on main with the merging of #1352 When can we expect a release including the fix? |
I was able to solve my issue with this PR |
this worked for me. THANK YOU SO MUCH! |
Zappa/zappa/core.py
Line 22 in 39f75e7
Zappa/zappa/core.py
Line 690 in 39f75e7
Env details
Logs
The text was updated successfully, but these errors were encountered: