Skip to content

Commit 66b03f2

Browse files
committed
Adding version to deprecation warning
1 parent 79f8aef commit 66b03f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyomo/core/plugins/transform/discrete_vars.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,8 @@ def _relax_block(self, block, config, reverse_dict):
187187
deprecation_warning(
188188
"The `transform_deactivated_blocks` arguments is deprecated. "
189189
"Either specify deactivated Blocks as targets to activate them "
190-
"if transforming them is the desired behavior."
190+
"if transforming them is the desired behavior.",
191+
version='6.9.3.dev0',
191192
)
192193
else:
193194
continue

0 commit comments

Comments
 (0)