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

Django 2.2 + mysqlclient #97

Open
rolexsanches opened this issue Apr 15, 2019 · 2 comments
Open

Django 2.2 + mysqlclient #97

rolexsanches opened this issue Apr 15, 2019 · 2 comments

Comments

@rolexsanches
Copy link

The new Django 2.2 Version vs Zappa Precompiled mysqlclient (1.3.12) package is incompatible with new Django (AWS Lambda):
image

image
Information found in: https://docs.djangoproject.com/en/2.2/releases/2.2/

Thanks

@celeduc
Copy link

celeduc commented May 7, 2019

Is this package even supported anymore? I understand that this isn't the preferred method of distributing binaries, and that it may be a maintenance problem, but currently this is the default recommended way of making Zappa work with MySQL on Lambda, and there are no documented workarounds.

In the absence of solutions (or even documented workarounds) my only option was to fork this repository and add it to requirements.txt git+https://github.com/celeduc/lambda-packages@mysqlclient#egg=lambda-packages. This means that the full lambda-packages repo is cloned which is extremely slow and inefficient.

@Miserlou I really respect and appreciate the work you do on Zappa. This particular issue is a real blocker. If you could weigh in with a solution or a way forward I would greatly appreciate it.

@celeduc
Copy link

celeduc commented May 7, 2019

See also #95 #96 #100

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