yes, it appears as if sage.env.sage_include_directories() got broken.
Not the least due to its test being too weak.
In a macOS setup I tried, I'm getting, as output,
['/Users/dima/software/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/_sagemath_editable_loader.py',
 
'/Users/dima/software/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/numpy/_core/include',
 '/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13']

and it's obvious that these are not locations where one can hope to
find Sage's .pxd files
(from a Sage installation in ~/software/sage).




On Fri, Aug 29, 2025 at 3:52 AM Marc Mezzarobba <m...@mezzarobba.net> wrote:
>
> Hi,
>
> It looks like Sage 10.8.beta0 broke the installation of external packages 
> that include Cython modules. For example:
>
> $ sage --pip install --no-build-isolation 
> git+https://github.com/abelfunctions/abelfunctions
> Collecting git+https://github.com/abelfunctions/abelfunctions
>   Cloning https://github.com/abelfunctions/abelfunctions to 
> /tmp/pip-req-build-nm91g82x
>   Running command git clone --filter=blob:none --quiet 
> https://github.com/abelfunctions/abelfunctions /tmp/pip-req-build-nm91g82x
>   Resolved https://github.com/abelfunctions/abelfunctions to commit 
> 5ce22b8c56082d717a0f59b1aa81f0282919b4ac
>   Preparing metadata (pyproject.toml) ... error
>   error: subprocess-exited-with-error
>
>   × Preparing metadata (pyproject.toml) did not run successfully.
>   │ exit code: 1
>   ╰─> [601 lines of output]
>
>       Error compiling Cython file:
>       ------------------------------------------------------------
>       ...
>       from sage.structure.element cimport AlgebraElement, ModuleElement
>       ^
>       ------------------------------------------------------------
>
>       abelfunctions/puiseux_series_ring_element.pxd:1:0: 
> 'sage/structure/element.pxd' not found
>
> or
>
> $ sage --pip install --no-build-isolation 
> git+https://github.com/mkauers/ore_algebra.git
> Collecting git+https://github.com/mkauers/ore_algebra.git
>   Cloning https://github.com/mkauers/ore_algebra.git to 
> /tmp/pip-req-build-22lzwkmn
>   Running command git clone --filter=blob:none --quiet 
> https://github.com/mkauers/ore_algebra.git /tmp/pip-req-build-22lzwkmn
>   Resolved https://github.com/mkauers/ore_algebra.git to commit 
> 4f463b4f9b18f5c6f5ad2af0bc4378aeae83a5fa
>   Preparing metadata (pyproject.toml) ... error
>   error: subprocess-exited-with-error
>
>   × Preparing metadata (pyproject.toml) did not run successfully.
>   │ exit code: 1
>   ╰─> [1593 lines of output]
>
>       Error compiling Cython file:
>       ------------------------------------------------------------
>       ...
>       # Distributed under the terms of the GNU General Public License (GPL) 
> either
>       # version 2, or (at your option) any later version
>       #
>       # http://www.gnu.org/licenses/
>
>       from sage.libs.arb.types cimport *
>       ^
>       ------------------------------------------------------------
>
>       src/ore_algebra/analytic/binary_splitting_arb.pyx:17:0: 
> 'sage/libs/arb/types.pxd' not found
>
> Both of the above commands work correctly with Sage 10.7.
>
> --
> Marc
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/sage-devel/108rpno%24nfq%241%40ciao.gmane.io.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq3T8iVNfH-52%2B9%2BTCJtfQm%3DrYeuo%2Bf6qufv4NGZ6znuEw%40mail.gmail.com.

Reply via email to