Skip to content

Commit a7437fa

Browse files
achalskevjumba
authored andcommitted
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 <achals@gmail.com> * remove debug Signed-off-by: Achal Shah <achals@gmail.com> * pin requirements Signed-off-by: Achal Shah <achals@gmail.com>
1 parent 40962fc commit a7437fa

12 files changed

+44
-621
lines changed

sdk/python/feast/infra/offline_stores/contrib/postgres_offline_store/postgres.py

-541
This file was deleted.

sdk/python/feast/infra/transformation_servers/Dockerfile

+1-1
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

+9-1
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.1
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
@@ -594,6 +599,7 @@ six==1.16.0
594599
# google-cloud-core
595600
# google-resumable-media
596601
# grpcio
602+
# happybase
597603
# mock
598604
# msrestazure
599605
# pandavro
@@ -638,6 +644,8 @@ termcolor==1.1.0
638644
# via great-expectations
639645
testcontainers==3.5.3
640646
# via feast (setup.py)
647+
thriftpy2==0.4.14
648+
# via happybase
641649
toml==0.10.2
642650
# via
643651
# black

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

+2-1
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

+8-3
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ grpcio-tools==1.44.0
265265
# via feast (setup.py)
266266
h11==0.13.0
267267
# via uvicorn
268+
happybase==1.2.0
269+
# via feast (setup.py)
268270
hiredis==2.0.0
269271
# via feast (setup.py)
270272
httplib2==0.20.4
@@ -430,6 +432,7 @@ notebook==6.4.10
430432
numpy==1.21.5
431433
# via
432434
# altair
435+
# feast (setup.py)
433436
# great-expectations
434437
# pandas
435438
# pandavro
@@ -481,6 +484,8 @@ platformdirs==2.5.1
481484
# via virtualenv
482485
pluggy==1.0.0
483486
# via pytest
487+
ply==3.11
488+
# via thriftpy2
484489
portalocker==2.4.0
485490
# via msal-extensions
486491
pre-commit==2.17.0
@@ -682,7 +687,7 @@ six==1.16.0
682687
# google-cloud-core
683688
# google-resumable-media
684689
# grpcio
685-
# isodate
690+
# happybase
686691
# mock
687692
# msrestazure
688693
# pandavro
@@ -727,8 +732,8 @@ terminado==0.13.2
727732
# via notebook
728733
testcontainers==3.5.3
729734
# via feast (setup.py)
730-
testpath==0.6.0
731-
# via nbconvert
735+
thriftpy2==0.4.14
736+
# via happybase
732737
toml==0.10.2
733738
# via
734739
# black

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

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ mmh3==3.0.0
7979
# via feast (setup.py)
8080
numpy==1.21.5
8181
# via
82+
# feast (setup.py)
8283
# pandas
8384
# pandavro
8485
# pyarrow

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

+9-1
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.1
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
@@ -602,6 +607,7 @@ six==1.16.0
602607
# google-cloud-core
603608
# google-resumable-media
604609
# grpcio
610+
# happybase
605611
# mock
606612
# msrestazure
607613
# pandavro
@@ -646,6 +652,8 @@ termcolor==1.1.0
646652
# via great-expectations
647653
testcontainers==3.5.3
648654
# via feast (setup.py)
655+
thriftpy2==0.4.14
656+
# via happybase
649657
toml==0.10.2
650658
# via
651659
# black

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

+2-1
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

+9-1
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.1
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.9-requirements.txt

+2-1
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

+1
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",

sdk/python/tests/unit/test_feature_views.py

-70
This file was deleted.

0 commit comments

Comments
 (0)