Skip to content

Commit 2fdef35

Browse files
committed
fix: install standard + main unit test deps together
FBO pip resolver.
1 parent 3641da5 commit 2fdef35

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

synthtool/gcp/templates/python_library/noxfile.py.j2

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def lint_setup_py(session):
128128

129129

130130
def install_unittest_dependencies(session, *constraints):
131-
session.install(*UNIT_TEST_STANDARD_DEPENDENCIES, *constraints)
131+
standard_deps = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_DEPENDENCIES
132+
session.install(*standard_deps, *constraints)
132133

133134
if UNIT_TEST_EXTERNAL_DEPENDENCIES:
134135
warnings.warn(
@@ -141,9 +142,6 @@ def install_unittest_dependencies(session, *constraints):
141142
if UNIT_TEST_LOCAL_DEPENDENCIES:
142143
session.install(*UNIT_TEST_LOCAL_DEPENDENCIES, *constraints)
143144

144-
if UNIT_TEST_DEPENDENCIES:
145-
session.install(*UNIT_TEST_DEPENDENCIES, *constraints)
146-
147145
if UNIT_TEST_EXTRAS_BY_PYTHON:
148146
extras = UNIT_TEST_EXTRAS_BY_PYTHON.get(session.python, [])
149147
elif UNIT_TEST_EXTRAS:

0 commit comments

Comments
 (0)