From 503507ba5097c81280987fc5f02d4cc118acf83a Mon Sep 17 00:00:00 2001 From: Nathan Jessurun Date: Fri, 6 Aug 2021 08:04:11 -0400 Subject: [PATCH] Don't specify a version for deprecation --- pyqtgraph/parametertree/parameterTypes/list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyqtgraph/parametertree/parameterTypes/list.py b/pyqtgraph/parametertree/parameterTypes/list.py index 96d2fba3..329eb1e9 100644 --- a/pyqtgraph/parametertree/parameterTypes/list.py +++ b/pyqtgraph/parametertree/parameterTypes/list.py @@ -91,8 +91,8 @@ class ListParameter(Parameter): # Parameter uses 'limits' option to define the set of allowed values if 'values' in opts: - warnings.warn('Using "values" to set limits is deprecated and will be removed in 0.13. Use "limits"' - ' instead.', DeprecationWarning, stacklevel=2) + warnings.warn('Using "values" to set limits is deprecated. Use "limits" instead.', + DeprecationWarning, stacklevel=2) opts['limits'] = opts['values'] if opts.get('limits', None) is None: opts['limits'] = []