b39be84
@@ -59,6 +59,9 @@
# Patch out coverage options
sed -r -i 's/--cov[^[:blank:]]*//g' setup.cfg
+ # Do not fail on warnings
+ sed -zi 's/filterwarnings = error/filterwarnings = default/' setup.cfg
+
%generate_buildrequires
%pyproject_buildrequires
Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/2007f37cdc4349159dbc4085aa056585
LGTM.
I tend to believe that erroring on DeprecationWarning, like C/C++ -Werror, is useful for upstream CI but too brittle with respect to interpeter/compiler and dependendency versions for downstream builds—although I don’t necessarily patch it out proactively when it isn’t causing problems.
DeprecationWarning
-Werror
Pull-Request has been merged by music