-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
SAM Does not build the application, returns "PythonPipBuilder:ResolveDependencies failed #7003
Comments
Hi @Hanna-Hinn-imVitro, can you provide a minimal sample application for us to reproduce the issue? |
Hey, here's the minimal sample application :
example on the requirements:
Here's the overall requirements.txt for the whole project:
The project is a bit old. I have a theory regarding some dependency version between 2 libraries but I can not figure it out :(. tbh I do not know how exactly can I help you reproduce the issue. |
Hi @Hanna-Hinn, I did some more digging and this is what I found.
Let us know if this helps. |
Okay thank you so much 🙏 |
Hey, So I migrated the project to python3.11 and upgraded some packages versions and the issue was gone, but I do not know how or why it was gone. |
|
I have a project where I upload a domain using SAM Build.
I have packages that are inside helpers that uses setuptools.
I am using a virtual environment using pyenv , python version 3.8.17 // sam version : 1.82.0
Note:** If I run the requirements.txt theirs no issue, even the pip install that is generated by the sam build it works fine
For each lambda I have a requirements file for example:
-e ./helpers/adapters
boto3==1.14.47
dataclasses-json==0.5.2
requests==2.23.0
python_dynamodb_lock==0.9.1
pycryptodome==3.16.0
numpy==1.20.1
If I keep the adapters I get error :
If I delete the adapter library I get :
Can anyone please help?
The text was updated successfully, but these errors were encountered: