Skip to content

Commit

Permalink
chore: deprecate 'unit_test_external_dependencies'
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Nov 30, 2021
1 parent d274ce3 commit 3ed5783
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ from __future__ import absolute_import
import os
import pathlib
import shutil
import warnings

import nox

Expand Down Expand Up @@ -130,6 +131,11 @@ def install_unittest_dependencies(session, *constraints):
session.install(*UNIT_TEST_STANDARD_DEPENDENCIES, *constraints)

if UNIT_TEST_EXTERNAL_DEPENDENCIES:
warnings.warn(
"'unit_test_external_dependencies' is deprecated. Instead, please "
"use 'unit_test_dependencies' or 'unit_test_local_dependencies'.",
DeprecationWarning,
)
session.install(*UNIT_TEST_EXTERNAL_DEPENDENCIES, *constraints)

if UNIT_TEST_LOCAL_DEPENDENCIES:
Expand Down

0 comments on commit 3ed5783

Please sign in to comment.