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:
committed by
Emilio Cobos Álvarez
parent
23f7bbcf9f
commit
ff888019fe
+3
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user