-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Feature and doctest tag for runtime cython #33029
Comments
comment:1
Run-time use of compilers is a feature of some parts of the Sage library - in this case We should conditionalize these doctests on a |
comment:2
That would help. Or would you say the sagemath Debian packages should depend on the dev packages to provide this feature? |
comment:3
If currently Sage is monolithic in Debian, then you should probably add these as runtime dependencies -- because the |
Dependencies: #32174 |
comment:6
One interesting question is how used is this feature of sage, that you can compile bit of code inside it? This is clearly advanced use but if it is widespread, you definitely need to install matching dev packages. It is not unlike R packages. Debian provides quite a lot of them by default, but if you want something not provided, you may have to install dev packages. |
Commit: |
Author: Matthias Koeppe, ... |
comment:9
Here's a beginning. More doctests that use Last 10 new commits:
|
comment:10
How useful is this given that tests don't run at all if cython is not present? https://github.com/sagemath/sagetrac-mirror/blob/develop/src/sage/doctest/sources.py#n27 |
comment:11
This use of |
comment:12
Another import from |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Work Issues: Mark more doctests # optional - sage.misc.cython |
Dependencies: #33823 |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Changed work issues from Mark more doctests # optional - sage.misc.cython to none |
Changed author from Matthias Koeppe, ... to Matthias Koeppe |
comment:25
Test with |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:28
Replying to @mkoeppe:
The above command works for me:
|
comment:29
The only reported test failure is:
which is not related to this ticket. |
comment:30
Patchbot pyflakes suggests 4 corrections:
but I suggest to fix them in another ticket : #34061. |
Reviewer: Sébastien Labbé |
Changed branch from u/mkoeppe/feature_and_doctest_tag_for_runtime_cython to |
While updating the sagemath Debian package I noticed that when running the doctests for the installed sagemath package I get many failing tests such as the one below if library development files are not installed (in the example libm4ri-dev is not installed). The sagemath packages should not depend on lib*-dev packages, but sagemath is looking for pkgconfig files which are in these packages. Could this check for pkgconfig files in the test suite be avoided?
Depends on #33823
CC: @kiwifb @antonio-rojas @seblabbe
Component: doctest framework
Author: Matthias Koeppe
Branch/Commit:
1440273
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/33029
The text was updated successfully, but these errors were encountered: