From a3bcc5d3356bcfdb4670aaccf9e58e7fb03b61e7 Mon Sep 17 00:00:00 2001 From: Sarah Yurick Date: Wed, 21 Dec 2022 12:23:15 -0800 Subject: [PATCH 1/3] use np.float64 instead of np.float --- tests/integration/test_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_function.py b/tests/integration/test_function.py index d1d7dc674..c219cb4cc 100644 --- a/tests/integration/test_function.py +++ b/tests/integration/test_function.py @@ -118,7 +118,7 @@ def f(row, k1, k2): c.register_function( f, "f", - [("a", np.float), ("k1", const_type_k1), ("k2", const_type_k2)], + [("a", np.float64), ("k1", const_type_k1), ("k2", const_type_k2)], retty, row_udf=True, ) From e7c48789dc345f7d463ea1e79f84496a5c35627d Mon Sep 17 00:00:00 2001 From: Sarah Yurick Date: Wed, 21 Dec 2022 12:53:51 -0800 Subject: [PATCH 2/3] skip tpot tests --- tests/integration/test_model.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/test_model.py b/tests/integration/test_model.py index 72141894d..aba0ad95e 100644 --- a/tests/integration/test_model.py +++ b/tests/integration/test_model.py @@ -899,6 +899,7 @@ def test_ml_experiment(c, client, training_df): # TODO - many ML tests fail on clusters without sklearn - can we avoid this? @skip_if_external_scheduler +@pytest.mark.skip(reason="Waiting on https://github.com/EpistasisLab/tpot/pull/1280") def test_experiment_automl_classifier(c, client, training_df): tpot = pytest.importorskip("tpot", reason="tpot not installed") # currently tested with tpot== @@ -924,6 +925,7 @@ def test_experiment_automl_classifier(c, client, training_df): # TODO - many ML tests fail on clusters without sklearn - can we avoid this? @skip_if_external_scheduler +@pytest.mark.skip(reason="Waiting on https://github.com/EpistasisLab/tpot/pull/1280") def test_experiment_automl_regressor(c, client, training_df): tpot = pytest.importorskip("tpot", reason="tpot not installed") # test regressor From 648732e468348ddc68918da00845fd8e77c7e359 Mon Sep 17 00:00:00 2001 From: Sarah Yurick Date: Wed, 21 Dec 2022 13:20:31 -0800 Subject: [PATCH 3/3] link to randomstate issue --- tests/integration/test_rex.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/test_rex.py b/tests/integration/test_rex.py index 478333cca..ca1fc41b2 100644 --- a/tests/integration/test_rex.py +++ b/tests/integration/test_rex.py @@ -5,6 +5,7 @@ import pandas as pd import pytest +from tests.integration.fixtures import skip_if_external_scheduler from tests.utils import assert_eq @@ -140,6 +141,8 @@ def test_literal_null(c): assert_eq(df, expected_df) +# TODO - https://github.com/dask-contrib/dask-sql/issues/978 +@skip_if_external_scheduler def test_random(c): query_with_seed = """ SELECT