Skip to content
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

Bump upper constrains of MLflow server dependencies #3863

Merged
merged 5 commits into from
Jan 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions notebooks/resources/elasticnet_wine_v2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: machinelearning.seldon.io/v1alpha2
kind: SeldonDeployment
metadata:
name: mlflow
spec:
protocol: kfserving # Activate v2 protocol
name: wines
predictors:
- graph:
children: []
implementation: MLFLOW_SERVER
modelUri: gs://seldon-models/v1.12.0-dev/mlflow/elasticnet_wine
name: classifier
name: default
replicas: 1
4 changes: 2 additions & 2 deletions notebooks/server_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@
" - graph:\n",
" children: []\n",
" implementation: MLFLOW_SERVER\n",
" modelUri: gs://seldon-models/v1.10.0-dev/mlflow/elasticnet_wine\n",
" modelUri: gs://seldon-models/v1.12.0-dev/mlflow/elasticnet_wine\n",
" name: classifier\n",
" name: default\n",
" replicas: 1"
Expand Down Expand Up @@ -1164,7 +1164,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
"version": "3.8.12"
},
"varInspector": {
"cols": {
Expand Down
9 changes: 5 additions & 4 deletions servers/mlflowserver/mlflowserver/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pyyaml==5.4.0
requests<2.25.0
mlflow<1.12.0
pandas<1.2.0
# Addresses CVE SNYK-PYTHON-PYYAML-590151
PyYAML >= 5.4, < 5.5
requests < 2.28.0
mlflow < 1.24.0
pandas < 1.2.0

adriangonz marked this conversation as resolved.
Show resolved Hide resolved
# local seldon-core inside the s2i image
/microservice/python
2 changes: 1 addition & 1 deletion testing/scripts/kind_test_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if [[ ${KIND_EXIT_VALUE} -eq 0 ]]; then
echo "Files changed in prepackaged, python, or wrapper folder:"
git --no-pager diff --exit-code --name-only origin/master ../../servers ../../integrations
PREPACKAGED_MODIFIED=$?
if [[ $PREPACKAGED_MODIFIED -gt 0 ]] && [[ $PYTHON_MODIFIED -gt 0 ]]; then
if [[ $PREPACKAGED_MODIFIED -gt 0 ]] || [[ $PYTHON_MODIFIED -gt 0 ]]; then
make kind_build_prepackaged
PREPACKAGED_EXIT_VALUE=$?
if [[ $PREPACKAGED_EXIT_VALUE -gt 0 ]]; then
Expand Down