From 8f506ba3aabf473fc7bcae7955c388593d4cd56a Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Fri, 4 Oct 2019 09:39:42 -0400 Subject: [PATCH] Fix typo in setup.cfg warning configuration It appears that we were relying on the "errors" filter to treat PendingDeprecationWarning as an error due to a typo in setup.cfg. This line is apparently redundant with the "error" line anyway, but it's best to have a working version of it if we're going to have it at all. I am leaving it in place to be explicit that even these "ignored by default" warnings should be errors, in case a default changes later. --- changelog.d/966.misc.rst | 2 ++ setup.cfg | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelog.d/966.misc.rst diff --git a/changelog.d/966.misc.rst b/changelog.d/966.misc.rst new file mode 100644 index 000000000..a6142555b --- /dev/null +++ b/changelog.d/966.misc.rst @@ -0,0 +1,2 @@ +Fix typo in setup.cfg causing PendingDeprecationWarning to not be explicitly +specified as an error in the warnings filter. diff --git a/setup.cfg b/setup.cfg index 94c1fc00f..b2e1f6faa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -55,7 +55,7 @@ xfail_strict = true filterwarnings = error error::DeprecationWarning - error:PendingDeprecationWarning + error::PendingDeprecationWarning markers = gettz import_star