Re: [sage-devel] Re: External cython cimports fail in Sage 10.2.beta8

2023-10-30 Thread Edgar Costa
In case someone else stumbles on this, this was my fix : from Cython.Build import cythonize as cython_cythonize try: from sage.misc.package_dir import cython_namespace_package_support def cythonize(*args

[sage-devel] Re: External cython cimports fail in Sage 10.2.beta8

2023-10-29 Thread Matthias Koeppe
You'll need sage.misc.package_dir.cython_namespace_package_support On Sunday, October 29, 2023 at 5:00:08 PM UTC-7 Edgar Costa wrote: > Hello, > > Cythonizing a package, via setuptools, that uses a `from sage.foo cimport > bar` seems to no longer work with Sage 10.2.beta8 > > Here is a minima