Skip to content
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

Modularization of sagelib: Distributions sagemath-{brial,combinat,eclib,flint,gap,giac,glpk,graphs,groups,homfly,lcalc,libbraiding,libecm,linbox,modules,mpmath,ntl,pari,plot,polyhedra,schemes,singular,standard-no-symbolics,symbolics} #35095

Draft
wants to merge 4,104 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4104 commits
Select commit Hold shift + click to select a range
12e324a
Merge branch 'ci_build_explicit_docker_exec' into 10.4.beta1-merge
mkoeppe Apr 1, 2024
8074da0
Merge branch '10.4.beta1-merge' into t/32432/modularization_of_sageli…
mkoeppe Apr 1, 2024
52127bd
Merge branch 'rename_install_requires' into t/32432/modularization_of…
mkoeppe Apr 1, 2024
5b5a21a
for a in build/pkgs/*; do (cd build/pkgs/zstd && if [ -r install-requ…
mkoeppe Apr 1, 2024
4487380
build/pkgs/typing_extensions/version_requirements.txt: Use double quotes
mkoeppe Apr 1, 2024
38dc2e3
Merge branch 'sagemath-categories-check' into t/32432/modularization_…
mkoeppe Apr 6, 2024
6d383de
for a in build/pkgs/sagemath_*; do if [ -L $a/spkg-check.in ]; then g…
mkoeppe Apr 6, 2024
e51606d
Merge branch 'tdlib_stdc++' into t/32432/modularization_of_sagelib__b…
mkoeppe Apr 6, 2024
fe3ee7e
Merge branch 'ci_build_explicit_docker_exec' into t/32432/modularizat…
mkoeppe Apr 6, 2024
ec5c531
Merge branch 'ci_build_explicit_docker_exec' into t/32432/modularizat…
mkoeppe Apr 6, 2024
00c81fd
Merge branch 'ci_build_explicit_docker_exec' into t/32432/modularizat…
mkoeppe Apr 6, 2024
103646d
Merge branch 'ci_build_explicit_docker_exec' into t/32432/modularizat…
mkoeppe Apr 6, 2024
d559dc3
Merge branch 'distribution_directives' into t/32432/modularization_of…
mkoeppe Apr 10, 2024
9d869bb
Merge branch 'ci_build_explicit_docker_exec' into t/32432/modularizat…
mkoeppe Apr 12, 2024
30e012f
src/pyproject.toml.m4: Merge all metadata from src/setup.cfg.m4, remo…
mkoeppe Dec 23, 2023
e4b376b
Set up all__sage_categories.py
mkoeppe Jun 29, 2020
a960393
sage.*.all*: Update from #35095
mkoeppe Nov 8, 2023
2a71fe1
relative to absolute imports
mkoeppe Nov 8, 2023
0b7f892
Fixups in .all*
mkoeppe Nov 8, 2023
6a8f404
Reverts
mkoeppe Nov 8, 2023
c791f78
Restores
mkoeppe Nov 8, 2023
366035e
src/sage/misc/dev_tools.py: Update doctest output
mkoeppe Nov 9, 2023
a96f570
src/sage/misc/sageinspect.py: Update doctests for increased use of la…
mkoeppe Nov 9, 2023
c749f35
Defer some changes to all__sagemath_{objects,categories} until #36566
mkoeppe Nov 9, 2023
563a3f2
sage -fixdoctests --no-test --distribution sagemath_categories --upda…
mkoeppe Nov 10, 2023
22395ae
Defer some changes to all__sagemath_repl until #36566
mkoeppe Nov 10, 2023
7de8387
src/sage/calculus/all.py: Move 'symbolic_expression' to new module .expr
mkoeppe Nov 10, 2023
e411118
for a in $(git --no-pager grep -l lazy_import src/sage/**/all*.py); d…
mkoeppe Nov 11, 2023
7a07f69
Manual fixes re 'del lazy_import'
mkoeppe Nov 11, 2023
dfc6cca
autopep8 --in-place --ignore E402 --max-line-length=88 src/sage/**/al…
mkoeppe Nov 12, 2023
a7fdfc9
sed -i.bak 's,http:,https:,g' src/sage/**/all*.py
mkoeppe Nov 12, 2023
e630e90
Fix errors from 'sage -tox -e pycodestyle -- --ignore E402 src/sage/*…
mkoeppe Nov 12, 2023
bcc7137
src/doc/en/reference/calculus/index.rst: Add sage.calculus.expr to to…
mkoeppe Nov 13, 2023
80d33ee
src/sage/calculus/expr.py: Move imports from method to module
mkoeppe Nov 13, 2023
49a508d
for a in $(git --no-pager grep -l install_doc src/sage/**/all*.py); d…
mkoeppe Nov 13, 2023
91ad68f
src/sage/combinat/all.py: Also del install_dict
mkoeppe Nov 13, 2023
e9f86a0
src/sage/rings/all__sagemath_categories.py: Add import of lazy_import
mkoeppe Mar 14, 2024
2c6dd83
Fixup changes to reestablish #36676
saraedum Apr 14, 2024
aaff425
sage.*.all*: Update from #35095
mkoeppe Nov 8, 2023
966bfb2
relative to absolute imports
mkoeppe Nov 8, 2023
f0a9936
Fixups in .all*
mkoeppe Nov 8, 2023
9841731
Reverts
mkoeppe Nov 8, 2023
2cef186
Restores
mkoeppe Nov 8, 2023
4d08e0b
Restores
mkoeppe Nov 8, 2023
4bfd114
src/sage/combinat/all__sagemath_combinat.py: pycodestyle fix (whitesp…
mkoeppe Nov 8, 2023
1361c65
src/sage/misc/dev_tools.py: Update doctest output
mkoeppe Nov 9, 2023
8ae157a
src/sage/misc/sageinspect.py: Update doctests for increased use of la…
mkoeppe Nov 9, 2023
113d34d
Defer some changes to all__sagemath_{objects,categories} until #36566
mkoeppe Nov 9, 2023
4c53093
src/sage/rings/all.py: Reorder imports
mkoeppe Nov 10, 2023
f2b24cb
sage -fixdoctests --no-test --distribution sagemath_categories --upda…
mkoeppe Nov 10, 2023
4d36d9c
Defer some changes to all__sagemath_repl until #36566
mkoeppe Nov 10, 2023
33aeb2c
src/sage/combinat/all__sagemath_combinat.py: one more relative to abs…
mkoeppe Nov 10, 2023
01039f7
src/sage/calculus/all.py: Move import to top
mkoeppe Nov 10, 2023
6f58f59
src/sage/calculus/all.py: Move 'symbolic_expression' to new module .expr
mkoeppe Nov 10, 2023
b423aab
for a in $(git --no-pager grep -l lazy_import src/sage/**/all*.py); d…
mkoeppe Nov 11, 2023
ded3be7
Manual fixes re 'del lazy_import'
mkoeppe Nov 11, 2023
cdf3655
autopep8 --in-place --ignore E402 --max-line-length=88 src/sage/**/al…
mkoeppe Nov 12, 2023
deca050
sed -i.bak 's,http:,https:,g' src/sage/**/all*.py
mkoeppe Nov 12, 2023
997614a
Fix errors from 'sage -tox -e pycodestyle -- --ignore E402 src/sage/*…
mkoeppe Nov 12, 2023
f0c7025
src/doc/en/reference/calculus/index.rst: Add sage.calculus.expr to to…
mkoeppe Nov 13, 2023
7175d41
src/sage/calculus/expr.py: Move imports from method to module
mkoeppe Nov 13, 2023
b5c6a3f
for a in $(git --no-pager grep -l install_doc src/sage/**/all*.py); d…
mkoeppe Nov 13, 2023
8c0bda8
src/sage/combinat/all.py: Also del install_dict
mkoeppe Nov 13, 2023
a62ad93
src/pyproject.toml.m4: Merge all metadata from src/setup.cfg.m4, remo…
mkoeppe Dec 23, 2023
6607780
build/bin/sage-get-system-packages (install-requires[-toml], pip): Do…
mkoeppe Dec 29, 2023
c6b245e
build/bin/sage-get-system-packages: Add/update comments
mkoeppe Dec 31, 2023
663a5e5
src/sage/misc/package_dir.py (read_distribution): Don't fail on FileN…
mkoeppe Dec 25, 2023
7bf8816
pkgs/sagemath-standard/setup.py: Handle added distributions
mkoeppe Dec 25, 2023
3c2e590
Update output of self-referential doctests
mkoeppe Dec 26, 2023
202e442
Run 'make pypi-sdists && ./sage -fixdistributions --set all --from-eg…
mkoeppe Dec 26, 2023
a8424d0
grep -l 'coding: *utf-8' src/sage | xargs sed -i.bak '/^#.*coding: *u…
mkoeppe Dec 26, 2023
1a1aae5
Fixups
mkoeppe Dec 26, 2023
0f643be
src/sage_setup/find.py: Relax a doctest
mkoeppe Dec 27, 2023
f78fdb5
pkgs/sagemath-standard/setup.py: Conditionalize source discovery - no…
mkoeppe Dec 29, 2023
e6449b6
Fix doctests of is_package_or_sage_namespace_package_dir for multiple…
mkoeppe Dec 30, 2023
80d8cc6
src/sage/rings/all__sagemath_categories.py: Add import of lazy_import
mkoeppe Mar 14, 2024
29e7d6e
Merge branch '36951' into 36964
saraedum Apr 14, 2024
a4078f0
Merge branch '36676' into 36964
saraedum Apr 14, 2024
b380794
sage.numerical.interactive_simplex_method: Remove dependency on SR
mkoeppe Mar 12, 2023
f8cda25
Merge remote-tracking branch 'origin/develop' into 36676
saraedum Apr 28, 2024
df78533
Merge remote-tracking branch 'origin/develop' into 36964
saraedum Apr 28, 2024
c84b064
src/MANIFEST.in: graft sage
mkoeppe Apr 15, 2024
a05e957
src/MANIFEST.in: Fix 'exclude' line for tdlib
mkoeppe May 1, 2024
ac36cbc
Merge tag '10.4.beta5' into 36676
mkoeppe May 12, 2024
db9c848
m4/sage_spkg_collect.m4: Handle wheel packages like normal packages
mkoeppe Nov 19, 2023
71a6980
m4/sage_spkg_collect.m4: Use 'sage-package properties' to get versions
mkoeppe Feb 22, 2024
d6a91d2
bootstrap: Simplify by using 'sage-package properties'
mkoeppe Apr 9, 2024
fb3962b
m4/sage_spkg_collect.m4: Fix handling of missing package dirs (test: …
mkoeppe Feb 22, 2024
b348283
Repair 'bootstrap -D'
mkoeppe Feb 22, 2024
ebc9ebf
bootstrap: Use 'sage -package update' to update the configure tarball…
mkoeppe Feb 22, 2024
5195d13
bootstrap -D: Simplify using 'sage-package download'
mkoeppe Feb 22, 2024
c2594fb
bootstrap: Remove use of CONFVERSION
mkoeppe Mar 8, 2024
048d891
m4/sage_python_package_check.m4: Replace direct access to version_req…
mkoeppe May 14, 2024
2ef4beb
build/bin/sage-get-system-packages: Restore correct search order for …
mkoeppe May 14, 2024
6ee000b
build/bin/sage-spkg-info: Show versions using new command 'sage-get-s…
mkoeppe May 14, 2024
6a3047e
m4/sage_python_package_check.m4: Update doc to mention src/pyproject.…
mkoeppe May 14, 2024
934f9cf
Merge branch 'fix_ci_linux' into 36951
mkoeppe May 17, 2024
7ba97e7
Merge branch 'bootstrap_use_sage_package_properties' into 36951
mkoeppe May 17, 2024
0280c38
src/pyproject.toml.m4: Merge all metadata from src/setup.cfg.m4, remo…
mkoeppe May 17, 2024
0b927be
Restore the deleted version_requirements.txt files in build/pkgs/*/, …
mkoeppe May 14, 2024
78bb595
Revert "delete generated version requirements files during cleanup"
mkoeppe May 14, 2024
33003d7
Revert "add generated version requirements files to configure tarball"
mkoeppe May 14, 2024
452d6da
build/pkgs/*/version_requirements.txt: Deduplicate version constraint…
mkoeppe May 17, 2024
6a54d56
build/bin/sage-get-system-packages: Extract from pyproject.toml [proj…
mkoeppe May 17, 2024
e0aed28
build/bin/sage-get-system-packages: When scanning pyproject.toml for …
mkoeppe May 17, 2024
a228617
build/bin/sage-get-system-packages: Sort/uniquify package info extrac…
mkoeppe May 17, 2024
fc30d44
sage --package: Handle 'dependencies_build' files
mkoeppe May 17, 2024
763d6c5
m4/sage_spkg_collect.m4: Handle 'dependencies_build' files, generate …
mkoeppe May 17, 2024
62c4529
m4/sage_spkg_collect.m4: Use 'sage-package properties' to get versions
mkoeppe Mar 8, 2024
8a0fcf0
bootstrap: Simplify by using 'sage-package properties'
mkoeppe Mar 8, 2024
f66fb6a
tox.ini: Use 'sage-package dependencies' instead of directly reading …
mkoeppe May 17, 2024
0cd8f6b
bootstrap-conda: Update use of 'sage-package dependencies'
mkoeppe Feb 21, 2024
c318d47
bootstrap-conda: Fixup
mkoeppe Mar 8, 2024
7b7d4a6
tox.ini: Replace use of sage-package dependencies
mkoeppe May 17, 2024
45cc4bd
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe May 19, 2024
1c7ec3e
for a in "CLASS='ModularAbelianVariety';SUFFIX=_abstract" "CLASS='Ari…
mkoeppe May 20, 2024
0fbb57f
fixup isinstance
mkoeppe May 20, 2024
3140a33
reverts
mkoeppe May 20, 2024
8501bb2
fixups
mkoeppe May 20, 2024
7f45086
deprecations
mkoeppe May 20, 2024
112a6ca
Merge branch '36951' into 36676+37902
mkoeppe May 23, 2024
a436233
Merge branch '36676+37902' into 36964
mkoeppe May 23, 2024
ed939e8
Merge branch '36964' into t/32432/modularization_of_sagelib__break_ou…
mkoeppe May 23, 2024
f38963b
git --no-pager grep -l 'deprecation(' src/sage/modular | xargs sed -i…
mkoeppe May 24, 2024
370503a
Merge branch 'is_ModularAbelianVariety_deprecation' into t/32432/modu…
mkoeppe May 25, 2024
0749411
Merge branch 'deprecate_is_FSM' into t/32432/modularization_of_sageli…
mkoeppe May 25, 2024
a0ff10a
Merge branch 'sage_ext_cosmetics' into t/32432/modularization_of_sage…
mkoeppe May 25, 2024
a5bac0a
Merge branch 'sage_rings_singular_modularization' into t/32432/modula…
mkoeppe May 25, 2024
7378104
Merge branch 'sage_geometry_modularization' into t/32432/modularizati…
mkoeppe May 25, 2024
4da18d0
Merge branch 'sage_rings_modularization_imports' into t/32432/modular…
mkoeppe May 25, 2024
73e3450
Merge branch 'sage_graphs_doctest_cosmetics' into t/32432/modularizat…
mkoeppe May 25, 2024
da9fa0e
Merge branch 'is_Scheme_deprecation' into t/32432/modularization_of_s…
mkoeppe May 25, 2024
b9ea6d4
Merge branch 'interactive_simplex_method_no_SR' into t/32432/modulari…
mkoeppe May 25, 2024
59faa79
Merge branch 'linbox_regenerate_tarballs' into t/32432/modularization…
mkoeppe May 25, 2024
a205d0f
Merge branch 'is_deprecations' into t/32432/modularization_of_sagelib…
mkoeppe May 25, 2024
6ef821f
src/sage_setup/autogen/meson/__init__.py: skip .egg-info dirs
mkoeppe May 25, 2024
dd8fa9b
src/sage/misc/timing.py: Move import of resource into method
mkoeppe Jan 26, 2024
15de6de
src/sage/features/threejs.py: Do not error out when threejs-version.t…
mkoeppe Jan 28, 2024
cd05158
sage.doctest: multiprocessing import fixes for pyodide
mkoeppe May 25, 2024
a35532f
src/sage/doctest/forker.py: Do not fail when sympy but not sympy.prin…
mkoeppe Jan 29, 2024
4a18a20
sage.doctest: multiprocessing import fixes for pyodide (fixup)
mkoeppe Jan 31, 2024
d9f297b
src/sage/misc/timing.py (cputime): If module 'resource' is not availa…
mkoeppe Jan 31, 2024
262eb07
Merge branch 'pyodide-sagelib' into t/32432/modularization_of_sagelib…
mkoeppe May 25, 2024
4b9bc66
Merge branch 'dependencies_build' into t/32432/modularization_of_sage…
mkoeppe May 25, 2024
9692cba
InteractiveLPProblem.feasible_set: Remove coercion to floating point …
mkoeppe Nov 5, 2020
68434f7
sage.numerical.interactive_lp._latex_product: Make use of parens arou…
mkoeppe May 25, 2024
b465755
src/sage/numerical/interactive_simplex_method.py (_latex_product): Do…
mkoeppe Nov 10, 2020
66be96a
_latex_product: Compare latex with '1' instead of comparing coefficie…
mkoeppe Nov 29, 2020
8e37c41
fix doc tests
ComboProblem May 1, 2024
e222b3c
removed RDF import; updated doc test to include RDF
ComboProblem May 8, 2024
a95d22f
added doc test for symoblic expressions; fixed uninteneded change to …
ComboProblem May 15, 2024
3ed827d
src/sage/numerical/interactive_simplex_method.py: Docstring edits
mkoeppe May 24, 2024
e8b3c13
src/sage/numerical/interactive_simplex_method.py: Expand examples
mkoeppe May 24, 2024
61774e8
InteractiveLPProblem: Have objective_constant_term participate in det…
mkoeppe May 24, 2024
0a27566
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe May 25, 2024
903cb92
Merge branch '36676' into 36964
mkoeppe May 25, 2024
1322b6b
Merge branch 'is_ModularAbelianVariety_deprecation' into 10.4.beta7+u…
mkoeppe May 25, 2024
b0af89e
Merge branch 'is_Element_deprecation' into 10.4.beta7+updates
mkoeppe May 25, 2024
5b4f119
Merge branch 't/31312/interactive_simplex_method__improve_support_for…
mkoeppe May 25, 2024
864bbe2
Merge branch 't/31308/interactive_simplex_method__make_it_safe_to_cop…
mkoeppe May 25, 2024
101d466
Merge branch 'sage_categories_doctest_needs' into 10.4.beta7+updates
mkoeppe May 25, 2024
dd10cfd
Merge branch '36964' into 10.4.beta7+updates
mkoeppe May 25, 2024
ae0c620
Merge branch '10.4.beta7+updates' into t/32432/modularization_of_sage…
mkoeppe May 26, 2024
20e6cda
sage.combinat, sage.games: Use more lazy_import in all.py files
mkoeppe May 27, 2024
a34bd71
src/sage/structure/parent.pyx: In doctest, use SymmetricFunctions fro…
mkoeppe May 27, 2024
327fb5c
src/sage/categories/weyl_groups.py: Fix import
mkoeppe May 27, 2024
af1ff33
Merge branch 'lazy_import_combinat' into 36676
mkoeppe Jun 1, 2024
902784d
Merge branch 'sagemath_categories_distribution_directives_2024' into …
mkoeppe Jun 2, 2024
df9dd71
Merge branch '36676+38088' into 36964
mkoeppe Jun 2, 2024
addb9ba
Merge branch '36964' into t/32432/modularization_of_sagelib__break_ou…
mkoeppe Jun 3, 2024
fd5ba9a
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe Jun 9, 2024
2bd68c9
Merge branch '36676' into 36964
mkoeppe Jun 9, 2024
cf646ce
Merge branch '36964' into t/32432/modularization_of_sagelib__break_ou…
mkoeppe Jun 9, 2024
8865085
src/sage/matrix/args.pyx: late-import MatrixSpace in all code paths
mkoeppe Jun 9, 2024
168742e
Merge branch 'sage_schemes_imports' into brial_experimental
mkoeppe Jun 22, 2024
6167f32
build/pkgs/brial/type: Change to experimental
mkoeppe Oct 1, 2023
665d402
src/setup.py: Add brial to optional packages excluded in monolithic i…
mkoeppe May 12, 2024
1041e9c
build/pkgs/sagelib/dependencies*: Reduce brial to optional
mkoeppe Apr 13, 2024
4a17cbe
src/sage/features/sagemath.py: Change type of sage.rings.polynomial.p…
mkoeppe Oct 7, 2023
ceaf4b0
build/make/Makefile.in (PYPI_WHEEL_PACKAGES): Add sagemath_brial
mkoeppe Oct 1, 2023
4261f0b
build/pkgs/sagemath_brial, pkgs/sagemath-brial: New (from #35095)
mkoeppe Apr 13, 2024
ac5f7e5
src/sage_setup/{__init__.py,find.py,command}: Update from #35095
mkoeppe Apr 13, 2024
baefb9a
build/pkgs/{brial,sagemath_brial}: Change to optional
mkoeppe Apr 13, 2024
4c8b66e
Add all__sagemath_brial.py files
mkoeppe Apr 13, 2024
6a8d03b
pkgs/sagemath-brial/tox.ini: Fix references to package name
mkoeppe Oct 17, 2023
de1aa5d
src/sage/features/sagemath.py: Make sagemath-brial optional, not expe…
mkoeppe Apr 13, 2024
ac7523e
build/pkgs/sagemath_brial/dependencies: Move PYTHON to end
mkoeppe Apr 13, 2024
10ad2a9
src/sage_setup/find.py: Restore
mkoeppe Apr 17, 2024
82ad499
pkgs/sagemath-brial/pyproject.toml.m4: Remove runtime dependencies on…
mkoeppe Apr 17, 2024
84d6e67
build/pkgs/sagemath_brial: Depend on sagelib instead of sagemath_cate…
mkoeppe Apr 17, 2024
21a55d4
pkgs/sagemath-brial/tox.ini: Update from sagemath-categories
mkoeppe Apr 18, 2024
71c0204
pkgs/sagemath-brial/pyproject.toml.m4: Declare test requirements
mkoeppe Apr 18, 2024
fe739a4
.gitignore: Handle pkgs/sagemath-brial
mkoeppe May 22, 2024
8550f3b
src/setup.cfg.m4: Define extra 'brial'
mkoeppe May 12, 2024
4884112
pkgs/sagemath-{objects,categories,repl,environment}/MANIFEST.in: Upda…
mkoeppe May 12, 2024
0c5ea52
pkgs/sagemath-{objects,categories,repl,environment}/pyproject.toml: U…
mkoeppe May 12, 2024
b4919e8
pkgs/sagemath-categories/MANIFEST.in.m4: exclude sage/rings/function_…
mkoeppe May 12, 2024
ef95af5
sage -fixdistributions --set all: Handle sagemath-brial
mkoeppe May 22, 2024
60ea218
Update all__sagemath_{objects,categories,repl,environment}.py from #3…
mkoeppe Jun 11, 2024
3cc461f
Update 'all' files
mkoeppe Jun 11, 2024
415fd5b
src/sage/misc/dev_tools.py (find_objects_from_name): Ignore objects f…
mkoeppe May 14, 2023
1a416ab
src/sage/rings/rational.pyx: Update from #35095
mkoeppe May 23, 2024
6c46b0d
src/sage/rings/rational.pyx: Revert
mkoeppe Jun 2, 2024
94fe9d3
src/sage/schemes/elliptic_curves/ell_curve_isogeny.py: Fix # needs
mkoeppe Jun 3, 2024
93f3dd6
src/sage/schemes/elliptic_curves/ell_curve_isogeny.py: Remove unneces…
mkoeppe Jun 3, 2024
1319ec7
src/sage/schemes/elliptic_curves/ell_curve_isogeny.py: Revert add of …
mkoeppe Jun 3, 2024
35d0c71
Revert "src/sage/rings/rational.pyx: Revert"
mkoeppe Jun 7, 2024
77e6637
src/sage/rings/rational.pyx: Do not use RealDouble_classes for now
mkoeppe Jun 7, 2024
7c821f6
src/sage/misc/sageinspect.py: Update self-referential doctests
mkoeppe Jun 8, 2024
69c5c8a
./sage -fixdoctests --distribution sagemath-categories --update-known…
mkoeppe Jun 7, 2024
b96213f
pkgs/sagemath-{categories,environment}/README.rst: Update from #35095
mkoeppe Jun 9, 2024
b99fdf0
./sage -fixdoctests --distribution sagemath-repl --update-known-test-…
mkoeppe Jun 7, 2024
34c32ec
sage.categories: Update # needs
mkoeppe Jun 9, 2024
efbee8c
.github/workflows/dist.yml: Build sagemath-brial wheel
mkoeppe Jun 7, 2024
ab0cfa5
sage -fixdoctests --distribution sagemath-categories --update-known-t…
mkoeppe Jun 9, 2024
2f3ac96
pkgs/sagemath-brial/setup.py: Set up sys.path for now
mkoeppe Jun 7, 2024
a5e1c8a
src/sage/all__sagemath_categories.py: Update from #35095
mkoeppe Jun 11, 2024
7a7c795
pkgs/sagemath-objects/pyproject.toml.m4: Add to package-data
mkoeppe Jun 7, 2024
517b5dc
src/sage/categories/semigroups.py: Fix # needs
mkoeppe Jun 22, 2024
caf0bbc
src/pyproject.toml.m4: Merge all metadata from src/setup.cfg.m4, remo…
mkoeppe Jun 12, 2024
39c267e
Restore the deleted version_requirements.txt files in build/pkgs/*/, …
mkoeppe May 14, 2024
0f7cb50
Revert "delete generated version requirements files during cleanup"
mkoeppe May 14, 2024
8cb7e04
Revert "add generated version requirements files to configure tarball"
mkoeppe May 14, 2024
a41bf7a
build/pkgs/*/version_requirements.txt: Deduplicate version constraint…
mkoeppe May 17, 2024
2634443
build/bin/sage-get-system-packages: Extract from pyproject.toml [proj…
mkoeppe May 17, 2024
dfcf127
build/bin/sage-get-system-packages: When scanning pyproject.toml for …
mkoeppe May 17, 2024
108c29f
build/bin/sage-get-system-packages: Sort/uniquify package info extrac…
mkoeppe May 17, 2024
2222457
Merge branch 'brial_experimental' into 10.4.rc0+updates
mkoeppe Jun 23, 2024
8fff6f4
Merge branch '36951' into 10.4.rc0+updates
mkoeppe Jun 23, 2024
0590be2
pkgs/sagemath-{categories,environment}/README.rst: Update from #35095
mkoeppe Jun 9, 2024
d3851cd
sage.categories: Update # needs
mkoeppe Jun 9, 2024
6cb3e71
sage -fixdoctests --distribution sagemath-categories --update-known-t…
mkoeppe Jun 9, 2024
046dbcf
src/sage/all__sagemath_categories.py: Update from #35095
mkoeppe Jun 11, 2024
04dd503
src/sage/categories/semigroups.py: Fix # needs
mkoeppe Jun 22, 2024
b400413
Merge remote-tracking branch 'upstream/develop' into 36676
mkoeppe Jun 23, 2024
8ab839e
Merge branch '36676' into 10.4.rc0+updates
mkoeppe Jun 23, 2024
9bd9f18
src/sage/combinat/permutation.py: Use lazy_import for SJT
mkoeppe Jun 23, 2024
1d29e4b
sage -fixdoctests --distribution sagemath-categories --update-known-t…
mkoeppe Jun 23, 2024
452582d
Merge branch '10.4.rc0+updates' into t/32432/modularization_of_sageli…
mkoeppe Jun 23, 2024
5d2efe1
src/sage/misc/dev_tools.py: Update doctest output
mkoeppe Jun 24, 2024
736dfdb
Merge remote-tracking branch 'upstream/develop' into brial_experimental
mkoeppe Jul 25, 2024
dbdb740
src/sage/categories/triangular_kac_moody_algebras.py: Add # needs
mkoeppe Jul 26, 2024
9cd16e3
src/sage/tests/cmdline.py: Add # needs
mkoeppe Jul 26, 2024
516d8d4
Merge branch 'brial_experimental' into t/32432/modularization_of_sage…
mkoeppe Jul 26, 2024
5bf2b6f
Reverts
mkoeppe Jul 26, 2024
5b7afcf
pkgs/sagemath-standard-no-symbolics/meson.build: Fix up
mkoeppe Jul 26, 2024
5f9c6ae
src/sage_setup/autogen/meson [not --monolithic]: Build all extensions…
mkoeppe Jul 26, 2024
810dea1
build/pkgs/sagemath_objects/spkg-install.in: Use sdh_build_wheel
mkoeppe Jul 26, 2024
b795861
src/sage_setup/autogen/meson/__init__.py: arb -> flint
mkoeppe Jul 27, 2024
1154dbd
Merge remote-tracking branch 'upstream/develop' into t/32432/modulari…
mkoeppe Oct 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .ci/write-dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ $ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-
$ADD config/config.rpath /new/config/config.rpath
$ADD src/doc/bootstrap /new/src/doc/bootstrap
$ADD src/bin /new/src/bin
$ADD src/Pipfile.m4 src/pyproject.toml src/requirements.txt.m4 src/setup.cfg.m4 src/VERSION.txt /new/src/
$ADD src/Pipfile.m4 src/pyproject.toml src/requirements.txt.m4 src/VERSION.txt /new/src/
$ADD m4 /new/m4
$ADD pkgs /new/pkgs
$ADD build /new/build
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
# SPKGs to install as system packages
SPKGS: _bootstrap _prereq
# Non-Python packages to install as spkgs
TARGETS_PRE: gmp mpfr mpc bliss coxeter3 mcqd meataxe sirocco boost_cropped tdlib
TARGETS_PRE: gmp mpfr mpc bliss coxeter3 mcqd meataxe sirocco boost_cropped tdlib brial
CIBW_BUILD: "*${{ matrix.build }}*"
# Disable building PyPy wheels on all platforms
CIBW_SKIP: "pp*"
Expand Down Expand Up @@ -255,6 +255,10 @@ jobs:
run: |
"${{ steps.python.outputs.python-path }}" -m cibuildwheel unpacked/sagemath*bliss*

- name: sagemath-brial
run: |
"${{ steps.python.outputs.python-path }}" -m cibuildwheel unpacked/sagemath*brial*

- name: sagemath-coxeter3
run: |
"${{ steps.python.outputs.python-path }}" -m cibuildwheel unpacked/sagemath*coxeter3*
Expand All @@ -263,6 +267,13 @@ jobs:
run: |
"${{ steps.python.outputs.python-path }}" -m cibuildwheel unpacked/sagemath*mcqd*

- name: sagemath-tdlib
run: |
case "${{ matrix.arch }}" in
sagemath*tdlib:i686) ;; # broken - boost-related
*) "${{ steps.python.outputs.python-path }}" -m cibuildwheel unpacked/sagemath*tdlib*
esac

- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.build }}-${{ matrix.arch }}-wheels
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
"debian-bullseye",
"debian-bookworm",
"debian-trixie",
"debian-trixie-python3.12",
"debian-sid",
"linuxmint-20.1",
"linuxmint-20.2",
Expand All @@ -45,6 +46,7 @@ on:
"fedora-36",
"fedora-37",
"fedora-38",
"fedora-38-python3.12",
"fedora-39",
"fedora-40",
"fedora-41",
Expand All @@ -58,8 +60,10 @@ on:
"archlinux-latest",
"opensuse-15.5-gcc_11-python3.11",
"opensuse-tumbleweed-python3.10",
"opensuse-tumbleweed",
"opensuse-tumbleweed-python3.11",
"opensuse-tumbleweed-python3.12",
"conda-forge-python3.11",
"conda-forge",
"ubuntu-bionic-gcc_8-i386",
"debian-bullseye-i386",
]
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/doctest-problem-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"problemMatcher": [
{
"owner": "doctest-failure",
"severity": "error",
"pattern": [
{
"regexp": "^(\\[(\\S*)-[0-9.a-z]\\] )?File \"(\\S*)\", line ([0-9]*), in (\\S*)\\s*$(\\[(\\S*)-[0-9.a-z]\\] )?^(Failed example):",
"code": 2,
"file": 3,
"line": 4,
"message": 7,
}
]
}
]
}
93 changes: 80 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
/src/environment-optional-3.11.yml

/src/setup.cfg
/src/requirements.txt
/src/requirements*.txt
/src/Pipfile
/src/Pipfile.lock
/src/pyproject.toml
/Pipfile
/Pipfile.lock

Expand Down Expand Up @@ -185,28 +186,20 @@ __pycache__/
build/temp.*/
build/bin/sage-build-env-config

# Generated files in build
build/pkgs/cypari/version_requirements.txt
build/pkgs/cysignals/version_requirements.txt
build/pkgs/cython/version_requirements.txt
build/pkgs/gmpy2/version_requirements.txt
build/pkgs/jupyter_core/version_requirements.txt
build/pkgs/memory_allocator/version_requirements.txt
build/pkgs/numpy/version_requirements.txt
build/pkgs/pkgconfig/version_requirements.txt
build/pkgs/pplpy/version_requirements.txt
build/pkgs/setuptools/version_requirements.txt
build/pkgs/wheel/version_requirements.txt
# Vendored on sdist/install
/src/sage/libs/mpmath/_vendor/mpmath*

# Generated files in the top-level source trees
/pkgs/*/build
/pkgs/*/cython_debug
/pkgs/*/dist
/pkgs/*/MANIFEST
/pkgs/*/*.egg-info
/pkgs/*/.tox
/pkgs/*/venv*
/pkgs/*/.venv*

/pkgs/sage-conf/pyproject.toml
/pkgs/sage-conf_pypi/sage_root/config.log
/pkgs/sage-conf_pypi/sage_root/config.status
/pkgs/sage-conf_pypi/sage_root/local/
Expand All @@ -219,6 +212,7 @@ build/pkgs/wheel/version_requirements.txt

/pkgs/sagemath-objects/setup.cfg
/pkgs/sagemath-bliss/setup.cfg
/pkgs/sagemath-brial/setup.cfg
/pkgs/sagemath-coxeter3/setup.cfg
/pkgs/sagemath-mcqd/setup.cfg
/pkgs/sagemath-meataxe/setup.cfg
Expand All @@ -227,8 +221,36 @@ build/pkgs/wheel/version_requirements.txt
/pkgs/sagemath-categories/setup.cfg
/pkgs/sagemath-environment/setup.cfg
/pkgs/sagemath-repl/setup.cfg
/pkgs/sagemath-polyhedra/setup.cfg
/pkgs/sagemath-combinat/setup.cfg
/pkgs/sagemath-graphs/setup.cfg
/pkgs/sagemath-groups/setup.cfg
/pkgs/sagemath-modules/setup.cfg
/pkgs/sagemath-schemes/setup.cfg
/pkgs/sagemath-plot/setup.cfg
/pkgs/sagemath-symbolics/setup.cfg
/pkgs/sagemath-standard-no-symbolics/setup.cfg
/pkgs/sagemath-flint/setup.cfg
/pkgs/sagemath-gap/setup.cfg
/pkgs/sagemath-giac/setup.cfg
/pkgs/sagemath-glpk/setup.cfg
/pkgs/sagemath-homfly/setup.cfg
/pkgs/sagemath-linbox/setup.cfg
/pkgs/sagemath-mpmath/setup.cfg
/pkgs/sagemath-ntl/setup.cfg
/pkgs/sagemath-pari/setup.cfg
/pkgs/sagemath-singular/setup.cfg
/pkgs/sagemath-brial/setup.cfg
/pkgs/sagemath-eclib/setup.cfg
/pkgs/sagemath-lcalc/setup.cfg
/pkgs/sagemath-libbraiding/setup.cfg
/pkgs/sagemath-libecm/setup.cfg

/pkgs/*/pyproject.toml

/pkgs/sagemath-objects/pyproject.toml
/pkgs/sagemath-bliss/pyproject.toml
/pkgs/sagemath-brial/pyproject.toml
/pkgs/sagemath-coxeter3/pyproject.toml
/pkgs/sagemath-mcqd/pyproject.toml
/pkgs/sagemath-meataxe/pyproject.toml
Expand All @@ -239,6 +261,7 @@ build/pkgs/wheel/version_requirements.txt
/pkgs/sagemath-repl/pyproject.toml
/pkgs/sagemath-objects/requirements*.txt
/pkgs/sagemath-bliss/requirements*.txt
/pkgs/sagemath-brial/requirements*.txt
/pkgs/sagemath-coxeter3/requirements*.txt
/pkgs/sagemath-mcqd/requirements*.txt
/pkgs/sagemath-meataxe/requirements*.txt
Expand All @@ -247,7 +270,43 @@ build/pkgs/wheel/version_requirements.txt
/pkgs/sagemath-categories/requirements*.txt
/pkgs/sagemath-environment/requirements*.txt
/pkgs/sagemath-repl/requirements*.txt
/pkgs/sagemath-polyhedra/requirements*.txt
/pkgs/sagemath-combinat/requirements*.txt
/pkgs/sagemath-graphs/requirements*.txt
/pkgs/sagemath-groups/requirements*.txt
/pkgs/sagemath-modules/requirements*.txt
/pkgs/sagemath-plot/requirements*.txt
/pkgs/sagemath-schemes/requirements*.txt
/pkgs/sagemath-symbolics/requirements*.txt
/pkgs/sagemath-standard-no-symbolics/requirements*.txt
/pkgs/sagemath-flint/requirements*.txt
/pkgs/sagemath-gap/requirements*.txt
/pkgs/sagemath-giac/requirements*.txt
/pkgs/sagemath-glpk/requirements*.txt
/pkgs/sagemath-homfly/requirements*.txt
/pkgs/sagemath-linbox/requirements*.txt
/pkgs/sagemath-mpmath/requirements*.txt
/pkgs/sagemath-ntl/requirements*.txt
/pkgs/sagemath-pari/requirements*.txt
/pkgs/sagemath-singular/requirements*.txt
/pkgs/sagemath-brial/requirements*.txt
/pkgs/sagemath-eclib/requirements*.txt
/pkgs/sagemath-lcalc/requirements*.txt
/pkgs/sagemath-libbraiding/requirements*.txt
/pkgs/sagemath-libecm/requirements*.txt

/pkgs/sagemath-categories/MANIFEST.in
/pkgs/sagemath-polyhedra/MANIFEST.in
/pkgs/sagemath-combinat/MANIFEST.in
/pkgs/sagemath-graphs/MANIFEST.in
/pkgs/sagemath-groups/MANIFEST.in
/pkgs/sagemath-modules/MANIFEST.in
/pkgs/sagemath-plot/MANIFEST.in
/pkgs/sagemath-schemes/MANIFEST.in
/pkgs/sagemath-symbolics/MANIFEST.in
/pkgs/sagemath-standard-no-symbolics/MANIFEST.in

/pkgs/sagemath-mpmath/vendor.txt

# same for old locations - before Issue #31577
/build/pkgs/*/src/build
Expand All @@ -274,6 +333,9 @@ src/*.egg-info/
/src/bin/sage-env-config
/src/bin/sage-src-env-config

# Generated by sage-generate-meson
/src/**/meson.build

# Virtual environments
/venv
src/.env
Expand All @@ -299,3 +361,8 @@ src/.coverage/
# git worktree
worktree*
**/worktree*

# Pyodide
**/.pyodide-xbuildenv
/emsdk/
/venv-pyodide*/
11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,6 @@ bootstrap-clean:
rm -f src/Pipfile
rm -f src/requirements.txt
rm -f src/setup.cfg
rm -f build/pkgs/cypari/version_requirements.txt
rm -f build/pkgs/cysignals/version_requirements.txt
rm -f build/pkgs/cython/version_requirements.txt
rm -f build/pkgs/gmpy2/version_requirements.txt
rm -f build/pkgs/jupyter_core/version_requirements.txt
rm -f build/pkgs/memory_allocator/version_requirements.txt
rm -f build/pkgs/numpy/version_requirements.txt
rm -f build/pkgs/pkgconfig/version_requirements.txt
rm -f build/pkgs/pplpy/version_requirements.txt
rm -f build/pkgs/setuptools/version_requirements.txt
rm -f build/pkgs/wheel/version_requirements.txt

# Remove absolutely everything which isn't part of the git repo
maintainer-clean: distclean bootstrap-clean
Expand Down
23 changes: 1 addition & 22 deletions bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,6 @@ MAKE="${MAKE:-make}"


bootstrap () {
for pkgname in cypari cysignals cython gmpy2 jupyter_core memory_allocator numpy pkgconfig pplpy setuptools wheel; do
# Write the version_requirements.txt files for dependencies declared in pyproject.toml
target=build/pkgs/${pkgname}/version_requirements.txt
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
echo "bootstrap:$LINENO: installing '"$target"'"
fi
echo "# Generated by SAGE_ROOT/bootstrap based on src/pyproject.toml; do not edit directly" > $target
sage-get-system-packages install-requires ${pkgname} >> $target
done
for a in m4/sage_spkg_configures.m4 m4/sage_spkg_versions.m4 m4/sage_spkg_versions_toml.m4; do
if [ "${BOOTSTRAP_QUIET}" = "no" ]; then
echo "bootstrap:$LINENO: installing '"$a"'"
Expand Down Expand Up @@ -232,19 +223,7 @@ save () {
src/environment-optional-3.[89].yml src/environment-optional-3.1[0-9].yml \
src/Pipfile \
src/pyproject.toml \
src/requirements.txt \
src/setup.cfg \
build/pkgs/cypari/version_requirements.txt \
build/pkgs/cysignals/version_requirements.txt \
build/pkgs/cython/version_requirements.txt \
build/pkgs/gmpy2/version_requirements.txt \
build/pkgs/jupyter_core/version_requirements.txt \
build/pkgs/memory_allocator/version_requirements.txt \
build/pkgs/numpy/version_requirements.txt \
build/pkgs/pkgconfig/version_requirements.txt \
build/pkgs/pplpy/version_requirements.txt \
build/pkgs/setuptools/version_requirements.txt \
build/pkgs/wheel/version_requirements.txt
src/requirements.txt

# Update version; this re-computes the checksum
sage-package update configure "$NEWCONFVERSION"
Expand Down
31 changes: 18 additions & 13 deletions bootstrap-conda
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ STRIP_COMMENTS="sed s/#.*//;"

shopt -s extglob

DEVELOP_SPKG_PATTERN="@(_develop$(for a in $(head -n 1 build/pkgs/_develop/dependencies); do echo -n "|"$a; done))"
eval $(sage-package dependencies --format=shell :all:)
DEVELOP_SPKG_PATTERN="@(_develop|${runtime_deps__develop// /|})"
BOOTSTRAP_PACKAGES=_bootstrap
PACKAGES=
OPTIONAL_PACKAGES=
Expand Down Expand Up @@ -139,18 +140,22 @@ echo >&2 $0:$LINENO: generate conda environment files
if [ ! -f $SYSTEM_PACKAGES_FILE ]; then
SYSTEM_PACKAGES_FILE=$PKG_SCRIPTS/version_requirements.txt
fi
if grep -q SAGERUNTIME $PKG_SCRIPTS/dependencies $PKG_SCRIPTS/dependencies_order_only 2>/dev/null; then
: # cannot install packages that depend on the Sage library
else
case "$PKG_BASE:$PKG_TYPE" in
$DEVELOP_SPKG_PATTERN:*) FD=4;;
*:standard) FD="4 5";;
*) FD=5;;
esac
${STRIP_COMMENTS} $SYSTEM_PACKAGES_FILE | while read -r line; do
[ -n "$line" ] && for fd in $FD; do echo >&$fd " - $line"; done
done
fi
eval DEPS=\"\$runtime_deps_$PKG_BASE\ \$build_deps_$PKG_BASE\ \$order_only_deps_$PKG_BASE\"
case "$DEPS" in
*SAGERUNTIME*)
# cannot install packages that depend on the Sage library
;;
*)
case "$PKG_BASE:$PKG_TYPE" in
$DEVELOP_SPKG_PATTERN:*) FD=4;;
*:standard) FD="4 5";;
*) FD=5;;
esac
${STRIP_COMMENTS} $SYSTEM_PACKAGES_FILE | while read -r line; do
[ -n "$line" ] && for fd in $FD; do echo >&$fd " - $line"; done
done
;;
esac
done
) 4>> /dev/null 5>> src/environment-optional-template.yml

Expand Down
9 changes: 7 additions & 2 deletions build/bin/sage-get-system-packages
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,14 @@ for PKG_BASE in $SPKGS; do
*pyproject.toml)
SYSTEM_PACKAGES_FILE="$SAGE_ROOT"/$NAME
if [ -f "$SYSTEM_PACKAGES_FILE" ]; then
# Extract from the "requires" block in src/pyproject.toml
# Extract from src/pyproject.toml:
# - from the "[build-system] requires" value
# - from "[project] dependencies",
# - from "[project.optional-dependencies]"
# Packages are in the format "'sage-conf ~= 10.3b3',"
PACKAGE_INFO=$(sed -n '/requires *= *\[/,/^\]/s/^ *'\''\('$PKG_BASE'.*\)'\'',/\1/p' "$SAGE_ROOT/src/pyproject.toml")
# Accept dashes and underscores in package names as equivalent:
PKG_REGEX=$(echo $PKG_BASE | sed 's/[-_]/[-_]/g')
PACKAGE_INFO=$(sed -En '/(requires|dependencies|R) *= *\[/,/^\]/s/^ *'\''('$PKG_REGEX'.*)'\'',/\1/p' "$SAGE_ROOT/src/pyproject.toml" | sort -u)
if [ -n "$PACKAGE_INFO" ]; then
echo "$PACKAGE_INFO" | ${STRIP_COMMENTS}
[ $SYSTEM = versions ] || break
Expand Down
13 changes: 13 additions & 0 deletions build/bin/sage-site
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,19 @@ if [ "$1" = "-advanced" -o "$1" = "--advanced" ]; then
exit 0
fi

# Delegation

if [ "$1" = '-distribution' -o "$1" = '--distribution' ]; then
distribution=$(echo "$2" | cut -f1 -d'[' | tr _ -)
case "$2" in
*\[*\]) extras_suffix=-$(echo "$2" | cut -f2 -d'[' | sed 's/,/--/;s/]//;');;
*) extras_suffix=
esac
shift 2

exec "$SAGE_ROOT"/pkgs/$distribution/.tox/sagepython-sagewheels-nopypi-norequirements$extras_suffix/bin/sage "$@"
fi

#####################################################################
# Package handling
#####################################################################
Expand Down
1 change: 1 addition & 0 deletions build/bin/sage-spkg
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Other options:
use at your own risk
-n: automatically reply "n" for all prompts regarding
experimental and old-style packages
-d: only download the package
-o: allow fetching the package from its upstream URL
when it is not available from the Sage mirrors (yet)
-c: after installing, run the test suite for the package;
Expand Down
Loading
Loading