Skip to content

Commit 33dac71

Browse files
kiraksichalmerlowegcf-owl-bot[bot]
authored
chore: pip check on conda forge dependencies (#723)
* chore: pip check on conda forge dependencies * reformatted with black * Update noxfile.py * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Chalmer Lowe <[email protected]> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 44b8a8e commit 33dac71

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

noxfile.py

+7
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import pathlib
2323
import re
2424
import shutil
25+
import subprocess
2526
import warnings
2627

2728
import nox
@@ -614,6 +615,12 @@ def conda_test(session):
614615
# for troubleshooting purposes.
615616
session.run("mamba", "list")
616617

618+
# Using subprocess.run() instead of session.run() because
619+
# session.run() does not correctly handle the pip check command.
620+
subprocess.run(
621+
["pip", "check"], check=True
622+
) # Raise an exception if pip check fails
623+
617624
# Tests are limited to unit tests only, at this time.
618625
session.run(
619626
"py.test",

0 commit comments

Comments
 (0)