forked from conda-forge/mlflow-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mlflow 2.18.0 #8
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
52e4c77
2.17.2
skupr-anaconda 6d5c0a8
2.18.0
skupr-anaconda 0f1eb9d
Fix indenation
skupr-anaconda 38c3a03
Rewrite jinja2 set variable
skupr-anaconda a529f4b
Revert changes in mlflow_other set variable
skupr-anaconda 844e021
Revert changes of mlflow in run_constrained
skupr-anaconda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mlflow_variant: | ||
- default | ||
- skinny | ||
- default | ||
- skinny |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% set name = "mlflow" %} | ||
{% set version = "2.16.2" %} | ||
{% set version = "2.18.0" %} | ||
|
||
# MLFlow offers two variants, a "normal" install and a "skinny" install with | ||
# a reduced installation and fewer dependencies. The skinny installation is obtained | ||
|
@@ -23,13 +23,11 @@ package: | |
source: | ||
# Using github as source for mlflow-skinny which does not exist on PyPI | ||
url: https://github.com/mlflow/mlflow/archive/refs/tags/v{{ version }}.zip | ||
sha256: d101bf639b7671408d67d357f4af207e8655a41d50ca3befa951026d49751e39 | ||
sha256: 910ad1e2fce93b412063637d465e9291c99678a3bbccbf2b4f7736887321f44b | ||
|
||
build: | ||
number: 0 | ||
entry_points: | ||
- mlflow=mlflow.cli:cli | ||
skip: true # [py<38 or s390x] | ||
skip: true # [py<39 or s390x] | ||
script: | | ||
{% if mlflow_variant == "skinny" %} | ||
export MLFLOW_SKINNY=1 # [not win] | ||
|
@@ -39,11 +37,13 @@ build: | |
cp {{ SRC_DIR }}/pyproject.skinny.toml pyproject.toml # [not win] | ||
copy {{ SRC_DIR }}\pyproject.skinny.toml pyproject.toml # [win] | ||
{% endif %} | ||
{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --ignore-installed --no-cache-dir -vvv | ||
{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --ignore-installed --no-cache-dir -vv | ||
{% if mlflow_variant == "skinny" %} | ||
cp orig_pyproject.toml pyproject.toml # [not win] | ||
copy orig_pyproject.toml pyproject.toml # [win] | ||
{% endif %} | ||
entry_points: | ||
- mlflow=mlflow.cli:cli | ||
|
||
requirements: | ||
host: | ||
|
@@ -80,18 +80,20 @@ requirements: | |
- matplotlib-base <4 | ||
- numpy <3 | ||
- pandas <3 | ||
- pyarrow <18,>=4.0.0 | ||
- pyarrow <19,>=4.0.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. scrub that version mismatch with Jira |
||
- scikit-learn <2 | ||
- scipy <2 | ||
- sqlalchemy >=1.4.0,<3 | ||
- waitress <4 # [win] | ||
{% endif %} | ||
run_constrained: | ||
- mlflow{{ mlflow_other }} <0a0 | ||
# extras | ||
- google-cloud-storage >=1.30.0 | ||
- azureml-core >=1.2.0 | ||
- mlserver >=1.2.0, !=1.3.1, <1.4.0 | ||
- mlserver-mlflow >=1.2.0,!=1.3.1,<1.4.0 | ||
# mlserver | ||
- mlserver >=1.2.0, !=1.3.1 | ||
- mlserver-mlflow >=1.2.0,!=1.3.1 | ||
# mlflow-gateway, mlflow-skinny-gateway, genai | ||
- pydantic >=1.0,<3 | ||
- fastapi <1 | ||
|
@@ -105,6 +107,8 @@ requirements: | |
- azure-storage-file-datalake >12 | ||
- google-cloud-storage >=1.30.0 | ||
- boto3 >1 | ||
# langchain | ||
- langchain >=0.1.0,<=0.3.7 | ||
|
||
test: | ||
imports: | ||
|
@@ -125,20 +129,28 @@ test: | |
{% endif %} | ||
source_files: | ||
- tests/artifacts | ||
requires: | ||
- pip | ||
- pytest | ||
- pillow | ||
- numpy | ||
commands: | ||
- mlflow --help | ||
- mlflow --version | ||
- pip check | ||
# these tests come from the conda-forge recipe | ||
{% if mlflow_variant != "skinny" %} | ||
- mlflow recipes --help | ||
# This should not be packaged | ||
- test ! -f $SP_DIR/pylint_plugins # [unix] | ||
- test ! -f $SP_DIR/pylint_plugins # [unix] | ||
- echo "Checking 'mlflow' exists..." # [unix] | ||
- pip list | grep "mlflow \+${PKG_VERSION}" # [unix] | ||
# smoke tests | ||
# skip test_log_artifact_windows_path_with_hostname (run only for win) | ||
# because needs a data file | ||
- pytest -vv tests/artifacts -k "not test_log_artifact_windows_path_with_hostname" | ||
{% else %} | ||
- echo "Checking 'mlflow-skinny' exists..." # [unix] | ||
- pip list | grep "mlflow-skinny \+${PKG_VERSION}" # [unix] | ||
# smoke tests | ||
# skip test_load_image because numpy is not included in the skinny variant | ||
|
@@ -148,11 +160,6 @@ test: | |
{% endif %} | ||
# test from .github/workflows/test-package-build.yml#L97 | ||
- python -c "import mlflow; print(mlflow.__version__); assert(mlflow.__version__ == '{{ version }}');" | ||
requires: | ||
- pip | ||
- pytest | ||
- pillow | ||
- numpy | ||
|
||
about: | ||
home: https://mlflow.org | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
scrub that version mismatch with Jira