Skip to content

Commit

Permalink
Remove unnecessary dependency on mysqlclient - equal to feast PR 3925
Browse files Browse the repository at this point in the history
  • Loading branch information
expediamatt committed Feb 12, 2024
1 parent a448480 commit 7ed2d37
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ RUN apt update && \
apt install -y \
jq \
python3-dev \
default-libmysqlclient-dev \
build-essential

RUN pip install pip --upgrade
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ RUN apt update && \
apt install -y \
jq \
python3-dev \
default-libmysqlclient-dev \
build-essential

RUN pip install pip --upgrade
Expand Down
2 changes: 0 additions & 2 deletions sdk/python/requirements/py3.10-ci-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,6 @@ mypy-extensions==1.0.0
# mypy
mypy-protobuf==3.1.0
# via eg-feast (setup.py)
mysqlclient==2.2.0
# via eg-feast (setup.py)
nbclient==0.8.0
# via nbconvert
nbconvert==7.7.3
Expand Down
2 changes: 0 additions & 2 deletions sdk/python/requirements/py3.8-ci-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,6 @@ mypy-extensions==1.0.0
# mypy
mypy-protobuf==3.1
# via feast (setup.py)
mysqlclient==2.1.1
# via feast (setup.py)
nbclassic==1.0.0
# via notebook
nbclient==0.8.0
Expand Down
2 changes: 0 additions & 2 deletions sdk/python/requirements/py3.9-ci-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -540,8 +540,6 @@ mypy-extensions==1.0.0
# mypy
mypy-protobuf==3.1.0
# via eg-feast (setup.py)
mysqlclient==2.2.0
# via eg-feast (setup.py)
nbclient==0.8.0
# via nbconvert
nbconvert==7.7.3
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/tests/unit/test_sql_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def mysql_registry():

registry_config = RegistryConfig(
registry_type="sql",
path=f"mysql+mysqldb://{POSTGRES_USER}:{POSTGRES_PASSWORD}@127.0.0.1:{container_port}/{POSTGRES_DB}",
path=f"mysql+pymysql://{POSTGRES_USER}:{POSTGRES_PASSWORD}@127.0.0.1:{container_port}/{POSTGRES_DB}",
cache_ttl_seconds=60,
)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"psycopg2-binary>=2.8.3,<3",
]

MYSQL_REQUIRED = ["mysqlclient", "pymysql", "types-PyMySQL"]
MYSQL_REQUIRED = ["pymysql", "types-PyMySQL"]

HBASE_REQUIRED = [
"happybase>=1.2.0,<3",
Expand Down

0 comments on commit 7ed2d37

Please sign in to comment.