We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d274ce3 commit 3ed5783Copy full SHA for 3ed5783
1 file changed
synthtool/gcp/templates/python_library/noxfile.py.j2
@@ -20,6 +20,7 @@ from __future__ import absolute_import
20
import os
21
import pathlib
22
import shutil
23
+import warnings
24
25
import nox
26
@@ -130,6 +131,11 @@ def install_unittest_dependencies(session, *constraints):
130
131
session.install(*UNIT_TEST_STANDARD_DEPENDENCIES, *constraints)
132
133
if UNIT_TEST_EXTERNAL_DEPENDENCIES:
134
+ warnings.warn(
135
+ "'unit_test_external_dependencies' is deprecated. Instead, please "
136
+ "use 'unit_test_dependencies' or 'unit_test_local_dependencies'.",
137
+ DeprecationWarning,
138
+ )
139
session.install(*UNIT_TEST_EXTERNAL_DEPENDENCIES, *constraints)
140
141
if UNIT_TEST_LOCAL_DEPENDENCIES:
0 commit comments