From eb3b5b2f0bddbba171b79c30e93e1f5553cf76f3 Mon Sep 17 00:00:00 2001 From: kiraksi Date: Thu, 11 Jan 2024 02:23:53 -0800 Subject: [PATCH 1/4] chore: pip check on conda forge dependencies --- noxfile.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/noxfile.py b/noxfile.py index a0d5a94c..3c26f423 100644 --- a/noxfile.py +++ b/noxfile.py @@ -22,6 +22,7 @@ import re import shutil import warnings +import subprocess import nox @@ -580,6 +581,8 @@ def conda_test(session): # for troubleshooting purposes. session.run("mamba", "list") + subprocess.run(["pip", "check"], check=True) # Raise an exception if pip check fails + # Tests are limited to unit tests only, at this time. session.run( "py.test", From d6ca16795fcb30348e9fd81d30608bfab3d13fd9 Mon Sep 17 00:00:00 2001 From: kiraksi Date: Thu, 11 Jan 2024 02:25:58 -0800 Subject: [PATCH 2/4] reformatted with black --- noxfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 3c26f423..93ff8aed 100644 --- a/noxfile.py +++ b/noxfile.py @@ -581,7 +581,9 @@ def conda_test(session): # for troubleshooting purposes. session.run("mamba", "list") - subprocess.run(["pip", "check"], check=True) # Raise an exception if pip check fails + subprocess.run( + ["pip", "check"], check=True + ) # Raise an exception if pip check fails # Tests are limited to unit tests only, at this time. session.run( From 6ba1dde11ac09100e9db35667f5761e8c7c7d5b8 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Mon, 3 Jun 2024 18:24:00 -0400 Subject: [PATCH 3/4] Update noxfile.py --- noxfile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/noxfile.py b/noxfile.py index 2eee96e3..c462a402 100644 --- a/noxfile.py +++ b/noxfile.py @@ -615,6 +615,8 @@ def conda_test(session): # for troubleshooting purposes. session.run("mamba", "list") + # Using subprocess.run() instead of session.run() because + # session.run() does not correctly handle the pip check command. subprocess.run( ["pip", "check"], check=True ) # Raise an exception if pip check fails From ea5f1ce41d66735ab88c5b9cc03a2dedf8f83a15 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 4 Jun 2024 10:54:34 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index c462a402..3d0ce244 100644 --- a/noxfile.py +++ b/noxfile.py @@ -22,8 +22,8 @@ import pathlib import re import shutil -import warnings import subprocess +import warnings import nox