Skip to content

Commit 1668a12

Browse files
committed
Fix failing tests
1 parent 3815f81 commit 1668a12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

meson.build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ py = import('python').find_installation(pure: false)
1313
# Compilers
1414
cc = meson.get_compiler('c')
1515
cython = meson.get_compiler('cython')
16+
# Workaround as described in https://cython.readthedocs.io/en/latest/src/userguide/special_methods.html#arithmetic-methods
17+
add_project_arguments('-X c_api_binop_methods=True', language: 'cython')
1618

1719
# Dependencies
1820
inc_cysignals = run_command(

0 commit comments

Comments
 (0)