-
-
Notifications
You must be signed in to change notification settings - Fork 516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doctest failure when SAGE_LIB doesn't match .../site-packages
#33532
Comments
Commit: |
Author: Gonzalo Tornaría |
Branch: u/tornaria/33532 |
comment:1
I changed the doctest for
removing New commits:
|
comment:2
I'm not sure if this should be a supported configuration |
comment:3
this doctest failure appears in our "build and test" box above here and in every ticket |
comment:4
Replying to @mkoeppe:
Why not? It works like a charm. I build sagelib from a git repo, and run from there. No longer do I waste my time with spkgs (everything needed is installed in my system). This is also how I build sagemath in void linux so that doctest runs at build time (and also CI on github whenever I push an update). Maybe I should learn how to run sagelib "in place" so that I don't need to rebuild when editing *.py files -- that would be even better. Still the path won't have Here's my shell script, in case someone else finds it useful, I call it
Just run With a primed ccache and 36 cores building this from scratch takes less time than running |
comment:5
Your static configuration of these variables ("configuration for sage on void linux ") is exactly what I had in mind when I recommended that downstream packagers provide their own version of See also #33295 (Refactor |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:8
This failure also happens in editable installs. Thanks for catching this (we don't test this automatically yet - #31413) |
Reviewer: Matthias Koeppe |
comment:10
Replying to @mkoeppe:
Before today I was appending all of that to Thanks for the quick review. |
comment:11
Yes, and with #33295 it will become even simpler |
Changed branch from u/tornaria/33532 to |
After #33473, the doctest for the function
sage.env.sage_include_directories()
will fail whenSAGE_LIB
doesn't includesite-packages
.This happens in editable installs (
./configure --enable-editable
):Likewise in the nonstandard configuration of running sagelib without installing, from
pkgs/sagemath-standard/build
:Component: doctest framework
Author: Gonzalo Tornaría
Branch/Commit:
0463009
Reviewer: Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/33532
The text was updated successfully, but these errors were encountered: