From 2b67fc156c19bf3c9aa8b044b0800a2696cb486a Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Fri, 17 Dec 2021 16:42:53 +0900 Subject: [PATCH] change import order (#5180) Signed-off-by: harupy <17039389+harupy@users.noreply.github.com> --- .github/workflows/cross-version-tests.yml | 3 ++- mlflow/spark.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cross-version-tests.yml b/.github/workflows/cross-version-tests.yml index 5409022463ad1..52441ff0c9af1 100644 --- a/.github/workflows/cross-version-tests.yml +++ b/.github/workflows/cross-version-tests.yml @@ -112,7 +112,8 @@ jobs: - name: Get python version id: get-python-version run: | - if [[ "${{ matrix.package }}" = "scikit-learn" && ! "${{ matrix.version }}" =~ ^0\.* ]] || \ + if [[ "${{ matrix.version }}" = "dev" ]] || \ + [[ "${{ matrix.package }}" = "scikit-learn" && ! "${{ matrix.version }}" =~ ^0\.* ]] || \ [[ "${{ matrix.package }}" = "statsmodels" ]] || \ [[ "${{ matrix.package }}" = "tensorflow" && ! "${{ matrix.version }}" =~ ^2\.[0-6] ]] || \ [[ "${{ matrix.package }}" = "keras" && ! "${{ matrix.version }}" =~ ^2\.[0-6] ]] diff --git a/mlflow/spark.py b/mlflow/spark.py index 63e944e0729bf..71ef06cd13335 100644 --- a/mlflow/spark.py +++ b/mlflow/spark.py @@ -19,13 +19,13 @@ MLeap-compatible arguments. """ import os -import yaml import logging import posixpath import re import shutil import traceback import uuid +import yaml import mlflow from mlflow import pyfunc, mleap