diff --git a/README.md b/README.md index f3e5194..51b0d12 100644 --- a/README.md +++ b/README.md @@ -380,7 +380,9 @@ Current release info | Name | Downloads | Version | Platforms | | --- | --- | --- | --- | | [![Conda Recipe](https://img.shields.io/badge/recipe-mlflow-green.svg)](https://anaconda.org/conda-forge/mlflow) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mlflow.svg)](https://anaconda.org/conda-forge/mlflow) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mlflow.svg)](https://anaconda.org/conda-forge/mlflow) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mlflow.svg)](https://anaconda.org/conda-forge/mlflow) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-mlflow--gateway-green.svg)](https://anaconda.org/conda-forge/mlflow-gateway) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mlflow-gateway.svg)](https://anaconda.org/conda-forge/mlflow-gateway) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mlflow-gateway.svg)](https://anaconda.org/conda-forge/mlflow-gateway) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mlflow-gateway.svg)](https://anaconda.org/conda-forge/mlflow-gateway) | | [![Conda Recipe](https://img.shields.io/badge/recipe-mlflow--skinny-green.svg)](https://anaconda.org/conda-forge/mlflow-skinny) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mlflow-skinny.svg)](https://anaconda.org/conda-forge/mlflow-skinny) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mlflow-skinny.svg)](https://anaconda.org/conda-forge/mlflow-skinny) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mlflow-skinny.svg)](https://anaconda.org/conda-forge/mlflow-skinny) | +| [![Conda Recipe](https://img.shields.io/badge/recipe-mlflow--skinny--gateway-green.svg)](https://anaconda.org/conda-forge/mlflow-skinny-gateway) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mlflow-skinny-gateway.svg)](https://anaconda.org/conda-forge/mlflow-skinny-gateway) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mlflow-skinny-gateway.svg)](https://anaconda.org/conda-forge/mlflow-skinny-gateway) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mlflow-skinny-gateway.svg)](https://anaconda.org/conda-forge/mlflow-skinny-gateway) | | [![Conda Recipe](https://img.shields.io/badge/recipe-mlflow--ui--dbg-green.svg)](https://anaconda.org/conda-forge/mlflow-ui-dbg) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/mlflow-ui-dbg.svg)](https://anaconda.org/conda-forge/mlflow-ui-dbg) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/mlflow-ui-dbg.svg)](https://anaconda.org/conda-forge/mlflow-ui-dbg) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/mlflow-ui-dbg.svg)](https://anaconda.org/conda-forge/mlflow-ui-dbg) | Installing mlflow @@ -393,16 +395,16 @@ conda config --add channels conda-forge conda config --set channel_priority strict ``` -Once the `conda-forge` channel has been enabled, `mlflow, mlflow-skinny, mlflow-ui-dbg` can be installed with `conda`: +Once the `conda-forge` channel has been enabled, `mlflow, mlflow-gateway, mlflow-skinny, mlflow-skinny-gateway, mlflow-ui-dbg` can be installed with `conda`: ``` -conda install mlflow mlflow-skinny mlflow-ui-dbg +conda install mlflow mlflow-gateway mlflow-skinny mlflow-skinny-gateway mlflow-ui-dbg ``` or with `mamba`: ``` -mamba install mlflow mlflow-skinny mlflow-ui-dbg +mamba install mlflow mlflow-gateway mlflow-skinny mlflow-skinny-gateway mlflow-ui-dbg ``` It is possible to list all of the versions of `mlflow` available on your platform with `conda`: diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ab129cd..e00d492 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -17,7 +17,7 @@ source: sha256: fd569232e65d69c0cb7006847b1a1bd80831bf0e19378052a44ee5c0ae349182 build: - number: 0 + number: 1 outputs: - name: mlflow{{ mlflow_suffix }} @@ -68,6 +68,14 @@ outputs: - matplotlib-base <4 # [mlflow_variant != "skinny"] run_constrained: - mlflow{{ mlflow_other }} <0a0 + # mlflow[gateway] requirements as it is auto-imported if all dependencies are met + # See https://github.com/mlflow/mlflow/blob/045ab98cb4c08e71f0d740a0d5a033d6c69dcf8c/mlflow/__init__.py#L244-L249 + - pydantic >=1.0,<2 + - fastapi <1 + - uvicorn-standard <1 + - watchfiles <1 + - psutil <6 + - aiohttp <4 test: imports: - mlflow @@ -112,7 +120,27 @@ outputs: - {{ pin_subpackage('mlflow' + mlflow_suffix, exact=True) }} script: build-mlflow.bat # [win] script: build-mlflow.sh # [unix] + test: + commands: + - exit 0 + - name: mlflow{{ mlflow_suffix }}-gateway + build: + noarch: python + # Skip this package for cross-builds. We will only need a single upload anyways + skip: true # [not linux64] + requirements: + run: + - {{ pin_subpackage('mlflow' + mlflow_suffix, max_pin='x.x.x') }} + - pydantic >=1.0,<2 + - fastapi <1 + - uvicorn-standard <1 + - watchfiles <1 + - psutil <6 + - aiohttp <4 + test: + imports: + - mlflow.gateway about: home: https://mlflow.org/