Commit 7562e51
Release Manager
gh-40686: Install pyx sources with meson
Currently the meson build doesn't install the pyx source files, as
opposed to the setuptools build. This has caused/is causing several
issues:
- The method `sage_getsource` as well as ipython's own source viewer
`??` don't work for cython methods. This creates an inconsistency with
python methods, and breaks several tests when the sage source is not
available (eg. distro packages).
- It breaks the doc builder
#39973 (comment)
- It used to cause issues when accessing some methods
(#39735), now worked around.
The only reason why these issues are not present in sage-the-distro is
that cython wrongly embeds the absolute paths of source files, which
masks the issues as long as the source is present in its original
location. But as soon as cython/cython#6755 is
released this will affect all types of sage build.
In any case, I believe being able to inspect the methods implementation
from the sage interface itself is a valuable feature for mathematicians,
which are its main user base.
I have only done one dir so far so I don't waste my time in case this is
rejected or a different implementation is proposed. I will do the rest
when I get the OK.
Fixes #39874
URL: #40686
Reported by: Antonio Rojas
Reviewer(s): Tobias Diez
File tree
101 files changed
+575
-3
lines changed- src/sage
- algebras
- finite_dimensional_algebras
- fusion_rings
- letterplace
- lie_algebras
- quatalg
- arith
- calculus
- transforms
- categories
- examples
- coding
- codecan
- combinat
- crystals
- designs
- integer_lists
- matrices
- posets
- rigged_configurations
- root_system
- words
- cpython
- crypto
- data_structures
- dynamics
- arithmetic_dynamics
- complex_dynamics
- ext
- functions
- games
- geometry
- polyhedron/combinatorial_polyhedron
- triangulation
- graphs
- base
- generators
- graph_decompositions
- groups
- matrix_gps
- perm_gps
- partn_ref2
- partn_ref
- semimonomial_transformations
- interacts
- interfaces
- lfunctions
- libs
- arb
- coxeter3
- eclib
- flint
- gap
- gmp
- gsl
- lcalc
- linbox
- mpmath
- ntl
- pari
- singular
- symmetrica
- matrix
- matroids
- misc
- modular
- arithgroup
- modform
- modsym
- pollack_stevens
- modules
- with_basis
- monoids
- numerical
- backends
- plot
- plot3d
- probability
- quadratic_forms
- quivers
- rings
- convert
- finite_rings
- function_field
- number_field
- padics
- polynomial
- pbori
- weil
- semirings
- sat/solvers
- schemes
- elliptic_curves
- hyperelliptic_curves
- toric
- sets
- stats
- distributions
- hmm
- structure
- symbolic
- tests
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
101 files changed
+575
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
9 | 11 | | |
| 12 | + | |
10 | 13 | | |
| 14 | + | |
11 | 15 | | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
| 14 | + | |
11 | 15 | | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
0 commit comments