Skip to content

Commit

Permalink
Set a minimum version to mlflow in flytekit plugin (#2324)
Browse files Browse the repository at this point in the history
* Set `mlflow>=2.10.0`

Signed-off-by: Eduardo Apolinario <[email protected]>

* Run mlflow tests on python 3.11.

Signed-off-by: Eduardo Apolinario <[email protected]>

---------

Signed-off-by: Eduardo Apolinario <[email protected]>
Co-authored-by: Eduardo Apolinario <[email protected]>
  • Loading branch information
eapolinario and eapolinario authored Apr 4, 2024
1 parent 0a7a72a commit f4d894a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pythonbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,6 @@ jobs:
plugin-names: "flytekit-onnx-scikitlearn"
- python-version: 3.11
plugin-names: "flytekit-onnx-tensorflow"
# numba, a dependency of mlflow, doesn't support python 3.11
# https://github.com/numba/numba/issues/8304
- python-version: 3.11
plugin-names: "flytekit-mlflow"
# vaex currently doesn't support python 3.11
- python-version: 3.11
plugin-names: "flytekit-vaex"
Expand Down
4 changes: 2 additions & 2 deletions plugins/flytekit-mlflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

microlib_name = f"flytekitplugins-{PLUGIN_NAME}"

# TODO: support mlflow 2.0+
plugin_requires = ["flytekit>=1.1.0,<2.0.0", "plotly", "mlflow<2.0.0", "pandas"]
plugin_requires = ["flytekit>=1.1.0,<2.0.0", "plotly", "mlflow>=2.10.0", "pandas"]

__version__ = "0.0.0+develop"

Expand All @@ -27,6 +26,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
Expand Down

0 comments on commit f4d894a

Please sign in to comment.