From 5d1412681a3f17f796c7240410d6098d3b9630ee Mon Sep 17 00:00:00 2001 From: Serge Smertin Date: Thu, 17 Aug 2023 16:04:53 +0200 Subject: [PATCH 1/3] Skip Graviton runtimes for testing notebook native auth --- tests/integration/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_auth.py b/tests/integration/test_auth.py index 6458056b7..406494101 100644 --- a/tests/integration/test_auth.py +++ b/tests/integration/test_auth.py @@ -89,7 +89,7 @@ def test_runtime_auth_from_jobs(w, fresh_wheel_file, env_or_skip, random): v = w.clusters.spark_versions() lts_runtimes = [ - x for x in v.versions if 'LTS' in x.name and '-ml' not in x.key and '-photon' not in x.key + x for x in v.versions if 'LTS' in x.name and '-ml' not in x.key and '-photon' and '-aarch64' not in x.key ] dbfs_wheel = f'/tmp/wheels/{random(10)}/{fresh_wheel_file.name}' From 26d5e5feda45f6f94a1bdbbec6755ca4b576905d Mon Sep 17 00:00:00 2001 From: Serge Smertin Date: Thu, 17 Aug 2023 16:19:17 +0200 Subject: [PATCH 2/3] fmt --- tests/integration/test_auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_auth.py b/tests/integration/test_auth.py index 406494101..9c371789a 100644 --- a/tests/integration/test_auth.py +++ b/tests/integration/test_auth.py @@ -89,7 +89,8 @@ def test_runtime_auth_from_jobs(w, fresh_wheel_file, env_or_skip, random): v = w.clusters.spark_versions() lts_runtimes = [ - x for x in v.versions if 'LTS' in x.name and '-ml' not in x.key and '-photon' and '-aarch64' not in x.key + x for x in v.versions + if 'LTS' in x.name and '-ml' not in x.key and '-photon' and '-aarch64' not in x.key ] dbfs_wheel = f'/tmp/wheels/{random(10)}/{fresh_wheel_file.name}' From ed7c08eaa788e41bf09ca46973b7233bb4713fec Mon Sep 17 00:00:00 2001 From: Serge Smertin <259697+nfx@users.noreply.github.com> Date: Thu, 17 Aug 2023 16:44:29 +0200 Subject: [PATCH 3/3] Update tests/integration/test_auth.py Co-authored-by: Miles Yucht Signed-off-by: Serge Smertin <259697+nfx@users.noreply.github.com> --- tests/integration/test_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_auth.py b/tests/integration/test_auth.py index 9c371789a..74ec592dc 100644 --- a/tests/integration/test_auth.py +++ b/tests/integration/test_auth.py @@ -90,7 +90,7 @@ def test_runtime_auth_from_jobs(w, fresh_wheel_file, env_or_skip, random): v = w.clusters.spark_versions() lts_runtimes = [ x for x in v.versions - if 'LTS' in x.name and '-ml' not in x.key and '-photon' and '-aarch64' not in x.key + if 'LTS' in x.name and '-ml' not in x.key and '-photon' not in x.key and '-aarch64' not in x.key ] dbfs_wheel = f'/tmp/wheels/{random(10)}/{fresh_wheel_file.name}'