chalice package not packaging all files/subfolders of a git repo in requirements.txt
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
I have a git repo which is specified in requirement.txt. The requirements.txt looks as below
```
git+https://${GITHUB_ACCESS_TOKEN}@github.com/xyz/spices.git@master#egg=spices
attrs==20.3.0
boto3==1.24.35
chalice==1.26.2
chardet==5.0.0
idna==2.10
importlib-metadata==3.4.0
jsonschema==4.7.2
pandas==1.4.3
pytest==7.1.2
python-dateutil==2.8.2
PyYAML==5.4.1
requests==2.28.1
sentry-sdk==0.19.5
six==1.15.0
toml==0.10.2
urllib3==1.26.10
xmltodict3==0.0.4
zipp==3.8.1
```
Steps I followed.
1. created virtual env(python 3.9) and source venv/bin/activate
2. pip install -r requirements.txt
3. chalice package
After installing requirements.txt I can see all files/subfolders of the git repo(spices) in venv/lib/python3.9/site-packages/spices but when we run chalice package, all the files/subfolders are not getting packaged in the deployment zip.
I only see two files(__init__.py and cli.py) of the git repo in deployment package but ideally it should have contained below list of files/subfolders.

Looked up similar issues in chalice github issues section but nothing is clear. Started getting this issue from Jun 7/8th onwards. before that things were working fine. We have not made any changes to our project. Did anything change recently in chalice wrt packaging/deploying? Any help is much appreciated. Thanks.
Contributor guide
Assessment
This issue has not been assessed yet.