Allow Warnings in Cython tests

Cython 3.0 deprecated `IF` and `DEF`. Until this is fixed
allow warnings in our `Cython` tests.
Background: https://github.com/cython/cython/issues/4310

Note the warnings will become hard errors in the future.
This commit is contained in:
Jonathan Schwender
2023-09-03 12:42:31 +02:00
committed by Emilio Cobos Álvarez
parent 23f7bbcf9f
commit ff888019fe
+3 -1
View File
@@ -167,7 +167,9 @@ fn compile(
Language::Cython => {
command.arg("-Wextra");
if !skip_warning_as_error {
command.arg("-Werror");
// Our tests contain code that is deprecated in Cython 3.0.
// Allowing warnings buys a little time.
// command.arg("-Werror");
}
command.arg("-3");
command.arg("-o").arg(&object);