@@ -106,7 +106,7 @@ jobs:
106
106
strategy :
107
107
fail-fast : false
108
108
matrix :
109
- python-version : [3.8 ]
109
+ python-version : ["3.10" ]
110
110
protobuf-version : ['==3.19.6', '']
111
111
steps :
112
112
@@ -127,7 +127,7 @@ jobs:
127
127
128
128
- name : Build wheels with setuptools-golang-build-manylinux-wheel
129
129
run : |
130
- setuptools-golang-build-manylinux-wheels --pythons cp38-cp38
130
+ setuptools-golang-build-manylinux-wheels --pythons cp310-cp310
131
131
- name : Prepare environment
132
132
run : |
133
133
docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -138,7 +138,7 @@ jobs:
138
138
if [[ "${{ matrix.protobuf-version }}" == "==3.19.6" ]]; then
139
139
pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5
140
140
else
141
- pip install -U protobuf${{ matrix.protobuf-version }}
141
+ pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.65.5 grpcio-reflection==1.65.5 grpcio-health-checking==1.65.5
142
142
fi
143
143
jina
144
144
export JINA_LOG_LEVEL="ERROR"
@@ -180,7 +180,7 @@ jobs:
180
180
strategy :
181
181
fail-fast : false
182
182
matrix :
183
- python-version : [3.8 ]
183
+ python-version : ["3.10" ]
184
184
protobuf-version : ['==3.19.6', '']
185
185
steps :
186
186
@@ -202,7 +202,7 @@ jobs:
202
202
203
203
- name : Build wheels with setuptools-golang-build-manylinux-wheel
204
204
run : |
205
- setuptools-golang-build-manylinux-wheels --pythons cp38-cp38
205
+ setuptools-golang-build-manylinux-wheels --pythons cp310-cp310
206
206
- name : Prepare environment
207
207
run : |
208
208
docker build -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -213,7 +213,7 @@ jobs:
213
213
if [[ "${{ matrix.protobuf-version }}" == "==3.19.6" ]]; then
214
214
pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.47.5 grpcio-reflection==1.47.5 grpcio-health-checking==1.47.5
215
215
else
216
- pip install -U protobuf${{ matrix.protobuf-version }}
216
+ pip install -U protobuf${{ matrix.protobuf-version }} grpcio==1.65.5 grpcio-reflection==1.65.5 grpcio-health-checking==1.65.5
217
217
fi
218
218
jina
219
219
export JINA_LOG_LEVEL="ERROR"
@@ -281,9 +281,6 @@ jobs:
281
281
matrix :
282
282
include :
283
283
# linux
284
- - os : ubuntu-latest
285
- python : ' 3.7'
286
- python-manylinux-tag : " cp37-cp37m"
287
284
- os : ubuntu-latest
288
285
python : ' 3.8'
289
286
python-manylinux-tag : " cp38-cp38"
@@ -451,7 +448,7 @@ jobs:
451
448
strategy :
452
449
fail-fast : false
453
450
matrix :
454
- python-version : [3.8 ]
451
+ python-version : ["3.10" ]
455
452
test-path : ${{fromJson(needs.prep-testbed.outputs.matrix)}}
456
453
steps :
457
454
@@ -473,7 +470,7 @@ jobs:
473
470
474
471
- name : Build wheels with setuptools-golang-build-manylinux-wheel
475
472
run : |
476
- setuptools-golang-build-manylinux-wheels --pythons cp38-cp38
473
+ setuptools-golang-build-manylinux-wheels --pythons cp310-cp310
477
474
- name : Prepare environment
478
475
run : |
479
476
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -482,6 +479,7 @@ jobs:
482
479
WHEEL_FILE=$(ls dist/*whl)
483
480
pip install "$WHEEL_FILE[all]" --no-cache-dir
484
481
pip install docarray==0.21.0
482
+ pip install grpcio==1.65.5 grpcio-reflection==1.65.5 grpcio-health-checking==1.65.5
485
483
jina
486
484
export JINA_LOG_LEVEL="ERROR"
487
485
- name : Test
@@ -503,7 +501,7 @@ jobs:
503
501
files : " coverage.xml"
504
502
- name : Upload coverage from test to Codecov
505
503
506
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
504
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
507
505
with :
508
506
file : coverage.xml
509
507
name : ${{ matrix.test-path }}-codecov
@@ -587,10 +585,10 @@ jobs:
587
585
# with:
588
586
# access_token: ${{ github.token }}
589
587
590
- - name : Set up Python 3.8
588
+ - name : Set up Python 3.10
591
589
uses : actions/setup-python@v4
592
590
with :
593
- python-version : 3.8
591
+ python-version : " 3.10 "
594
592
- name : Test hubapp with hubpods
595
593
run : |
596
594
./tests/jinahub/test_integration.sh
@@ -604,10 +602,10 @@ jobs:
604
602
runs-on : ubuntu-latest
605
603
steps :
606
604
607
- - name : Set up Python 3.8
605
+ - name : Set up Python 3.10
608
606
uses : actions/setup-python@v4
609
607
with :
610
- python-version : 3.8
608
+ python-version : " 3.10 "
611
609
- name : Prepare enviroment
612
610
run : |
613
611
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -634,7 +632,7 @@ jobs:
634
632
files : " coverage.xml"
635
633
- name : Upload coverage from test to Codecov
636
634
637
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
635
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
638
636
with :
639
637
file : coverage.xml
640
638
name : ${{ matrix.test-path }}-codecov
@@ -646,10 +644,10 @@ jobs:
646
644
runs-on : ubuntu-latest
647
645
steps :
648
646
649
- - name : Set up Python 3.8
647
+ - name : Set up Python 3.10
650
648
uses : actions/setup-python@v4
651
649
with :
652
- python-version : 3.8
650
+ python-version : " 3.10 "
653
651
- name : Prepare enviroment
654
652
run : |
655
653
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -676,7 +674,7 @@ jobs:
676
674
files : " coverage.xml"
677
675
- name : Upload coverage from test to Codecov
678
676
679
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
677
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
680
678
with :
681
679
file : coverage.xml
682
680
name : ${{ matrix.test-path }}-codecov
@@ -688,10 +686,10 @@ jobs:
688
686
runs-on : ubuntu-latest
689
687
steps :
690
688
691
- - name : Set up Python 3.8
689
+ - name : Set up Python 3.10
692
690
uses : actions/setup-python@v4
693
691
with :
694
- python-version : 3.8
692
+ python-version : " 3.10 "
695
693
- name : Prepare enviroment
696
694
run : |
697
695
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -718,7 +716,7 @@ jobs:
718
716
files : " coverage.xml"
719
717
- name : Upload coverage from test to Codecov
720
718
721
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
719
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
722
720
with :
723
721
file : coverage.xml
724
722
name : ${{ matrix.test-path }}-codecov
@@ -730,10 +728,10 @@ jobs:
730
728
runs-on : ubuntu-latest
731
729
steps :
732
730
733
- - name : Set up Python 3.8
731
+ - name : Set up Python 3.10
734
732
uses : actions/setup-python@v4
735
733
with :
736
- python-version : 3.8
734
+ python-version : " 3.10 "
737
735
- name : Prepare enviroment
738
736
run : |
739
737
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -761,7 +759,7 @@ jobs:
761
759
files : " coverage.xml"
762
760
- name : Upload coverage from test to Codecov
763
761
764
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
762
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
765
763
with :
766
764
file : coverage.xml
767
765
name : ${{ matrix.test-path }}-codecov
@@ -773,10 +771,10 @@ jobs:
773
771
runs-on : ubuntu-latest
774
772
steps :
775
773
776
- - name : Set up Python 3.8
774
+ - name : Set up Python 3.10
777
775
uses : actions/setup-python@v4
778
776
with :
779
- python-version : 3.8
777
+ python-version : " 3.10 "
780
778
- name : Prepare enviroment
781
779
run : |
782
780
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -801,7 +799,7 @@ jobs:
801
799
files : " coverage.xml"
802
800
- name : Upload coverage from test to Codecov
803
801
804
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
802
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
805
803
with :
806
804
file : coverage.xml
807
805
name : ${{ matrix.test-path }}-codecov
@@ -813,10 +811,10 @@ jobs:
813
811
runs-on : ubuntu-latest
814
812
steps :
815
813
816
- - name : Set up Python 3.8
814
+ - name : Set up Python 3.10
817
815
uses : actions/setup-python@v4
818
816
with :
819
- python-version : 3.8
817
+ python-version : " 3.10 "
820
818
- name : Prepare enviroment
821
819
run : |
822
820
docker build --build-arg DOCARRAY_VERSION="0.21.0" -f Dockerfiles/test-pip.Dockerfile -t jinaai/jina:test-pip .
@@ -839,7 +837,7 @@ jobs:
839
837
files : " coverage.xml"
840
838
- name : Upload coverage from test to Codecov
841
839
842
- if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8 '
840
+ if : steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.10 '
843
841
with :
844
842
file : coverage.xml
845
843
name : ${{ matrix.test-path }}-codecov
0 commit comments