aws / aws/aws-sam-cli

Bug: sam build does not use certain git commit from requirements.txt but only newest git release of repository

Open
#4,330 5 comments 0 reactions 0 assignees View on GitHub
area/build maintainer/need-followup
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

When using `sam build --template ./template.yaml --build-dir .aws-sam/build`

and my requirements.txt looks like this:
`git+https://github.com/collective/icalendar.git@68dc8b18caf0806d2fa1a8e0f06027329ad96c4c`

I do not get the repository at this commit but actually just at the newest tag (5.0.0) https://github.com/collective/icalendar/tags
This does not happen when installing the package via pip

I therefore assume this is an issue with `sam build`?

Environment:
- newest aws sam cli version
- mac os
- python 3.8

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.