Open mkoeppe opened 4 years ago
Author: Matthias Koeppe
How are all these tags like # sage_setup: distribution = sagemath-gap
processed?
They are processed by the functions in sage_setup.find
, via sage.misc.package_dir
.
Branch pushed to git repo; I updated commit sha1. New commits:
133e5b8 | Remove copy-pasted conda.txt files |
sage -t --random-seed=146157697718740975867546676674797881386 sage/groups/perm_gps/partn_ref/data_structures.pyx
**********************************************************************
File "sage/groups/perm_gps/partn_ref/data_structures.pyx", line 1221, in sage.groups.perm_gps.partn_ref.data_structures.SC_test_list_perms
Failed example:
for i in range(2,9):
test_Sn_on_m_points(i,i,1,0)
Expected nothing
Got:
ImportError: cannot import name n_is_prime
Exception ignored in: 'sage.groups.perm_gps.partn_ref.data_structures.SC_is_giant'
Traceback (most recent call last):
File "<doctest sage.groups.perm_gps.partn_ref.data_structures.SC_test_list_perms[2]>", line 4, in test_Sn_on_m_points
Branch pushed to git repo; I updated commit sha1. New commits:
4c8f5b5 | src/sage/sets/disjoint_set.pyx: Remove obsolete -*- coding -*- line |
Branch pushed to git repo; I updated commit sha1. New commits:
2be77af | pkgs/sagemath-flint-arb: Update description |
Branch pushed to git repo; I updated commit sha1. New commits:
a827f29 | pkgs/sagemath-giac: Update description |
Branch pushed to git repo; I updated commit sha1. New commits:
112e29e | src/sage/groups/perm_gps/partn_ref/data_structures.pyx: In doctest support code, avoid use of FLINT |
Description changed:
---
+++
@@ -44,8 +44,10 @@
To test:
+- `make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_flint_arb`
- `make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_gap`
-
+- `make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_giac`
+- `make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_homfly`
In follow-up tickets:
there are a number of files with m4
suffix, which does not seem to be m4
files.
Should they rather get in
suffux?
They are processed by m4, see build/pkgs/sagelib/bootstrap
Imho they should have .in suffix. Otherwise, looks OK.
The .in files in use with autotools are not processed by m4.
These .m4 files are processed by m4. For example, in setup.cfg.m4 you'll see the m4 macro call esyscmd
.
ah, OK. I misunderstood what "processed" means in this context.
Thanks!
Reviewer: Dima Pasechnik
When I build the full sagelib with this ticket included (but I do not build those sub distribution yet) in sage-on-gentoo, building the documentation fails. After inspection, I have the sources installed for sage/libs/flint
, sage/libs/arb
etc, but none of compiled module are installed. Is there something I am missing or doing wrong?
Are you building from src/
or from pkgs/sagemath-standard/
?
src
with the setup.py
from sagemath-standard
. This is when I build against develop or the Volker merging branch. The main reason I am starting from src
in those cases, is that patch does not like links.
I also delete src/sage_setup
so it is not used instead of the installed one.
OK, that's something that I'll have to fix in pkgs/sagemath-standard/setup.py
.
Thanks for catching this
Branch pushed to git repo; I updated commit sha1. New commits:
790c12b | Merge tag '9.8.beta5' into t/30666/add__sage_setup__distribution__directives_to_all_cython_modules_needing_external_libraries |
8b1cf25 | pkgs/sagemath-standard/setup.py: Include files marked as # sage_setup: distribution = sagemath-flint-arb etc. |
Changed dependencies from #31031 to #31031, #34855
Branch pushed to git repo; I updated commit sha1. Last 10 new commits:
2b39b3d | Merge #34858 |
c59622a | build/pkgs/sagemath*/spkg-src: Use build |
7fc93d0 | build/pkgs/sagemath*/spkg-src: Use --skip-dependency-check |
4940db4 | build/make/Makefile.in: Add targets SPKG-src for script packages |
573fcfd | build/make/Makefile.in: Move targets pypi-sdists, wheel, pypi-wheels here; use SPKG-sdist targets |
88e18d0 | Merge #34855 |
0bd13ac | build/make/Makefile.in: Remove duplicate setting of PYPI_WHEEL_PACKAGES |
f712d67 | Merge #34855 |
5fc1add | build/pkgs/sagemath*/spkg-src: Use build |
1531fda | build/pkgs/sagemath_flint_arb/dependencies: Fix up |
Changed dependencies from #31031, #34855 to #31031, #34855, #34839
Removed branch from issue description; replaced by PR #35663
Basically, we are making all external libraries optional, except for a minimal set of "core" libraries such as
cysignals
andgmpy2
(see #29865).(from #30371): See #29705 under the items titled "Deploy mildly modularized distributions", "Further modularization" for a sketch of such distributions. Basically, one distribution for each major C/C++ library (such as
sagemath-ntl
) - but some libraries come in packs that would not make much sense to separate (such assagemath-flint-arb-e_antic
).List of distributions:
giacpy_sage
insage.libs.giac
+ dependency onlibgiac
)To test:
make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_flint_arb
make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_gap
make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_giac
make SAGE_WHEELS=yes SAGE_CHECK=yes sagemath_homfly
In follow-up tickets:
sagemath-brial
(exsage-brial
insage.rings.polynomial.pbori
+sage.libs.polybori
,sage.crypto.boolean_function
)sagemath-ntl
sagemath-ecl
(sage.libs.ecl
)sagemath-maxima
: requires sage-eclsagemath-singular
: (some of these files actually may be better put in the pynac distribution)sagemath-pynac
sagemath-linbox
:sagemath-znpoly
(subject to removal in #32841?)sagemath-mari
(also requiring pbori and pbori-groebner):This is preparation for Meta-ticket #29705 (Modularization) and #30371.
Depends on #31031 Depends on #34855 Depends on #34839
CC: @tobiasdiez @dimpase
Component: refactoring
Keywords: sd111
Author: Matthias Koeppe
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/30666