Skip to content
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

Skip PythonPipBuilder:Validation if no requirements.txt exists #678

Open
Downchuck opened this issue Aug 20, 2024 · 1 comment
Open

Skip PythonPipBuilder:Validation if no requirements.txt exists #678

Downchuck opened this issue Aug 20, 2024 · 1 comment
Labels
type/feature Feature request

Comments

@Downchuck
Copy link

Skip Validation on langauge when not building dependencies

When only using PythonPipBuilder:CopySource, the Python version installed on the machine should not matter.

requirements.txt file not found. Continuing the build without dependencies.
 Running PythonPipBuilder:CopySource

For situations where the dependencies are being packaged into a layer, it's unnecessary to have Python installed at all - or at least the python version could be relaxed so as not to require the same version the lambda is targeting:

Error: PythonPipBuilder:Validation - Binary validation failed for python, searched for python in following locations  : ['/usr/bin/python', '/bin/python', '/usr/bin/python3', '/bin/python3'] which did not satisfy constraints for runtime: python3.12. Do you have python for runtime: python3.12 on your PATH?
@Downchuck Downchuck added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels Aug 20, 2024
@mildaniel
Copy link
Contributor

That suggestion makes a lot of sense to me. Thanks for the request, I'll bring it to the team for prioritization.

@mildaniel mildaniel removed the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants