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

Numpy dependency breaks AWS Lambda functions #43

Closed
DrBomb opened this issue Nov 23, 2019 · 5 comments · Fixed by #45
Closed

Numpy dependency breaks AWS Lambda functions #43

DrBomb opened this issue Nov 23, 2019 · 5 comments · Fixed by #45
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DrBomb
Copy link

DrBomb commented Nov 23, 2019

I'm trying to deploy this API to a lambda function. And there two issues with having numpy as a dependency:

It would be great to have a lite API that can work without them as dependencies.

@semyont
Copy link

semyont commented Nov 24, 2019

Same here, working on serverless with aws
An error occurred: xyzLambdaFunction - Unzipped size must be smaller than 262144000 bytes (Service: AWSLambdaInternal; Status Code: 400; Error Code: InvalidParameterValueException; Request ID: xxx).
this becomes very bloated (41 mb ) because of pandas requirement,
Example for normal influx client vs new 2.0:
Screen Shot 2019-11-24 at 16 17 33
is there a reason why this package should be included in a lean swagger generated client?

@bednar bednar self-assigned this Nov 25, 2019
@bednar bednar added this to the 1.2.0 milestone Nov 25, 2019
@bednar bednar added the bug Something isn't working label Nov 25, 2019
@bednar
Copy link
Contributor

bednar commented Nov 25, 2019

Hi @DrBomb, @semyont

We support querying into Pandas DataFrame for using in data analysis - something like - stock-predictions.ipynb, but we will change the pandas depency to optional as is in old client.

Regards

@semyont
Copy link

semyont commented Nov 25, 2019

Hi @bednar thank you for the quick response, when should we expect a release?

@bednar
Copy link
Contributor

bednar commented Nov 25, 2019

Milestone 1.2.0 is planned at 2019-12-06.

@bednar
Copy link
Contributor

bednar commented Nov 29, 2019

Hi @semyont, @DrBomb

The issue is fixed in 1.2.0 milestone.

If you would like to use a dev version then install client via:

pip install git+https://github.com/influxdata/influxdb-client-python.git@master

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants