fix(poetry): add mysql-connector dep

This is not used anymore in our FastAPI code, however, for
back-compatibility with pre-FastAPI scripts, we need it.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-31 19:56:56 -07:00
parent f26cd1e994
commit a82879210c
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
2 changed files with 13 additions and 1 deletions

13
poetry.lock generated
View file

@ -518,6 +518,14 @@ category = "dev"
optional = false
python-versions = "*"
[[package]]
name = "mysql-connector"
version = "2.2.9"
description = "MySQL driver written in Python"
category = "main"
optional = false
python-versions = "*"
[[package]]
name = "mysqlclient"
version = "2.0.3"
@ -962,7 +970,7 @@ h11 = ">=0.9.0,<1"
[metadata]
lock-version = "1.1"
python-versions = ">=3.9,<3.10"
content-hash = "eb5ec82957f9fb964ca6f3852e353da51542982923dc6169658bd4bccfa78513"
content-hash = "6a45364297f5a6e88ee62240bb2eb1eaf3b41283b6d8f040ee67db02601f18e7"
[metadata.files]
aiofiles = [
@ -1380,6 +1388,9 @@ mccabe = [
{file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"},
{file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"},
]
mysql-connector = [
{file = "mysql-connector-2.2.9.tar.gz", hash = "sha256:1733e6ce52a049243de3264f1fbc22a852cb35458c4ad739ba88189285efdf32"},
]
mysqlclient = [
{file = "mysqlclient-2.0.3-cp36-cp36m-win_amd64.whl", hash = "sha256:3381ca1a4f37ff1155fcfde20836b46416d66531add8843f6aa6d968982731c3"},
{file = "mysqlclient-2.0.3-cp37-cp37m-win_amd64.whl", hash = "sha256:0ac0dd759c4ca02c35a9fedc24bc982cf75171651e8187c2495ec957a87dfff7"},

View file

@ -82,6 +82,7 @@ SQLAlchemy = "^1.4.26"
uvicorn = "^0.15.0"
gunicorn = "^20.1.0"
Hypercorn = "^0.11.2"
mysql-connector = "^2.2.9"
[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"