Skip to content

Commit 25613b4

Browse files
authored
fix: Remove ci extra from the feature transformation server dockerfile (#2618)
* fix: Remove ci extra from the feature transformation server dockerfile and pin numpy for py3.7 support Signed-off-by: Achal Shah <[email protected]> * remove debug Signed-off-by: Achal Shah <[email protected]> * pin requirements Signed-off-by: Achal Shah <[email protected]>
1 parent 5200fde commit 25613b4

File tree

10 files changed

+47
-10
lines changed

10 files changed

+47
-10
lines changed

sdk/python/feast/infra/transformation_servers/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY protos protos
99
COPY README.md README.md
1010

1111
# Install dependencies
12-
RUN pip3 install -e 'sdk/python[ci]'
12+
RUN pip3 install -e 'sdk/python'
1313

1414
# Start feature transformation server
1515
CMD [ "python", "app.py" ]

sdk/python/requirements/py3.10-ci-requirements.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ grpcio-tools==1.44.0
255255
# via feast (setup.py)
256256
h11==0.13.0
257257
# via uvicorn
258+
happybase==1.2.0
259+
# via feast (setup.py)
258260
hiredis==2.0.0
259261
# via feast (setup.py)
260262
httplib2==0.20.4
@@ -356,9 +358,10 @@ nbformat==5.3.0
356358
# via great-expectations
357359
nodeenv==1.6.0
358360
# via pre-commit
359-
numpy==1.22.3
361+
numpy==1.21.6
360362
# via
361363
# altair
364+
# feast (setup.py)
362365
# great-expectations
363366
# pandas
364367
# pandavro
@@ -407,6 +410,8 @@ platformdirs==2.5.2
407410
# via virtualenv
408411
pluggy==1.0.0
409412
# via pytest
413+
ply==3.11
414+
# via thriftpy2
410415
portalocker==2.4.0
411416
# via msal-extensions
412417
pre-commit==2.18.1
@@ -596,6 +601,7 @@ six==1.16.0
596601
# google-cloud-core
597602
# google-resumable-media
598603
# grpcio
604+
# happybase
599605
# mock
600606
# msrestazure
601607
# pandavro
@@ -640,6 +646,8 @@ termcolor==1.1.0
640646
# via great-expectations
641647
testcontainers==3.5.3
642648
# via feast (setup.py)
649+
thriftpy2==0.4.14
650+
# via happybase
643651
toml==0.10.2
644652
# via
645653
# black

sdk/python/requirements/py3.10-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ markupsafe==2.1.1
7373
# via jinja2
7474
mmh3==3.0.0
7575
# via feast (setup.py)
76-
numpy==1.22.3
76+
numpy==1.21.6
7777
# via
78+
# feast (setup.py)
7879
# pandas
7980
# pandavro
8081
# pyarrow

sdk/python/requirements/py3.7-ci-requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ grpcio-tools==1.44.0
257257
# via feast (setup.py)
258258
h11==0.13.0
259259
# via uvicorn
260+
happybase==1.2.0
261+
# via feast (setup.py)
260262
hiredis==2.0.0
261263
# via feast (setup.py)
262264
httplib2==0.20.4
@@ -374,6 +376,7 @@ nodeenv==1.6.0
374376
numpy==1.21.6
375377
# via
376378
# altair
379+
# feast (setup.py)
377380
# great-expectations
378381
# pandas
379382
# pandavro
@@ -422,6 +425,8 @@ platformdirs==2.5.2
422425
# via virtualenv
423426
pluggy==1.0.0
424427
# via pytest
428+
ply==3.11
429+
# via thriftpy2
425430
portalocker==2.4.0
426431
# via msal-extensions
427432
pre-commit==2.18.1
@@ -611,6 +616,7 @@ six==1.16.0
611616
# google-cloud-core
612617
# google-resumable-media
613618
# grpcio
619+
# happybase
614620
# mock
615621
# msrestazure
616622
# pandavro
@@ -653,6 +659,8 @@ termcolor==1.1.0
653659
# via great-expectations
654660
testcontainers==3.5.3
655661
# via feast (setup.py)
662+
thriftpy2==0.4.14
663+
# via happybase
656664
toml==0.10.2
657665
# via
658666
# black

sdk/python/requirements/py3.7-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ mmh3==3.0.0
8181
# via feast (setup.py)
8282
numpy==1.21.6
8383
# via
84+
# feast (setup.py)
8485
# pandas
8586
# pandavro
8687
# pyarrow

sdk/python/requirements/py3.8-ci-requirements.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ grpcio-tools==1.44.0
259259
# via feast (setup.py)
260260
h11==0.13.0
261261
# via uvicorn
262+
happybase==1.2.0
263+
# via feast (setup.py)
262264
hiredis==2.0.0
263265
# via feast (setup.py)
264266
httplib2==0.20.4
@@ -362,9 +364,10 @@ nbformat==5.3.0
362364
# via great-expectations
363365
nodeenv==1.6.0
364366
# via pre-commit
365-
numpy==1.22.3
367+
numpy==1.21.6
366368
# via
367369
# altair
370+
# feast (setup.py)
368371
# great-expectations
369372
# pandas
370373
# pandavro
@@ -413,6 +416,8 @@ platformdirs==2.5.2
413416
# via virtualenv
414417
pluggy==1.0.0
415418
# via pytest
419+
ply==3.11
420+
# via thriftpy2
416421
portalocker==2.4.0
417422
# via msal-extensions
418423
pre-commit==2.18.1
@@ -604,6 +609,7 @@ six==1.16.0
604609
# google-cloud-core
605610
# google-resumable-media
606611
# grpcio
612+
# happybase
607613
# mock
608614
# msrestazure
609615
# pandavro
@@ -648,6 +654,8 @@ termcolor==1.1.0
648654
# via great-expectations
649655
testcontainers==3.5.3
650656
# via feast (setup.py)
657+
thriftpy2==0.4.14
658+
# via happybase
651659
toml==0.10.2
652660
# via
653661
# black

sdk/python/requirements/py3.8-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ markupsafe==2.1.1
7575
# via jinja2
7676
mmh3==3.0.0
7777
# via feast (setup.py)
78-
numpy==1.22.3
78+
numpy==1.21.6
7979
# via
80+
# feast (setup.py)
8081
# pandas
8182
# pandavro
8283
# pyarrow

sdk/python/requirements/py3.9-ci-requirements.txt

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ grpcio-tools==1.44.0
255255
# via feast (setup.py)
256256
h11==0.13.0
257257
# via uvicorn
258+
happybase==1.2.0
259+
# via feast (setup.py)
258260
hiredis==2.0.0
259261
# via feast (setup.py)
260262
httplib2==0.20.4
@@ -356,9 +358,10 @@ nbformat==5.3.0
356358
# via great-expectations
357359
nodeenv==1.6.0
358360
# via pre-commit
359-
numpy==1.22.3
361+
numpy==1.21.6
360362
# via
361363
# altair
364+
# feast (setup.py)
362365
# great-expectations
363366
# pandas
364367
# pandavro
@@ -407,6 +410,8 @@ platformdirs==2.5.2
407410
# via virtualenv
408411
pluggy==1.0.0
409412
# via pytest
413+
ply==3.11
414+
# via thriftpy2
410415
portalocker==2.4.0
411416
# via msal-extensions
412417
pre-commit==2.18.1
@@ -579,10 +584,10 @@ responses==0.20.0
579584
# via moto
580585
rsa==4.8
581586
# via google-auth
582-
ruamel.yaml==0.17.17
587+
ruamel-yaml==0.17.17
583588
# via great-expectations
584-
ruamel.yaml.clib==0.2.6
585-
# via ruamel.yaml
589+
ruamel-yaml-clib==0.2.6
590+
# via ruamel-yaml
586591
s3transfer==0.5.2
587592
# via boto3
588593
scipy==1.8.0
@@ -598,6 +603,7 @@ six==1.16.0
598603
# google-cloud-core
599604
# google-resumable-media
600605
# grpcio
606+
# happybase
601607
# mock
602608
# msrestazure
603609
# pandavro
@@ -642,6 +648,8 @@ termcolor==1.1.0
642648
# via great-expectations
643649
testcontainers==3.5.3
644650
# via feast (setup.py)
651+
thriftpy2==0.4.14
652+
# via happybase
645653
toml==0.10.2
646654
# via
647655
# black

sdk/python/requirements/py3.9-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ markupsafe==2.1.1
7373
# via jinja2
7474
mmh3==3.0.0
7575
# via feast (setup.py)
76-
numpy==1.22.3
76+
numpy==1.21.6
7777
# via
78+
# feast (setup.py)
7879
# pandas
7980
# pandavro
8081
# pyarrow

sdk/python/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"Jinja2>=2.0.0",
5858
"jsonschema",
5959
"mmh3",
60+
"numpy<1.22", # 1.22 drops support for python 3.7.
6061
"pandas>=1.0.0",
6162
"pandavro==1.5.*",
6263
"protobuf>=3.10,<3.20",

0 commit comments

Comments
 (0)