Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Algolia search depends on `typing` which is in Python3.7 standard library #422
When using the algoliasearch library in a python3.7 environment it installs
Because the library is only required with version of Python 3.5 and below can you add that condition to the requirements file?
See this for context on the issue - python/typing#573
This is a solution implemented elsewhere:
Steps To Reproduce
In my case this was actually frustrating me. I can reproduce this issue within an AWS python v3.7.3 runtime but not in my local python 3.7.3 runtime.
My steps to reproduce this involved:
File "/var/task/typing.py", line 1004, in new
I can open a PR for this fix if you think it would be fixed. At the moment I have to run some custom logic not to deploy the typing library with Algolia search.
I'll put in the PR shortly. The issue can be reproduced with the following steps which roughly equate to how packages are handled in the AWS Lambda Python3.7 runtime.
This assumes a Python 3.7.x version:
Then you will see the following stack trace: