From 53b21bcfdaa4948d7788cef492226568178b969b Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 28 Apr 2024 12:41:39 +0200 Subject: [PATCH] Replace logging.warn usage with logging.warning logging.warn is an alias to logging.warning since Python 3.3 and will be removed in Python 3.13. --- fusesoc/edalizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusesoc/edalizer.py b/fusesoc/edalizer.py index ea224ad7..66d10fc8 100644 --- a/fusesoc/edalizer.py +++ b/fusesoc/edalizer.py @@ -350,7 +350,7 @@ def _build_parser(self, backend_class, edam): ) param_type_map[name.replace("-", "_")] = _paramtype else: - logging.warn( + logging.warning( "Parameter '{}' has unsupported type '{}' for requested backend".format( name, _paramtype )