66 push :
77 branches :
88 - master
9+ - ' release-v**'
910 pull_request :
1011 schedule :
1112 - cron : " 0 13 * * *" # This schedule runs at 1pm UTC every day
2829 if [[ ${{ github.event_name }} == "schedule" ]]; then
2930 echo "python_versions=[\"3.8\",\"3.9\",\"3.10\",\"3.11\",\"3.12\"]" >> $GITHUB_ENV
3031 else
31- echo "python_versions=[\"3.12\"]" >> $GITHUB_ENV
32+ echo "python_versions=[\"3.9\", \"3. 12\"]" >> $GITHUB_ENV
3233 fi
3334
3435 build :
4243 python-version : ${{fromJson(needs.detect-python-versions.outputs.python-versions)}}
4344 steps :
4445 - uses : actions/checkout@v4
45- - name : ' Clear action cache'
46+ - name : " Clear action cache"
4647 uses : ./.github/actions/clear-action-cache
4748 - name : Set up Python ${{ matrix.python-version }}
4849 uses : actions/setup-python@v4
5960 run : |
6061 pip install uv
6162 make setup-global-uv
62- uv pip uninstall --system pandas
63+ uv pip uninstall --system pandas pyarrow
6364 uv pip freeze
6465 - name : Test with coverage
6566 run : |
8182 python-version : ${{fromJson(needs.detect-python-versions.outputs.python-versions)}}
8283 steps :
8384 - uses : actions/checkout@v4
84- - name : ' Clear action cache'
85+ - name : " Clear action cache"
8586 uses : ./.github/actions/clear-action-cache
8687 - name : Set up Python ${{ matrix.python-version }}
8788 uses : actions/setup-python@v4
9899 run : |
99100 pip install uv
100101 make setup-global-uv
101- uv pip uninstall --system pandas
102+ uv pip uninstall --system pandas pyarrow
102103 uv pip freeze
103104 - name : Run extras unit tests with coverage
104105 # Skip this step if running on python 3.12 due to https://github.com/tensorflow/tensorflow/issues/62003
@@ -128,10 +129,12 @@ jobs:
128129 pandas : " pandas<2.0.0"
129130 - numpy : " numpy<2.0.0"
130131 pandas : " pandas>=2.0.0"
132+ - numpy : " numpy>=2.0.0"
133+ python-version : " 3.8"
131134
132135 steps :
133136 - uses : actions/checkout@v4
134- - name : ' Clear action cache'
137+ - name : " Clear action cache"
135138 uses : ./.github/actions/clear-action-cache
136139 - name : Set up Python ${{ matrix.python-version }}
137140 uses : actions/setup-python@v4
@@ -242,12 +245,16 @@ jobs:
242245 matrix :
243246 os : [ubuntu-latest]
244247 python-version : ${{fromJson(needs.detect-python-versions.outputs.python-versions)}}
248+ makefile-cmd :
249+ [integration_test_codecov, integration_test_lftransfers_codecov]
245250 steps :
246251 # As described in https://github.com/pypa/setuptools_scm/issues/414, SCM needs git history
247252 # and tags to work.
248253 - uses : actions/checkout@v4
249254 with :
250255 fetch-depth : 0
256+ - name : " Clear action cache"
257+ uses : ./.github/actions/clear-action-cache # sandbox has disk pressure, so we need to clear the cache to get more disk space.
251258 - name : Set up Python ${{ matrix.python-version }}
252259 uses : actions/setup-python@v4
253260 with :
@@ -293,7 +300,7 @@ jobs:
293300 FLYTEKIT_CI : 1
294301 PYTEST_OPTS : -n2
295302 run : |
296- make integration_test_codecov
303+ make ${{ matrix.makefile-cmd }}
297304 - name : Codecov
298305 uses : codecov/codecov-action@v3.1.0
299306 with :
@@ -330,18 +337,21 @@ jobs:
330337 - flytekit-hive
331338 - flytekit-huggingface
332339 - flytekit-identity-aware-proxy
340+ - flytekit-inference
333341 - flytekit-k8s-pod
334342 - flytekit-kf-mpi
335343 - flytekit-kf-pytorch
336344 - flytekit-kf-tensorflow
337345 - flytekit-mlflow
338346 - flytekit-mmcloud
339347 - flytekit-modin
348+ - flytekit-neptune
340349 - flytekit-onnx-pytorch
341350 - flytekit-onnx-scikitlearn
342351 # onnx-tensorflow needs a version of tensorflow that does not work with protobuf>4.
343352 # The issue is being tracked on the tensorflow side in https://github.com/tensorflow/tensorflow/issues/53234#issuecomment-1330111693
344353 # flytekit-onnx-tensorflow
354+ - flytekit-omegaconf
345355 - flytekit-openai
346356 - flytekit-pandera
347357 - flytekit-papermill
@@ -354,6 +364,10 @@ jobs:
354364 - flytekit-vaex
355365 - flytekit-whylogs
356366 exclude :
367+ - python-version : 3.8
368+ plugin-names : " flytekit-aws-sagemaker"
369+ - python-version : 3.9
370+ plugin-names : " flytekit-aws-sagemaker"
357371 # flytekit-modin depends on ray which does not have a 3.11 wheel yet.
358372 # Issue tracked in https://github.com/ray-project/ray/issues/27881
359373 - python-version : 3.11
@@ -383,9 +397,6 @@ jobs:
383397 # apache-beam, one of flytekit-airflow dependencies, does not support python 3.12: https://github.com/apache/beam/issues/29149
384398 - python-version : 3.12
385399 plugin-names : " flytekit-airflow"
386- # ydata-profiling, a dependency of flytekit-deck-standard, does not support python 3.12: https://github.com/ydataai/ydata-profiling/issues/1510
387- - python-version : 3.12
388- plugin-names : " flytekit-deck-standard"
389400 # Tensorflow is a dependency of flytekit-mlflow tests and that is not supported yet: https://github.com/tensorflow/tensorflow/issues/62003
390401 - python-version : 3.12
391402 plugin-names : " flytekit-mlflow"
@@ -403,7 +414,7 @@ jobs:
403414 plugin-names : " flytekit-kf-pytorch"
404415 steps :
405416 - uses : actions/checkout@v4
406- - name : ' Clear action cache'
417+ - name : " Clear action cache"
407418 uses : ./.github/actions/clear-action-cache
408419 - name : Set up Python ${{ matrix.python-version }}
409420 uses : actions/setup-python@v4
@@ -426,7 +437,7 @@ jobs:
426437 uv pip install --system .
427438 if [ -f dev-requirements.in ]; then uv pip install --system -r dev-requirements.in; fi
428439 # TODO: move to protobuf>=5. Github issue: https://github.com/flyteorg/flyte/issues/5448
429- uv pip install --system -U $GITHUB_WORKSPACE "protobuf<5"
440+ uv pip install --system -U $GITHUB_WORKSPACE "protobuf<5" "git+https://github.com/flyteorg/flyte.git@master#subdirectory=flyteidl"
430441 # TODO: remove this when numpy v2 in onnx has been resolved
431442 if [[ ${{ matrix.plugin-names }} == *"onnx"* || ${{ matrix.plugin-names }} == "flytekit-sqlalchemy" || ${{ matrix.plugin-names }} == "flytekit-pandera" ]]; then
432443 uv pip install --system "numpy<2.0.0"
0 commit comments