Skip to content

Commit

Permalink
Merge pull request #142 from xhochy/mlflow-gateway
Browse files Browse the repository at this point in the history
Add mlflow-gateway output
  • Loading branch information
xhochy authored Sep 12, 2023
2 parents 857093e + 8f9a937 commit 6611914
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 29 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source:
sha256: fd569232e65d69c0cb7006847b1a1bd80831bf0e19378052a44ee5c0ae349182

build:
number: 0
number: 1

outputs:
- name: mlflow{{ mlflow_suffix }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit 6611914

Please sign in to comment.