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

Files missing in deployment package #89

Open
saheelBreezo opened this issue May 5, 2020 · 3 comments
Open

Files missing in deployment package #89

saheelBreezo opened this issue May 5, 2020 · 3 comments

Comments

@saheelBreezo
Copy link

I am creating a layer with gdal (3.0.1) , sklearn (0.22.2.post1) . While everything works fine and layer is created successfully, however some of the files always gets missed . One file in particular is pipeline.py inside sklearn which never shows up in sklearn folder inside layer.
This is the content inside python dir in zip
package

This is inside sklearn folder
Screenshot from 2020-05-05 22-42-23

I tried explicitly adding the file but that created some more dependency issue which was also not present in skearn. Just need some help in this.

OS: Amazon Linux AMI release 2018.03 on AWS
Python Version for Layer: 3.7

@matthewhanson
Copy link
Collaborator

@saheelBreezo Did you ever figure out what was going on here?

@saheelBreezo
Copy link
Author

Hey @matthewhanson Couldn't find a solution for this, tried different version of sklearn. Finally copied the missing files and add it to the zip explicitly.

@saheelBreezo
Copy link
Author

Sorry for late reply, I tried again and it again miss one specific file pipeline.py from sklearn. Later I found EXCLUDE="boto3* botocore* pip* docutils* in python-package.sh and it might excluding because it matches pip* filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants