diff --git a/.github/workflows/write-dockerfile.sh b/.github/workflows/write-dockerfile.sh index 05cdd5db3a0..84eb25ae5ea 100755 --- a/.github/workflows/write-dockerfile.sh +++ b/.github/workflows/write-dockerfile.sh @@ -280,7 +280,6 @@ $ADD config/config.rpath /new/config/config.rpath $ADD src/meson.build /new/src/ $ADD src/bin /new/src/bin $ADD m4 /new/m4 -$ADD pkgs /new/pkgs $ADD build /new/build $ADD .upstream.d /new/.upstream.d $ADD tools /new/tools diff --git a/.gitignore b/.gitignore index d7055d4ba09..8de7b7eee23 100644 --- a/.gitignore +++ b/.gitignore @@ -133,29 +133,6 @@ build/pkgs/pplpy/version_requirements.txt build/pkgs/setuptools/version_requirements.txt build/pkgs/wheel/version_requirements.txt -# Generated files in the top-level source trees -/pkgs/*/build -/pkgs/*/dist -/pkgs/*/MANIFEST -/pkgs/*/*.egg-info -/pkgs/*/.tox -/pkgs/*/venv* -/pkgs/*/.venv* - -/pkgs/sagemath-objects/setup.cfg -/pkgs/sagemath-categories/setup.cfg -/pkgs/sagemath-environment/setup.cfg -/pkgs/sagemath-repl/setup.cfg -/pkgs/sagemath-objects/pyproject.toml -/pkgs/sagemath-categories/pyproject.toml -/pkgs/sagemath-environment/pyproject.toml -/pkgs/sagemath-repl/pyproject.toml -/pkgs/sagemath-objects/requirements*.txt -/pkgs/sagemath-categories/requirements*.txt -/pkgs/sagemath-environment/requirements*.txt -/pkgs/sagemath-repl/requirements*.txt -/pkgs/sagemath-categories/MANIFEST.in - # same for old locations - before Issue #31577 /build/pkgs/*/src/build /build/pkgs/*/src/dist diff --git a/.vscode/settings.json b/.vscode/settings.json index 1fe8f5ecca4..c766ab572bc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,15 +4,6 @@ "**/__pycache__": true, "src/**/*.so": true }, - "search.exclude": { - // Exclude symbolic links into SAGE_ROOT/pkgs/ - "build/pkgs/*/src": true, - // Exclude symbolic links into SAGE_ROOT/src/ - "pkgs/sage-docbuild/sage_docbuild": true, - "pkgs/sage-setup/sage_setup": true, - "pkgs/sagemath-*/sage": true, - "pkgs/sagemath-*/sage_setup": true - }, "python.testing.pytestEnabled": true, "python.testing.pytestArgs": [ "--doctest" diff --git a/build/pkgs/sage_docbuild/SPKG.rst b/build/pkgs/sage_docbuild/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sage_docbuild/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sage_docbuild/SPKG.rst b/build/pkgs/sage_docbuild/SPKG.rst new file mode 100644 index 00000000000..0dc08c00ee2 --- /dev/null +++ b/build/pkgs/sage_docbuild/SPKG.rst @@ -0,0 +1,28 @@ +================================================================================ + Sage: Open Source Mathematics Software: Build system of the Sage documentation +================================================================================ + +.. NOTE:: + + If you are a developer and want to build the SageMath documentation from source, + refer to `developer's guide <../../developer/sage_manuals.html>`_. + +About SageMath +-------------- + + "Creating a Viable Open Source Alternative to + Magma, Maple, Mathematica, and MATLAB" + + Copyright (C) 2005-2020 The Sage Development Team + + https://www.sagemath.org + +SageMath fully supports all major Linux distributions, recent versions of macOS, and Windows (using Windows Subsystem for Linux). + +The traditional and recommended way to install SageMath is from source via Sage-the-distribution (https://www.sagemath.org/download-source.html). Sage-the-distribution first builds a large number of open source packages from source (unless it finds suitable versions installed in the system) and then installs the Sage Library (sagelib, implemented in Python and Cython). + + +About this pip-installable source distribution +---------------------------------------------- + +This is the build system of the Sage documentation, based on Sphinx. diff --git a/build/pkgs/sage_docbuild/src b/build/pkgs/sage_docbuild/src deleted file mode 120000 index 41819d35596..00000000000 --- a/build/pkgs/sage_docbuild/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sage-docbuild/ \ No newline at end of file diff --git a/pkgs/sage-docbuild/MANIFEST.in b/build/pkgs/sage_docbuild/src/MANIFEST.in similarity index 100% rename from pkgs/sage-docbuild/MANIFEST.in rename to build/pkgs/sage_docbuild/src/MANIFEST.in diff --git a/pkgs/sage-docbuild/README.rst b/build/pkgs/sage_docbuild/src/README.rst similarity index 100% rename from pkgs/sage-docbuild/README.rst rename to build/pkgs/sage_docbuild/src/README.rst diff --git a/build/pkgs/sage_docbuild/src/VERSION.txt b/build/pkgs/sage_docbuild/src/VERSION.txt new file mode 100644 index 00000000000..e29b09179e4 --- /dev/null +++ b/build/pkgs/sage_docbuild/src/VERSION.txt @@ -0,0 +1 @@ +10.9.rc1 diff --git a/pkgs/sage-docbuild/pyproject.toml b/build/pkgs/sage_docbuild/src/pyproject.toml similarity index 100% rename from pkgs/sage-docbuild/pyproject.toml rename to build/pkgs/sage_docbuild/src/pyproject.toml diff --git a/pkgs/sage-docbuild/requirements.txt b/build/pkgs/sage_docbuild/src/requirements.txt similarity index 100% rename from pkgs/sage-docbuild/requirements.txt rename to build/pkgs/sage_docbuild/src/requirements.txt diff --git a/build/pkgs/sage_docbuild/src/sage_docbuild b/build/pkgs/sage_docbuild/src/sage_docbuild new file mode 120000 index 00000000000..5cde7be112d --- /dev/null +++ b/build/pkgs/sage_docbuild/src/sage_docbuild @@ -0,0 +1 @@ +../../../../src/sage_docbuild/ \ No newline at end of file diff --git a/pkgs/sage-docbuild/setup.py b/build/pkgs/sage_docbuild/src/setup.py similarity index 100% rename from pkgs/sage-docbuild/setup.py rename to build/pkgs/sage_docbuild/src/setup.py diff --git a/pkgs/sage-docbuild/tox.ini b/build/pkgs/sage_docbuild/src/tox.ini similarity index 100% rename from pkgs/sage-docbuild/tox.ini rename to build/pkgs/sage_docbuild/src/tox.ini diff --git a/build/pkgs/sage_setup/SPKG.rst b/build/pkgs/sage_setup/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sage_setup/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sage_setup/SPKG.rst b/build/pkgs/sage_setup/SPKG.rst new file mode 100644 index 00000000000..4d6f4106546 --- /dev/null +++ b/build/pkgs/sage_setup/SPKG.rst @@ -0,0 +1,4 @@ +sage-setup: Build system of the SageMath library +================================================ + +This is the build system of the Sage library, based on setuptools. diff --git a/build/pkgs/sage_setup/src b/build/pkgs/sage_setup/src deleted file mode 120000 index 60bb9a77ef9..00000000000 --- a/build/pkgs/sage_setup/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sage-setup \ No newline at end of file diff --git a/pkgs/sage-setup/README.rst b/build/pkgs/sage_setup/src/README.rst similarity index 100% rename from pkgs/sage-setup/README.rst rename to build/pkgs/sage_setup/src/README.rst diff --git a/build/pkgs/sage_setup/src/VERSION.txt b/build/pkgs/sage_setup/src/VERSION.txt new file mode 100644 index 00000000000..e29b09179e4 --- /dev/null +++ b/build/pkgs/sage_setup/src/VERSION.txt @@ -0,0 +1 @@ +10.9.rc1 diff --git a/pkgs/sage-setup/pyproject.toml b/build/pkgs/sage_setup/src/pyproject.toml similarity index 100% rename from pkgs/sage-setup/pyproject.toml rename to build/pkgs/sage_setup/src/pyproject.toml diff --git a/pkgs/sage-setup/requirements.txt b/build/pkgs/sage_setup/src/requirements.txt similarity index 100% rename from pkgs/sage-setup/requirements.txt rename to build/pkgs/sage_setup/src/requirements.txt diff --git a/build/pkgs/sage_setup/src/sage_setup b/build/pkgs/sage_setup/src/sage_setup new file mode 120000 index 00000000000..c8a193057da --- /dev/null +++ b/build/pkgs/sage_setup/src/sage_setup @@ -0,0 +1 @@ +../../../../src/sage_setup/ \ No newline at end of file diff --git a/pkgs/sage-setup/setup.py b/build/pkgs/sage_setup/src/setup.py similarity index 100% rename from pkgs/sage-setup/setup.py rename to build/pkgs/sage_setup/src/setup.py diff --git a/pkgs/sage-setup/tox.ini b/build/pkgs/sage_setup/src/tox.ini similarity index 100% rename from pkgs/sage-setup/tox.ini rename to build/pkgs/sage_setup/src/tox.ini diff --git a/build/pkgs/sagemath_categories/SPKG.rst b/build/pkgs/sagemath_categories/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sagemath_categories/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sagemath_categories/src b/build/pkgs/sagemath_categories/src deleted file mode 120000 index 5e64e8c2f9e..00000000000 --- a/build/pkgs/sagemath_categories/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sagemath-categories \ No newline at end of file diff --git a/build/pkgs/sagemath_categories/type b/build/pkgs/sagemath_categories/type deleted file mode 100644 index 134d9bc32d5..00000000000 --- a/build/pkgs/sagemath_categories/type +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/build/pkgs/sagemath_environment/SPKG.rst b/build/pkgs/sagemath_environment/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sagemath_environment/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sagemath_environment/src b/build/pkgs/sagemath_environment/src deleted file mode 120000 index a6bd42f71d3..00000000000 --- a/build/pkgs/sagemath_environment/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sagemath-environment \ No newline at end of file diff --git a/build/pkgs/sagemath_environment/type b/build/pkgs/sagemath_environment/type deleted file mode 100644 index 134d9bc32d5..00000000000 --- a/build/pkgs/sagemath_environment/type +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/build/pkgs/sagemath_objects/SPKG.rst b/build/pkgs/sagemath_objects/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sagemath_objects/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sagemath_objects/src b/build/pkgs/sagemath_objects/src deleted file mode 120000 index f9cb321d7b4..00000000000 --- a/build/pkgs/sagemath_objects/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sagemath-objects \ No newline at end of file diff --git a/build/pkgs/sagemath_objects/type b/build/pkgs/sagemath_objects/type deleted file mode 100644 index 134d9bc32d5..00000000000 --- a/build/pkgs/sagemath_objects/type +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/build/pkgs/sagemath_repl/SPKG.rst b/build/pkgs/sagemath_repl/SPKG.rst deleted file mode 120000 index b4545b4bda6..00000000000 --- a/build/pkgs/sagemath_repl/SPKG.rst +++ /dev/null @@ -1 +0,0 @@ -src/README.rst \ No newline at end of file diff --git a/build/pkgs/sagemath_repl/src b/build/pkgs/sagemath_repl/src deleted file mode 120000 index 87bcc53def5..00000000000 --- a/build/pkgs/sagemath_repl/src +++ /dev/null @@ -1 +0,0 @@ -../../../pkgs/sagemath-repl \ No newline at end of file diff --git a/build/pkgs/sagemath_repl/type b/build/pkgs/sagemath_repl/type deleted file mode 100644 index 134d9bc32d5..00000000000 --- a/build/pkgs/sagemath_repl/type +++ /dev/null @@ -1 +0,0 @@ -optional diff --git a/pkgs/README.rst b/pkgs/README.rst deleted file mode 100644 index 8847d4c1fb1..00000000000 --- a/pkgs/README.rst +++ /dev/null @@ -1 +0,0 @@ -This directory contains source trees of independent Python distribution packages. diff --git a/pkgs/sage-docbuild/VERSION.txt b/pkgs/sage-docbuild/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sage-docbuild/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sage-docbuild/sage_docbuild b/pkgs/sage-docbuild/sage_docbuild deleted file mode 120000 index 9048c08ba82..00000000000 --- a/pkgs/sage-docbuild/sage_docbuild +++ /dev/null @@ -1 +0,0 @@ -../../src/sage_docbuild/ \ No newline at end of file diff --git a/pkgs/sage-setup/VERSION.txt b/pkgs/sage-setup/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sage-setup/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sage-setup/sage_setup b/pkgs/sage-setup/sage_setup deleted file mode 120000 index 88b8133df49..00000000000 --- a/pkgs/sage-setup/sage_setup +++ /dev/null @@ -1 +0,0 @@ -../../src/sage_setup \ No newline at end of file diff --git a/pkgs/sagemath-categories/MANIFEST.in.m4 b/pkgs/sagemath-categories/MANIFEST.in.m4 deleted file mode 100644 index ae0c1085e3d..00000000000 --- a/pkgs/sagemath-categories/MANIFEST.in.m4 +++ /dev/null @@ -1,53 +0,0 @@ -dnl MANIFEST.in is generated from this file by SAGE_ROOT/bootstrap via m4. -prune sage - -include VERSION.txt - -graft sage/categories -# Exclude what is already shipped in sagemath-objects -exclude sage/categories/action.* -exclude sage/categories/algebra_functor.* -exclude sage/categories/basic.* -exclude sage/categories/cartesian_product.* -exclude sage/categories/category*.* -exclude sage/categories/covariant_functorial_construction.* -exclude sage/categories/facade_sets.* -exclude sage/categories/functor.* -exclude sage/categories/homset.* -exclude sage/categories/homsets.* -exclude sage/categories/map.* -exclude sage/categories/morphism.* -exclude sage/categories/isomorphic_objects.* -exclude sage/categories/objects.* -exclude sage/categories/primer.* -exclude sage/categories/pushout.* -exclude sage/categories/quotients.* -exclude sage/categories/realizations.* -exclude sage/categories/sets_cat.* -exclude sage/categories/sets_with_partial_maps.* -exclude sage/categories/subobjects.* -exclude sage/categories/subquotients.* -exclude sage/categories/with_realizations.* -# Exclude to make it a namespace package -exclude sage/categories/__init__.py - -include sage/rings/ideal.* -include sage/rings/ring.* -graft sage/typeset # dep of sage.categories.tensor -# include sage/rings/integer*.* # depends on cypari, flint - https://github.com/sagemath/sage/issues/30022 -# include sage/rings/rational*.* -# include sage/rings/infinity.* - -global-exclude *.c -global-exclude *.cpp - -global-exclude all__sagemath_*.* - -global-exclude __pycache__ -global-exclude *.py[co] -global-exclude *.bak -global-exclude *.so -global-exclude *~ -prune .tox -prune build -prune dist diff --git a/pkgs/sagemath-categories/README.rst b/pkgs/sagemath-categories/README.rst deleted file mode 100644 index 01e974442f8..00000000000 --- a/pkgs/sagemath-categories/README.rst +++ /dev/null @@ -1,51 +0,0 @@ -========================================================================= - Sage: Open Source Mathematics Software: Sage categories and basic rings -========================================================================= - -About SageMath --------------- - - "Creating a Viable Open Source Alternative to - Magma, Maple, Mathematica, and MATLAB" - - Copyright (C) 2005-2024 The Sage Development Team - - https://www.sagemath.org - -SageMath fully supports all major Linux distributions, recent versions of -macOS, and Windows (Windows Subsystem for Linux). - -See https://doc.sagemath.org/html/en/installation/index.html -for general installation instructions. - - -About this pip-installable distribution package ------------------------------------------------ - -The pip-installable distribution package `sagemath-categories` is a -distribution of a small part of the Sage Library. - -It provides a small subset of the modules of the Sage library -("sagelib", `sagemath-standard`) that is a superset of `sagemath-objects` -(providing Sage objects, the element/parent framework, categories, the coercion -system and the related metaclasses), making various additional categories -available without introducing dependencies on additional mathematical -libraries. - - -Dependencies ------------- - -When building from source, development packages of `gmp`, `mpfr`, and `mpc` are needed. - - -Documentation -------------- - -* `Categories `_ - -* `Structure `_ - -* `Coercion `_ - -* `Classes, Metaclasses `_ diff --git a/pkgs/sagemath-categories/VERSION.txt b/pkgs/sagemath-categories/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sagemath-categories/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sagemath-categories/known-test-failures.json b/pkgs/sagemath-categories/known-test-failures.json deleted file mode 100644 index 0cc8f126940..00000000000 --- a/pkgs/sagemath-categories/known-test-failures.json +++ /dev/null @@ -1,1443 +0,0 @@ -{ - "sage.arith.numerical_approx": { - "ntests": 1 - }, - "sage.arith.power": { - "failed": true, - "ntests": 16 - }, - "sage.categories.action": { - "failed": true, - "ntests": 78 - }, - "sage.categories.additive_groups": { - "ntests": 9 - }, - "sage.categories.additive_magmas": { - "failed": true, - "ntests": 134 - }, - "sage.categories.additive_monoids": { - "failed": true, - "ntests": 16 - }, - "sage.categories.additive_semigroups": { - "failed": true, - "ntests": 28 - }, - "sage.categories.affine_weyl_groups": { - "ntests": 15 - }, - "sage.categories.algebra_ideals": { - "failed": true, - "ntests": 8 - }, - "sage.categories.algebra_modules": { - "failed": true, - "ntests": 9 - }, - "sage.categories.algebras": { - "failed": true, - "ntests": 25 - }, - "sage.categories.algebras_with_basis": { - "failed": true, - "ntests": 46 - }, - "sage.categories.aperiodic_semigroups": { - "ntests": 1 - }, - "sage.categories.associative_algebras": { - "failed": true, - "ntests": 5 - }, - "sage.categories.bialgebras": { - "ntests": 3 - }, - "sage.categories.bialgebras_with_basis": { - "failed": true, - "ntests": 31 - }, - "sage.categories.bimodules": { - "failed": true, - "ntests": 15 - }, - "sage.categories.cartesian_product": { - "failed": true, - "ntests": 42 - }, - "sage.categories.category": { - "failed": true, - "ntests": 433 - }, - "sage.categories.category_cy_helper": { - "failed": true, - "ntests": 27 - }, - "sage.categories.category_singleton": { - "failed": true, - "ntests": 59 - }, - "sage.categories.category_types": { - "failed": true, - "ntests": 74 - }, - "sage.categories.category_with_axiom": { - "failed": true, - "ntests": 328 - }, - "sage.categories.chain_complexes": { - "failed": true, - "ntests": 20 - }, - "sage.categories.coalgebras": { - "ntests": 6 - }, - "sage.categories.coalgebras_with_basis": { - "failed": true, - "ntests": 23 - }, - "sage.categories.coercion_methods": { - "failed": true, - "ntests": 6 - }, - "sage.categories.commutative_additive_groups": { - "failed": true, - "ntests": 17 - }, - "sage.categories.commutative_additive_monoids": { - "ntests": 5 - }, - "sage.categories.commutative_additive_semigroups": { - "failed": true, - "ntests": 6 - }, - "sage.categories.commutative_algebra_ideals": { - "failed": true, - "ntests": 9 - }, - "sage.categories.commutative_algebras": { - "failed": true, - "ntests": 11 - }, - "sage.categories.commutative_ring_ideals": { - "failed": true, - "ntests": 7 - }, - "sage.categories.commutative_rings": { - "failed": true, - "ntests": 41 - }, - "sage.categories.complete_discrete_valuation": { - "failed": true, - "ntests": 30 - }, - "sage.categories.complex_reflection_groups": { - "failed": true, - "ntests": 16 - }, - "sage.categories.complex_reflection_or_generalized_coxeter_groups": { - "ntests": 67 - }, - "sage.categories.covariant_functorial_construction": { - "failed": true, - "ntests": 65 - }, - "sage.categories.coxeter_group_algebras": { - "ntests": 2 - }, - "sage.categories.coxeter_groups": { - "failed": true, - "ntests": 392 - }, - "sage.categories.cw_complexes": { - "failed": true, - "ntests": 36 - }, - "sage.categories.dedekind_domains": { - "failed": true, - "ntests": 30 - }, - "sage.categories.discrete_valuation": { - "failed": true, - "ntests": 28 - }, - "sage.categories.distributive_magmas_and_additive_magmas": { - "failed": true, - "ntests": 13 - }, - "sage.categories.division_rings": { - "ntests": 11 - }, - "sage.categories.domains": { - "failed": true, - "ntests": 7 - }, - "sage.categories.dual": { - "failed": true, - "ntests": 1 - }, - "sage.categories.enumerated_sets": { - "failed": true, - "ntests": 132 - }, - "sage.categories.euclidean_domains": { - "failed": true, - "ntests": 22 - }, - "sage.categories.examples.algebras_with_basis": { - "ntests": 8 - }, - "sage.categories.examples.commutative_additive_monoids": { - "failed": true, - "ntests": 14 - }, - "sage.categories.examples.commutative_additive_semigroups": { - "failed": true, - "ntests": 28 - }, - "sage.categories.examples.cw_complexes": { - "failed": true, - "ntests": 33 - }, - "sage.categories.examples.facade_sets": { - "failed": true, - "ntests": 21 - }, - "sage.categories.examples.filtered_algebras_with_basis": { - "failed": true, - "ntests": 25 - }, - "sage.categories.examples.filtered_modules_with_basis": { - "ntests": 12 - }, - "sage.categories.examples.finite_dimensional_lie_algebras_with_basis": { - "ntests": 1 - }, - "sage.categories.examples.finite_enumerated_sets": { - "failed": true, - "ntests": 29 - }, - "sage.categories.examples.finite_monoids": { - "failed": true, - "ntests": 15 - }, - "sage.categories.examples.finite_semigroups": { - "failed": true, - "ntests": 27 - }, - "sage.categories.examples.finite_weyl_groups": { - "failed": true, - "ntests": 25 - }, - "sage.categories.examples.graded_modules_with_basis": { - "ntests": 14 - }, - "sage.categories.examples.graphs": { - "failed": true, - "ntests": 24 - }, - "sage.categories.examples.infinite_enumerated_sets": { - "failed": true, - "ntests": 35 - }, - "sage.categories.examples.lie_algebras": { - "ntests": 25 - }, - "sage.categories.examples.magmas": { - "failed": true, - "ntests": 20 - }, - "sage.categories.examples.manifolds": { - "failed": true, - "ntests": 15 - }, - "sage.categories.examples.monoids": { - "failed": true, - "ntests": 16 - }, - "sage.categories.examples.posets": { - "failed": true, - "ntests": 29 - }, - "sage.categories.examples.semigroups": { - "failed": true, - "ntests": 83 - }, - "sage.categories.examples.semigroups_cython": { - "failed": true, - "ntests": 47 - }, - "sage.categories.examples.sets_with_grading": { - "failed": true, - "ntests": 14 - }, - "sage.categories.facade_sets": { - "failed": true, - "ntests": 27 - }, - "sage.categories.fields": { - "failed": true, - "ntests": 109 - }, - "sage.categories.filtered_algebras": { - "failed": true, - "ntests": 5 - }, - "sage.categories.filtered_algebras_with_basis": { - "failed": true, - "ntests": 39 - }, - "sage.categories.filtered_hopf_algebras_with_basis": { - "failed": true, - "ntests": 12 - }, - "sage.categories.filtered_modules": { - "failed": true, - "ntests": 18 - }, - "sage.categories.filtered_modules_with_basis": { - "failed": true, - "ntests": 74 - }, - "sage.categories.finite_complex_reflection_groups": { - "failed": true, - "ntests": 189 - }, - "sage.categories.finite_coxeter_groups": { - "ntests": 6 - }, - "sage.categories.finite_dimensional_algebras_with_basis": { - "failed": true, - "ntests": 91 - }, - "sage.categories.finite_dimensional_bialgebras_with_basis": { - "failed": true, - "ntests": 4 - }, - "sage.categories.finite_dimensional_coalgebras_with_basis": { - "failed": true, - "ntests": 4 - }, - "sage.categories.finite_dimensional_graded_lie_algebras_with_basis": { - "failed": true, - "ntests": 22 - }, - "sage.categories.finite_dimensional_hopf_algebras_with_basis": { - "failed": true, - "ntests": 3 - }, - "sage.categories.finite_dimensional_lie_algebras_with_basis": { - "failed": true, - "ntests": 73 - }, - "sage.categories.finite_dimensional_modules_with_basis": { - "failed": true, - "ntests": 89 - }, - "sage.categories.finite_dimensional_nilpotent_lie_algebras_with_basis": { - "failed": true, - "ntests": 19 - }, - "sage.categories.finite_dimensional_semisimple_algebras_with_basis": { - "failed": true, - "ntests": 12 - }, - "sage.categories.finite_enumerated_sets": { - "failed": true, - "ntests": 123 - }, - "sage.categories.finite_fields": { - "failed": true, - "ntests": 14 - }, - "sage.categories.finite_lattice_posets": { - "ntests": 31 - }, - "sage.categories.finite_monoids": { - "failed": true, - "ntests": 28 - }, - "sage.categories.finite_permutation_groups": { - "ntests": 2 - }, - "sage.categories.finite_semigroups": { - "failed": true, - "ntests": 14 - }, - "sage.categories.finite_sets": { - "failed": true, - "ntests": 14 - }, - "sage.categories.finite_weyl_groups": { - "failed": true, - "ntests": 6 - }, - "sage.categories.finitely_generated_lambda_bracket_algebras": { - "ntests": 11 - }, - "sage.categories.finitely_generated_lie_conformal_algebras": { - "ntests": 10 - }, - "sage.categories.finitely_generated_magmas": { - "failed": true, - "ntests": 6 - }, - "sage.categories.finitely_generated_semigroups": { - "failed": true, - "ntests": 27 - }, - "sage.categories.function_fields": { - "failed": true, - "ntests": 11 - }, - "sage.categories.functor": { - "failed": true, - "ntests": 128 - }, - "sage.categories.g_sets": { - "ntests": 7 - }, - "sage.categories.gcd_domains": { - "ntests": 5 - }, - "sage.categories.generalized_coxeter_groups": { - "ntests": 12 - }, - "sage.categories.graded_algebras": { - "failed": true, - "ntests": 8 - }, - "sage.categories.graded_algebras_with_basis": { - "failed": true, - "ntests": 8 - }, - "sage.categories.graded_bialgebras": { - "failed": true, - "ntests": 3 - }, - "sage.categories.graded_bialgebras_with_basis": { - "failed": true, - "ntests": 3 - }, - "sage.categories.graded_coalgebras": { - "failed": true, - "ntests": 6 - }, - "sage.categories.graded_coalgebras_with_basis": { - "failed": true, - "ntests": 6 - }, - "sage.categories.graded_hopf_algebras": { - "failed": true, - "ntests": 3 - }, - "sage.categories.graded_hopf_algebras_with_basis": { - "failed": true, - "ntests": 12 - }, - "sage.categories.graded_lie_algebras": { - "failed": true, - "ntests": 12 - }, - "sage.categories.graded_lie_algebras_with_basis": { - "failed": true, - "ntests": 5 - }, - "sage.categories.graded_lie_conformal_algebras": { - "failed": true, - "ntests": 5 - }, - "sage.categories.graded_modules": { - "failed": true, - "ntests": 16 - }, - "sage.categories.graded_modules_with_basis": { - "failed": true, - "ntests": 25 - }, - "sage.categories.graphs": { - "failed": true, - "ntests": 25 - }, - "sage.categories.group_algebras": { - "failed": true, - "ntests": 27 - }, - "sage.categories.groups": { - "ntests": 45 - }, - "sage.categories.h_trivial_semigroups": { - "ntests": 4 - }, - "sage.categories.hecke_modules": { - "failed": true, - "ntests": 16 - }, - "sage.categories.homset": { - "failed": true, - "ntests": 197 - }, - "sage.categories.homsets": { - "failed": true, - "ntests": 56 - }, - "sage.categories.hopf_algebras": { - "failed": true, - "ntests": 15 - }, - "sage.categories.hopf_algebras_with_basis": { - "failed": true, - "ntests": 30 - }, - "sage.categories.infinite_enumerated_sets": { - "failed": true, - "ntests": 13 - }, - "sage.categories.integral_domains": { - "failed": true, - "ntests": 22 - }, - "sage.categories.isomorphic_objects": { - "ntests": 2 - }, - "sage.categories.j_trivial_semigroups": { - "ntests": 1 - }, - "sage.categories.kac_moody_algebras": { - "failed": true, - "ntests": 9 - }, - "sage.categories.l_trivial_semigroups": { - "ntests": 5 - }, - "sage.categories.lambda_bracket_algebras": { - "failed": true, - "ntests": 16 - }, - "sage.categories.lambda_bracket_algebras_with_basis": { - "ntests": 5 - }, - "sage.categories.lattice_posets": { - "ntests": 10 - }, - "sage.categories.left_modules": { - "failed": true, - "ntests": 4 - }, - "sage.categories.lie_algebras": { - "failed": true, - "ntests": 135 - }, - "sage.categories.lie_algebras_with_basis": { - "ntests": 19 - }, - "sage.categories.lie_conformal_algebras": { - "failed": true, - "ntests": 25 - }, - "sage.categories.lie_conformal_algebras_with_basis": { - "ntests": 17 - }, - "sage.categories.lie_groups": { - "failed": true, - "ntests": 9 - }, - "sage.categories.loop_crystals": { - "ntests": 1 - }, - "sage.categories.magmas": { - "failed": true, - "ntests": 147 - }, - "sage.categories.magmas_and_additive_magmas": { - "ntests": 21 - }, - "sage.categories.magmatic_algebras": { - "failed": true, - "ntests": 27 - }, - "sage.categories.manifolds": { - "failed": true, - "ntests": 52 - }, - "sage.categories.map": { - "failed": true, - "ntests": 353 - }, - "sage.categories.matrix_algebras": { - "failed": true, - "ntests": 3 - }, - "sage.categories.metric_spaces": { - "failed": true, - "ntests": 46 - }, - "sage.categories.modular_abelian_varieties": { - "failed": true, - "ntests": 8 - }, - "sage.categories.modules": { - "failed": true, - "ntests": 120 - }, - "sage.categories.modules_with_basis": { - "failed": true, - "ntests": 240 - }, - "sage.categories.monoid_algebras": { - "failed": true, - "ntests": 4 - }, - "sage.categories.monoids": { - "failed": true, - "ntests": 81 - }, - "sage.categories.morphism": { - "failed": true, - "ntests": 126 - }, - "sage.categories.noetherian_rings": { - "failed": true, - "ntests": 19 - }, - "sage.categories.number_fields": { - "failed": true, - "ntests": 41 - }, - "sage.categories.objects": { - "failed": true, - "ntests": 12 - }, - "sage.categories.partially_ordered_monoids": { - "ntests": 4 - }, - "sage.categories.permutation_groups": { - "ntests": 6 - }, - "sage.categories.pointed_sets": { - "ntests": 3 - }, - "sage.categories.polyhedra": { - "failed": true, - "ntests": 4 - }, - "sage.categories.poor_man_map": { - "failed": true, - "ntests": 59 - }, - "sage.categories.posets": { - "ntests": 2 - }, - "sage.categories.primer": { - "failed": true, - "ntests": 162 - }, - "sage.categories.principal_ideal_domains": { - "failed": true, - "ntests": 11 - }, - "sage.categories.pushout": { - "failed": true, - "ntests": 624 - }, - "sage.categories.quantum_group_representations": { - "failed": true, - "ntests": 13 - }, - "sage.categories.quotient_fields": { - "failed": true, - "ntests": 81 - }, - "sage.categories.quotients": { - "ntests": 2 - }, - "sage.categories.r_trivial_semigroups": { - "ntests": 3 - }, - "sage.categories.realizations": { - "failed": true, - "ntests": 21 - }, - "sage.categories.right_modules": { - "failed": true, - "ntests": 4 - }, - "sage.categories.ring_ideals": { - "failed": true, - "ntests": 9 - }, - "sage.categories.rings": { - "failed": true, - "ntests": 146 - }, - "sage.categories.rngs": { - "ntests": 6 - }, - "sage.categories.schemes": { - "failed": true, - "ntests": 41 - }, - "sage.categories.semigroups": { - "failed": true, - "ntests": 112 - }, - "sage.categories.semirings": { - "ntests": 6 - }, - "sage.categories.semisimple_algebras": { - "failed": true, - "ntests": 15 - }, - "sage.categories.sets_cat": { - "failed": true, - "ntests": 412 - }, - "sage.categories.sets_with_grading": { - "failed": true, - "ntests": 23 - }, - "sage.categories.sets_with_partial_maps": { - "ntests": 4 - }, - "sage.categories.shephard_groups": { - "ntests": 5 - }, - "sage.categories.signed_tensor": { - "failed": true, - "ntests": 10 - }, - "sage.categories.simplicial_complexes": { - "ntests": 17 - }, - "sage.categories.simplicial_sets": { - "failed": true, - "ntests": 98 - }, - "sage.categories.subobjects": { - "ntests": 2 - }, - "sage.categories.super_algebras": { - "failed": true, - "ntests": 8 - }, - "sage.categories.super_algebras_with_basis": { - "failed": true, - "ntests": 10 - }, - "sage.categories.super_hopf_algebras_with_basis": { - "failed": true, - "ntests": 10 - }, - "sage.categories.super_lie_conformal_algebras": { - "failed": true, - "ntests": 20 - }, - "sage.categories.super_modules": { - "failed": true, - "ntests": 18 - }, - "sage.categories.super_modules_with_basis": { - "failed": true, - "ntests": 10 - }, - "sage.categories.supercommutative_algebras": { - "failed": true, - "ntests": 8 - }, - "sage.categories.tensor": { - "failed": true, - "ntests": 9 - }, - "sage.categories.topological_spaces": { - "ntests": 27 - }, - "sage.categories.triangular_kac_moody_algebras": { - "failed": true, - "ntests": 15 - }, - "sage.categories.tutorial": { - "failed": true, - "ntests": 4 - }, - "sage.categories.unique_factorization_domains": { - "failed": true, - "ntests": 39 - }, - "sage.categories.unital_algebras": { - "failed": true, - "ntests": 37 - }, - "sage.categories.vector_spaces": { - "failed": true, - "ntests": 44 - }, - "sage.categories.with_realizations": { - "failed": true, - "ntests": 24 - }, - "sage.cpython.atexit": { - "ntests": 19 - }, - "sage.cpython.cython_metaclass": { - "ntests": 4 - }, - "sage.cpython.debug": { - "failed": true, - "ntests": 13 - }, - "sage.cpython.dict_del_by_value": { - "failed": true, - "ntests": 21 - }, - "sage.cpython.getattr": { - "failed": true, - "ntests": 65 - }, - "sage.cpython.string": { - "ntests": 1 - }, - "sage.cpython.string.pxd": { - "ntests": 8 - }, - "sage.cpython.type": { - "ntests": 7 - }, - "sage.doctest.check_tolerance": { - "failed": true, - "ntests": 19 - }, - "sage.doctest.control": { - "failed": true, - "ntests": 230 - }, - "sage.doctest.external": { - "ntests": 42 - }, - "sage.doctest.fixtures": { - "ntests": 59 - }, - "sage.doctest.forker": { - "failed": true, - "ntests": 413 - }, - "sage.doctest.marked_output": { - "failed": true, - "ntests": 21 - }, - "sage.doctest.parsing": { - "failed": true, - "ntests": 275 - }, - "sage.doctest.reporting": { - "ntests": 115 - }, - "sage.doctest.rif_tol": { - "failed": true, - "ntests": 18 - }, - "sage.doctest.sources": { - "failed": true, - "ntests": 343 - }, - "sage.doctest.test": { - "failed": true, - "ntests": 23 - }, - "sage.doctest.util": { - "failed": true, - "ntests": 141 - }, - "sage.env": { - "failed": true, - "ntests": 41 - }, - "sage.features": { - "ntests": 143 - }, - "sage.features.all": { - "ntests": 14 - }, - "sage.features.bliss": { - "ntests": 8 - }, - "sage.features.cddlib": { - "ntests": 4 - }, - "sage.features.csdp": { - "ntests": 6 - }, - "sage.features.cython": { - "ntests": 3 - }, - "sage.features.databases": { - "failed": true, - "ntests": 38 - }, - "sage.features.dvipng": { - "ntests": 4 - }, - "sage.features.ecm": { - "ntests": 4 - }, - "sage.features.ffmpeg": { - "ntests": 4 - }, - "sage.features.four_ti_2": { - "ntests": 6 - }, - "sage.features.fricas": { - "ntests": 6 - }, - "sage.features.gap": { - "ntests": 6 - }, - "sage.features.gfan": { - "ntests": 2 - }, - "sage.features.graph_generators": { - "ntests": 18 - }, - "sage.features.graphviz": { - "ntests": 16 - }, - "sage.features.igraph": { - "ntests": 4 - }, - "sage.features.imagemagick": { - "ntests": 10 - }, - "sage.features.interfaces": { - "failed": true, - "ntests": 33 - }, - "sage.features.internet": { - "ntests": 5 - }, - "sage.features.jmol": { - "ntests": 4 - }, - "sage.features.join_feature": { - "failed": true, - "ntests": 25 - }, - "sage.features.kenzo": { - "ntests": 6 - }, - "sage.features.latex": { - "ntests": 30 - }, - "sage.features.latte": { - "ntests": 8 - }, - "sage.features.lrs": { - "ntests": 16 - }, - "sage.features.mcqd": { - "ntests": 4 - }, - "sage.features.meataxe": { - "ntests": 4 - }, - "sage.features.mip_backends": { - "ntests": 7 - }, - "sage.features.msolve": { - "ntests": 6 - }, - "sage.features.nauty": { - "ntests": 8 - }, - "sage.features.normaliz": { - "ntests": 4 - }, - "sage.features.palp": { - "ntests": 4 - }, - "sage.features.pandoc": { - "ntests": 4 - }, - "sage.features.pdf2svg": { - "ntests": 4 - }, - "sage.features.phitigra": { - "ntests": 4 - }, - "sage.features.pkg_systems": { - "ntests": 25 - }, - "sage.features.polymake": { - "ntests": 4 - }, - "sage.features.poppler": { - "ntests": 4 - }, - "sage.features.rubiks": { - "ntests": 28 - }, - "sage.features.sagemath": { - "failed": true, - "ntests": 151 - }, - "sage.features.singular": { - "ntests": 4 - }, - "sage.features.sphinx": { - "ntests": 4 - }, - "sage.features.symengine_py": { - "ntests": 4 - }, - "sage.features.tdlib": { - "ntests": 2 - }, - "sage.features.threejs": { - "failed": true, - "ntests": 6 - }, - "sage.misc.abstract_method": { - "failed": true, - "ntests": 33 - }, - "sage.misc.banner": { - "failed": true, - "ntests": 12 - }, - "sage.misc.bindable_class": { - "ntests": 47 - }, - "sage.misc.c3_controlled": { - "failed": true, - "ntests": 150 - }, - "sage.misc.cachefunc": { - "failed": true, - "ntests": 692 - }, - "sage.misc.call": { - "ntests": 28 - }, - "sage.misc.classcall_metaclass": { - "ntests": 78 - }, - "sage.misc.constant_function": { - "ntests": 21 - }, - "sage.misc.decorators": { - "failed": true, - "ntests": 125 - }, - "sage.misc.fast_methods": { - "failed": true, - "ntests": 80 - }, - "sage.misc.flatten": { - "failed": true, - "ntests": 15 - }, - "sage.misc.function_mangling": { - "ntests": 32 - }, - "sage.misc.inherit_comparison": { - "ntests": 2 - }, - "sage.misc.instancedoc": { - "ntests": 67 - }, - "sage.misc.lazy_attribute": { - "failed": true, - "ntests": 100 - }, - "sage.misc.lazy_format": { - "failed": true, - "ntests": 23 - }, - "sage.misc.lazy_import": { - "failed": true, - "ntests": 279 - }, - "sage.misc.lazy_import_cache": { - "failed": true, - "ntests": 8 - }, - "sage.misc.lazy_string": { - "failed": true, - "ntests": 131 - }, - "sage.misc.misc": { - "failed": true, - "ntests": 176 - }, - "sage.misc.misc_c": { - "failed": true, - "ntests": 121 - }, - "sage.misc.namespace_package": { - "ntests": 7 - }, - "sage.misc.nested_class": { - "ntests": 67 - }, - "sage.misc.package": { - "ntests": 36 - }, - "sage.misc.package_dir": { - "failed": true, - "ntests": 35 - }, - "sage.misc.persist": { - "failed": true, - "ntests": 137 - }, - "sage.misc.prandom": { - "failed": true, - "ntests": 74 - }, - "sage.misc.repr": { - "failed": true, - "ntests": 31 - }, - "sage.misc.sage_eval": { - "failed": true, - "ntests": 31 - }, - "sage.misc.sage_input": { - "failed": true, - "ntests": 732 - }, - "sage.misc.sage_unittest": { - "failed": true, - "ntests": 88 - }, - "sage.misc.sagedoc": { - "failed": true, - "ntests": 103 - }, - "sage.misc.sageinspect": { - "failed": true, - "ntests": 322 - }, - "sage.misc.superseded": { - "failed": true, - "ntests": 59 - }, - "sage.misc.temporary_file": { - "failed": true, - "ntests": 80 - }, - "sage.misc.timing": { - "failed": true, - "ntests": 35 - }, - "sage.misc.unknown": { - "ntests": 22 - }, - "sage.misc.verbose": { - "ntests": 22 - }, - "sage.misc.viewer": { - "failed": true, - "ntests": 49 - }, - "sage.misc.weak_dict": { - "failed": true, - "ntests": 251 - }, - "sage.repl.attach": { - "failed": true, - "ntests": 128 - }, - "sage.repl.configuration": { - "ntests": 22 - }, - "sage.repl.display.fancy_repr": { - "failed": true, - "ntests": 27 - }, - "sage.repl.display.formatter": { - "failed": true, - "ntests": 58 - }, - "sage.repl.display.jsmol_iframe": { - "ntests": 25 - }, - "sage.repl.display.pretty_print": { - "failed": true, - "ntests": 21 - }, - "sage.repl.display.util": { - "ntests": 7 - }, - "sage.repl.image": { - "failed": true, - "ntests": 42 - }, - "sage.repl.inputhook": { - "ntests": 7 - }, - "sage.repl.interface_magic": { - "failed": true, - "ntests": 20 - }, - "sage.repl.interpreter": { - "failed": true, - "ntests": 114 - }, - "sage.repl.ipython_extension": { - "failed": true, - "ntests": 80 - }, - "sage.repl.ipython_kernel.install": { - "failed": true, - "ntests": 35 - }, - "sage.repl.ipython_kernel.interact": { - "failed": true, - "ntests": 42 - }, - "sage.repl.ipython_kernel.kernel": { - "failed": true, - "ntests": 12 - }, - "sage.repl.ipython_kernel.widgets": { - "failed": true, - "ntests": 98 - }, - "sage.repl.ipython_kernel.widgets_sagenb": { - "failed": true, - "ntests": 77 - }, - "sage.repl.ipython_tests": { - "failed": true, - "ntests": 26 - }, - "sage.repl.load": { - "failed": true, - "ntests": 38 - }, - "sage.repl.preparse": { - "failed": true, - "ntests": 349 - }, - "sage.repl.rich_output.backend_base": { - "failed": true, - "ntests": 96 - }, - "sage.repl.rich_output.backend_doctest": { - "ntests": 58 - }, - "sage.repl.rich_output.backend_emacs": { - "ntests": 15 - }, - "sage.repl.rich_output.backend_ipython": { - "failed": true, - "ntests": 75 - }, - "sage.repl.rich_output.buffer": { - "failed": true, - "ntests": 49 - }, - "sage.repl.rich_output.display_manager": { - "failed": true, - "ntests": 86 - }, - "sage.repl.rich_output.output_basic": { - "ntests": 47 - }, - "sage.repl.rich_output.output_browser": { - "ntests": 12 - }, - "sage.repl.rich_output.output_graphics": { - "ntests": 38 - }, - "sage.repl.rich_output.output_graphics3d": { - "ntests": 46 - }, - "sage.repl.rich_output.output_video": { - "ntests": 25 - }, - "sage.repl.rich_output.preferences": { - "ntests": 68 - }, - "sage.repl.rich_output.pretty_print": { - "failed": true, - "ntests": 41 - }, - "sage.repl.rich_output.test_backend": { - "failed": true, - "ntests": 37 - }, - "sage.rings.ideal": { - "failed": true, - "ntests": 336 - }, - "sage.rings.integer_fake.pxd": { - "ntests": 1 - }, - "sage.rings.ring": { - "failed": true, - "ntests": 298 - }, - "sage.sets.pythonclass": { - "failed": true, - "ntests": 55 - }, - "sage.structure.category_object": { - "failed": true, - "ntests": 140 - }, - "sage.structure.coerce": { - "failed": true, - "ntests": 310 - }, - "sage.structure.coerce_actions": { - "failed": true, - "ntests": 128 - }, - "sage.structure.coerce_dict": { - "failed": true, - "ntests": 289 - }, - "sage.structure.coerce_maps": { - "failed": true, - "ntests": 90 - }, - "sage.structure.debug_options": { - "ntests": 5 - }, - "sage.structure.dynamic_class": { - "failed": true, - "ntests": 83 - }, - "sage.structure.element": { - "failed": true, - "ntests": 562 - }, - "sage.structure.element.pxd": { - "failed": true, - "ntests": 23 - }, - "sage.structure.element_wrapper": { - "failed": true, - "ntests": 160 - }, - "sage.structure.factorization": { - "failed": true, - "ntests": 200 - }, - "sage.structure.factorization_integer": { - "failed": true, - "ntests": 6 - }, - "sage.structure.factory": { - "failed": true, - "ntests": 99 - }, - "sage.structure.formal_sum": { - "failed": true, - "ntests": 67 - }, - "sage.structure.global_options": { - "ntests": 145 - }, - "sage.structure.indexed_generators": { - "failed": true, - "ntests": 90 - }, - "sage.structure.list_clone": { - "failed": true, - "ntests": 380 - }, - "sage.structure.list_clone_demo": { - "ntests": 43 - }, - "sage.structure.list_clone_timings": { - "ntests": 18 - }, - "sage.structure.list_clone_timings_cy": { - "ntests": 12 - }, - "sage.structure.mutability": { - "failed": true, - "ntests": 68 - }, - "sage.structure.nonexact": { - "failed": true, - "ntests": 11 - }, - "sage.structure.parent": { - "failed": true, - "ntests": 303 - }, - "sage.structure.parent_gens": { - "failed": true, - "ntests": 24 - }, - "sage.structure.parent_old": { - "failed": true, - "ntests": 5 - }, - "sage.structure.proof.all": { - "ntests": 31 - }, - "sage.structure.proof.proof": { - "ntests": 50 - }, - "sage.structure.richcmp": { - "failed": true, - "ntests": 56 - }, - "sage.structure.richcmp.pxd": { - "ntests": 24 - }, - "sage.structure.sage_object": { - "failed": true, - "ntests": 84 - }, - "sage.structure.sequence": { - "failed": true, - "ntests": 183 - }, - "sage.structure.set_factories": { - "failed": true, - "ntests": 225 - }, - "sage.structure.set_factories_example": { - "failed": true, - "ntests": 81 - }, - "sage.structure.support_view": { - "ntests": 38 - }, - "sage.structure.test_factory": { - "failed": true, - "ntests": 6 - }, - "sage.structure.unique_representation": { - "failed": true, - "ntests": 226 - }, - "sage.typeset.ascii_art": { - "failed": true, - "ntests": 24 - }, - "sage.typeset.character_art": { - "failed": true, - "ntests": 108 - }, - "sage.typeset.character_art_factory": { - "failed": true, - "ntests": 53 - }, - "sage.typeset.symbols": { - "failed": true, - "ntests": 28 - }, - "sage.typeset.unicode_art": { - "failed": true, - "ntests": 18 - }, - "sage.typeset.unicode_characters": { - "ntests": 27 - } -} diff --git a/pkgs/sagemath-categories/pyproject.toml.m4 b/pkgs/sagemath-categories/pyproject.toml.m4 deleted file mode 100644 index edbafa59242..00000000000 --- a/pkgs/sagemath-categories/pyproject.toml.m4 +++ /dev/null @@ -1,56 +0,0 @@ -include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- -[build-system] -# Minimum requirements for the build system to execute. -requires = [ - SPKG_INSTALL_REQUIRES_setuptools - SPKG_INSTALL_REQUIRES_wheel - SPKG_INSTALL_REQUIRES_sage_setup - SPKG_INSTALL_REQUIRES_sagemath_environment - SPKG_INSTALL_REQUIRES_sagemath_objects - SPKG_INSTALL_REQUIRES_cython - SPKG_INSTALL_REQUIRES_gmpy2 - SPKG_INSTALL_REQUIRES_cysignals - SPKG_INSTALL_REQUIRES_pkgconfig -] -build-backend = "setuptools.build_meta" - -[project] -name = "sagemath-categories" -description = "Sage: Open Source Mathematics Software: Sage categories and basic rings" -dependencies = [ - SPKG_INSTALL_REQUIRES_sagemath_objects -] -dynamic = ["version"] -include(`pyproject_toml_metadata.m4')dnl' - -[project.optional-dependencies] -test = [ - SPKG_INSTALL_REQUIRES_sagemath_repl -] - -[project.readme] -file = "README.rst" -content-type = "text/x-rst" - -[tool.setuptools] -include-package-data = false - -[tool.setuptools.dynamic] -version = {file = ["VERSION.txt"]} - -[external] -# External dependencies in the format proposed by https://peps.python.org/pep-0725 -build-requires = [ - "virtual:compiler/c", - "virtual:compiler/cpp", - "pkg:generic/pkg-config", -] - -host-requires = [ - "pkg:generic/gmp", - "pkg:generic/mpc", - "pkg:generic/mpfr", -] - -dependencies = [ -] diff --git a/pkgs/sagemath-categories/requirements-editable.txt.m4 b/pkgs/sagemath-categories/requirements-editable.txt.m4 deleted file mode 100644 index 1c0abbe40ae..00000000000 --- a/pkgs/sagemath-categories/requirements-editable.txt.m4 +++ /dev/null @@ -1,7 +0,0 @@ -include(`sage_spkg_versions.m4')dnl -dnl Same as setup.cfg.m4 install_requires; FIXME: should pin to built wheels. -SPKG_INSTALL_REQUIRES_gmpy2 -SPKG_INSTALL_REQUIRES_cysignals -SPKG_INSTALL_REQUIRES_memory_allocator --e ../sagemath-environment --e ../sagemath-objects diff --git a/pkgs/sagemath-categories/requirements.txt.m4 b/pkgs/sagemath-categories/requirements.txt.m4 deleted file mode 120000 index f8fa4ba0e42..00000000000 --- a/pkgs/sagemath-categories/requirements.txt.m4 +++ /dev/null @@ -1 +0,0 @@ -../sagemath-objects/requirements.txt.m4 \ No newline at end of file diff --git a/pkgs/sagemath-categories/sage b/pkgs/sagemath-categories/sage deleted file mode 120000 index e0da5daa6f2..00000000000 --- a/pkgs/sagemath-categories/sage +++ /dev/null @@ -1 +0,0 @@ -../../src/sage \ No newline at end of file diff --git a/pkgs/sagemath-categories/setup.py b/pkgs/sagemath-categories/setup.py deleted file mode 120000 index 144436eac59..00000000000 --- a/pkgs/sagemath-categories/setup.py +++ /dev/null @@ -1 +0,0 @@ -../sagemath-objects/setup.py \ No newline at end of file diff --git a/pkgs/sagemath-categories/tox.ini b/pkgs/sagemath-categories/tox.ini deleted file mode 100644 index 841209e88f1..00000000000 --- a/pkgs/sagemath-categories/tox.ini +++ /dev/null @@ -1,126 +0,0 @@ -# To build and test in the tox environment: -# -# make SAGE_WHEELS=yes sagemath_categories-build-deps sagemath_repl && ./sage -sh -c '(cd pkgs/sagemath-categories && SAGE_NUM_THREADS=8 tox -v -v -v -e sagepython-sagewheels-nopypi-norequirements)' -# -# After this, to test interactively: -# -# pkgs/sagemath-categories/.tox/sagepython-sagewheels-nopypi-norequirements/bin/sage -# -[tox] -envlist = - sagepython-sagewheels-nopypi-norequirements - -requires = - # Auto-provision a modern tox. - # [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance - # Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1 - tox>=4.2 - tox<4.14.1 - -[pkgenv] -# Environment in which to build the sdist. -# https://tox.wiki/en/latest/upgrading.html#packaging-environments -passenv = - # Variables set by .homebrew-build-env - CPATH - LIBRARY_PATH - PKG_CONFIG_PATH - # Parallel build - SAGE_NUM_THREADS - SAGE_NUM_THREADS_PARALLEL - MAKEFLAGS - # SAGE_VENV only for referring to the basepython or finding the wheels - sagepython, sagewheels: SAGE_VENV - # Location of the wheels - sagewheels: SAGE_SPKG_WHEELS - -setenv = - # We supply pip options by environment variables so that they - # apply both to the installation of the dependencies and of the package - sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - nopypi: PIP_NO_INDEX=true - -[testenv] -deps = - !norequirements: -rrequirements.txt - -extras = test - -passenv = {[pkgenv]passenv} - -setenv = {[pkgenv]setenv} - # Sage scripts such as sage-runtests like to use $HOME/.sage - HOME={envdir} - # Stop 'sage -t --installed' from picking up doc installed in SAGE_LOCAL - SAGE_DOC=/doesnotexist - KNOWN_TEST_FAILURES={toxinidir}/known-test-failures.json - # See src/bin/sage-env - PYDEVD_DISABLE_FILE_VALIDATION=1 - -allowlist_externals = - bash - -commands = - # Beware of the treacherous non-src layout. "./sage/" shadows the installed sage package. - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.cpython.builtin_types, sage.cpython.cython_metaclass, sage.cpython.debug, sage.structure.all, sage.categories.all' - - # Test that importing sage.categories.all initializes categories - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.categories.all import *; SimplicialComplexes(); FunctionFields()' - - bash -c 'cd $(python -c "import sys; \"\" in sys.path and sys.path.remove(\"\"); from sage.env import SAGE_LIB; print(SAGE_LIB)") \ - && sage-runtests -p --force-lib --initial --environment=sage.all__sagemath_categories --probe all --baseline-stats-path=$KNOWN_TEST_FAILURES --optional=sage --installed' - -[testenv:.tox] -# Allow access to PyPI for auto-provisioning a suitable tox version -passenv = -setenv = PIP_NO_INDEX=false - -[testenv:.pkg-sagepython] -# Environment in which to build the sdist. -# inherits from [pkgenv] - https://tox.wiki/en/latest/upgrading.html#packaging-environments -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi] -passenv = {[pkgenv]passenv} - SAGE_VENV - SAGE_SPKG_WHEELS - -setenv = {[pkgenv]setenv} - PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - PIP_NO_INDEX=true - -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi-editable] -config_settings_build_editable = - editable_mode = strict - - -[testenv:sagepython] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - -[testenv:sagepython-sagewheels-nopypi] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels] -basepython = {env:SAGE_VENV}/bin/python -package_env = .pkg-sagepython - -[testenv:sagepython-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - - -[testenv:sagepython-sagewheels-nopypi-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels-nopypi-editable] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi-editable -package = editable -deps = -r requirements-editable.txt -config_settings_build_editable = - editable_mode = strict diff --git a/pkgs/sagemath-environment/MANIFEST.in b/pkgs/sagemath-environment/MANIFEST.in deleted file mode 100644 index ca4266e2bf4..00000000000 --- a/pkgs/sagemath-environment/MANIFEST.in +++ /dev/null @@ -1,23 +0,0 @@ -prune sage - -include sage/env.py -include sage/version.py -include sage/misc/package.py -include sage/misc/package_dir.py -include sage/misc/temporary_file.py -include sage/misc/viewer.py -graft sage/features - -include VERSION.txt - -global-exclude all__*.py -global-include all__sagemath_environment.py - -global-exclude __pycache__ -global-exclude *.py[co] -global-exclude *.bak -global-exclude *.so -global-exclude *~ -prune .tox -prune build -prune dist diff --git a/pkgs/sagemath-environment/README.rst b/pkgs/sagemath-environment/README.rst deleted file mode 100644 index 9c36dbc67df..00000000000 --- a/pkgs/sagemath-environment/README.rst +++ /dev/null @@ -1,32 +0,0 @@ -========================================================================= - Sage: Open Source Mathematics Software: System and software environment -========================================================================= - -About SageMath --------------- - - "Creating a Viable Open Source Alternative to - Magma, Maple, Mathematica, and MATLAB" - - Copyright (C) 2005-2024 The Sage Development Team - - https://www.sagemath.org - -SageMath fully supports all major Linux distributions, recent versions of -macOS, and Windows (Windows Subsystem for Linux). - -See https://doc.sagemath.org/html/en/installation/index.html -for general installation instructions. - - -About this pip-installable distribution package ------------------------------------------------ - -The pip-installable distribution package `sagemath-environment` is a -distribution of a small part of the Sage Library. - -It provides a small, fundamental subset of the modules of the Sage -library ("sagelib", `sagemath-standard`), providing the connection to the -system and software environment. It also includes the `sage` script for -launching the Sage REPL and accessing various developer tools (see `sage ---help`). diff --git a/pkgs/sagemath-environment/VERSION.txt b/pkgs/sagemath-environment/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sagemath-environment/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sagemath-environment/bin b/pkgs/sagemath-environment/bin deleted file mode 120000 index 2f8b9b30ee7..00000000000 --- a/pkgs/sagemath-environment/bin +++ /dev/null @@ -1 +0,0 @@ -../../src/bin \ No newline at end of file diff --git a/pkgs/sagemath-environment/pyproject.toml.m4 b/pkgs/sagemath-environment/pyproject.toml.m4 deleted file mode 100644 index 93381fd420d..00000000000 --- a/pkgs/sagemath-environment/pyproject.toml.m4 +++ /dev/null @@ -1,57 +0,0 @@ -include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- -[build-system] -# Minimum requirements for the build system to execute. -requires = [ - SPKG_INSTALL_REQUIRES_setuptools - SPKG_INSTALL_REQUIRES_wheel -] -build-backend = "setuptools.build_meta" - -[project] -name = "sagemath-environment" -description = "Sage: Open Source Mathematics Software: System and software environment" -dependencies = [] -dynamic = ["version"] -include(`pyproject_toml_metadata.m4')dnl' - -[project.optional-dependencies] -docbuild = [SPKG_INSTALL_REQUIRES_sage_docbuild] # For "sage --docbuild" -sage = [SPKG_INSTALL_REQUIRES_sagelib] # For "sage", "sage -t", ... -cython = [SPKG_INSTALL_REQUIRES_cython] # For "sage --cython" -pytest = [SPKG_INSTALL_REQUIRES_pytest] # For "sage --pytest" -rst2ipynb = [SPKG_INSTALL_REQUIRES_rst2ipynb] # For "sage --rst2ipynb" -tox = [SPKG_INSTALL_REQUIRES_tox] # For "sage --tox" - -[project.readme] -file = "README.rst" -content-type = "text/x-rst" - -[tool.setuptools] -py-modules = [ - "sage.all__sagemath_environment", - "sage.env", - "sage.version", - "sage.misc.all__sagemath_environment", - "sage.misc.package", - "sage.misc.package_dir", - "sage.misc.temporary_file", - "sage.misc.viewer", -] -packages = ["sage.features"] -script-files = [ - # The sage script - "bin/sage", - # Auxiliary scripts for setting up the environment - "bin/sage-env", - "bin/sage-num-threads.py", - "bin/sage-venv-config", - "bin/sage-version.sh", - # Not included: - # - bin/sage-env-config.in -- not to be installed - # - bin/sage-run, bin/sage-runtests, ... -- installed by sagemath-repl - # - bin/sage-ipython -- uses sage.repl, so installed by sagemath-repl -] -include-package-data = false - -[tool.setuptools.dynamic] -version = {file = ["VERSION.txt"]} diff --git a/pkgs/sagemath-environment/requirements-editable.txt.m4 b/pkgs/sagemath-environment/requirements-editable.txt.m4 deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/pkgs/sagemath-environment/requirements.txt.m4 b/pkgs/sagemath-environment/requirements.txt.m4 deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/pkgs/sagemath-environment/sage b/pkgs/sagemath-environment/sage deleted file mode 120000 index e0da5daa6f2..00000000000 --- a/pkgs/sagemath-environment/sage +++ /dev/null @@ -1 +0,0 @@ -../../src/sage \ No newline at end of file diff --git a/pkgs/sagemath-environment/setup.py b/pkgs/sagemath-environment/setup.py deleted file mode 100644 index 606849326a4..00000000000 --- a/pkgs/sagemath-environment/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup() diff --git a/pkgs/sagemath-environment/tox.ini b/pkgs/sagemath-environment/tox.ini deleted file mode 100644 index 5d741bd0b48..00000000000 --- a/pkgs/sagemath-environment/tox.ini +++ /dev/null @@ -1,118 +0,0 @@ -# To build and test in the tox environment: -# -# ./sage -sh -c '(cd pkgs/sagemath-environment && tox -v -v -e sagepython-norequirements)' -# -# To test interactively: -# -# pkgs/sagemath-environment/.tox/sagepython-norequirements/bin/python -# -[tox] -envlist = - sagepython-sagewheels-nopypi-norequirements - -requires = - # Auto-provision a modern tox. - # [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance - # Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1 - tox>=4.2 - tox<4.14.1 - -[pkgenv] -# Environment in which to build the sdist. -# https://tox.wiki/en/latest/upgrading.html#packaging-environments -passenv = - # Variables set by .homebrew-build-env - CPATH - LIBRARY_PATH - PKG_CONFIG_PATH - # Parallel build - SAGE_NUM_THREADS - SAGE_NUM_THREADS_PARALLEL - MAKEFLAGS - # SAGE_VENV only for referring to the basepython or finding the wheels - sagepython, sagewheels: SAGE_VENV - # Location of the wheels - sagewheels: SAGE_SPKG_WHEELS - -setenv = - # We supply pip options by environment variables so that they - # apply both to the installation of the dependencies and of the package - sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - nopypi: PIP_NO_INDEX=true - -[testenv] -deps = - !norequirements: -rrequirements.txt - -extras = test - -passenv = {[pkgenv]passenv} - -setenv = {[pkgenv]setenv} - # Sage scripts such as sage-runtests like to use $HOME/.sage - HOME={envdir} - # Stop 'sage -t --installed' from picking up doc installed in SAGE_LOCAL - SAGE_DOC=/doesnotexist - KNOWN_TEST_FAILURES={toxinidir}/known-test-failures.json - -allowlist_externals = - bash - -commands = - # Beware of the treacherous non-src layout. "./sage/" shadows the installed sage package. - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.features.all import all_features; print(sorted(all_features(), key=lambda x: x.name)); import sage.misc.package' - -[testenv:.tox] -# Allow access to PyPI for auto-provisioning a suitable tox version -passenv = -setenv = PIP_NO_INDEX=false - -[testenv:.pkg-sagepython] -# Environment in which to build the sdist. -# inherits from [pkgenv] - https://tox.wiki/en/latest/upgrading.html#packaging-environments -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi] -passenv = {[pkgenv]passenv} - SAGE_VENV - SAGE_SPKG_WHEELS - -setenv = {[pkgenv]setenv} - PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - PIP_NO_INDEX=true - -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi-editable] -config_settings_build_editable = - editable_mode = strict - - -[testenv:sagepython] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - -[testenv:sagepython-sagewheels-nopypi] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels] -basepython = {env:SAGE_VENV}/bin/python -package_env = .pkg-sagepython - -[testenv:sagepython-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - - -[testenv:sagepython-sagewheels-nopypi-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels-nopypi-editable] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi-editable -package = editable -deps = -r requirements-editable.txt -config_settings_build_editable = - editable_mode = strict diff --git a/pkgs/sagemath-objects/MANIFEST.in b/pkgs/sagemath-objects/MANIFEST.in deleted file mode 100644 index c9b25189372..00000000000 --- a/pkgs/sagemath-objects/MANIFEST.in +++ /dev/null @@ -1,100 +0,0 @@ -prune sage -graft sage/cpython - -include VERSION.txt - -graft sage/structure -include sage/categories/action.* -include sage/categories/algebra_functor.* -include sage/categories/basic.* -include sage/categories/cartesian_product.* -include sage/categories/category*.* -include sage/categories/covariant_functorial_construction.* -include sage/categories/facade_sets.* -include sage/categories/functor.* -include sage/categories/homset.* -include sage/categories/homsets.* -include sage/categories/map.* -include sage/categories/morphism.* -include sage/categories/isomorphic_objects.* -include sage/categories/objects.* -include sage/categories/primer.* -include sage/categories/pushout.* -include sage/categories/quotients.* -include sage/categories/realizations.* -include sage/categories/sets_cat.* -include sage/categories/sets_with_partial_maps.* -include sage/categories/subobjects.* -include sage/categories/subquotients.* -include sage/categories/with_realizations.* - -include sage/misc/classcall_metaclass.* -include sage/misc/inherit_comparison*.* -include sage/misc/weak_dict.* -include sage/misc/nested_class*.* -include sage/misc/abstract_method.* -include sage/misc/cachefunc.* -include sage/misc/decorators.* -include sage/misc/c3_controlled.* -include sage/misc/lazy_attribute.* -include sage/misc/function_mangling.* -include sage/misc/lazy_string.* -include sage/misc/lazy_format.* -include sage/misc/unknown.* -include sage/misc/fast_methods.* -include sage/misc/constant_function.* -include sage/misc/call.* -include sage/misc/bindable_class.* -include sage/misc/namespace_package.p* -include sage/misc/package_dir.py - -include sage/misc/verbose.* -include sage/misc/repr.* -include sage/misc/superseded.* -include sage/misc/misc_c.* # prod -include sage/misc/flatten.* # dep of sage/categories/coxeter_groups.py - -include sage/misc/lazy_import*.* -include sage/misc/sageinspect.* # dep of sage/misc/lazy_import -include sage/misc/instancedoc.* # dep of sage/misc/lazy_import - -include sage/misc/persist.* -include sage/misc/sage_unittest.* # dep of sage/misc/persist - -include sage/misc/randstate.* # used in sage.doctest -include sage/misc/prandom.* # dep of sage/rings/ring - -include sage/ext/stdsage.pxd -include sage/sets/pythonclass.* -include sage/arith/power.* -include sage/arith/numerical_approx.* -# integers... -include sage/arith/long.* -include sage/rings/integer_fake.* -graft sage/libs/gmp - - -## What we do not want: -# sage/misc/latex -- this should really go to another package - - -## FIXME: Needed for doctesting -include sage/misc/misc.* # some_tuples used in sage.misc.sage_unittest -include sage/misc/timing.p* # walltime, cputime used in sage.doctest - -global-exclude all__*.py -global-include all__sagemath_objects.py - -global-exclude *.c -global-exclude *.cpp -include sage/cpython/debugimpl.c -include sage/misc/inherit_comparison_impl.c - -global-exclude __pycache__ -global-exclude *.py[co] -global-exclude *.bak -global-exclude *.so -global-exclude *~ -prune .tox -prune build -prune dist diff --git a/pkgs/sagemath-objects/README.rst b/pkgs/sagemath-objects/README.rst deleted file mode 100644 index 11f2444e982..00000000000 --- a/pkgs/sagemath-objects/README.rst +++ /dev/null @@ -1,49 +0,0 @@ -============================================================================================================ - Sage: Open Source Mathematics Software: Sage objects, elements, parents, categories, coercion, metaclasses -============================================================================================================ - -About SageMath --------------- - - "Creating a Viable Open Source Alternative to - Magma, Maple, Mathematica, and MATLAB" - - Copyright (C) 2005-2024 The Sage Development Team - - https://www.sagemath.org - -SageMath fully supports all major Linux distributions, recent versions of -macOS, and Windows (Windows Subsystem for Linux). - -See https://doc.sagemath.org/html/en/installation/index.html -for general installation instructions. - - -About this pip-installable distribution package ------------------------------------------------ - -The pip-installable distribution package `sagemath-objects` is a -distribution of a small part of the Sage Library. - -It provides a small, fundamental subset of the modules of the Sage library -("sagelib", `sagemath-standard`), making Sage objects, the element/parent -framework, categories, the coercion system and the related metaclasses -available. - - -Dependencies ------------- - -When building from source, development packages of `gmp`, `mpfr`, and `mpc` are needed. - - -Documentation -------------- - -* `Categories `_ - -* `Structure `_ - -* `Coercion `_ - -* `Classes, Metaclasses `_ diff --git a/pkgs/sagemath-objects/VERSION.txt b/pkgs/sagemath-objects/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sagemath-objects/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sagemath-objects/pyproject.toml.m4 b/pkgs/sagemath-objects/pyproject.toml.m4 deleted file mode 100644 index 68cfbafe935..00000000000 --- a/pkgs/sagemath-objects/pyproject.toml.m4 +++ /dev/null @@ -1,65 +0,0 @@ -include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- -[build-system] -# Minimum requirements for the build system to execute. -requires = [ - SPKG_INSTALL_REQUIRES_setuptools - SPKG_INSTALL_REQUIRES_wheel - SPKG_INSTALL_REQUIRES_sage_setup - SPKG_INSTALL_REQUIRES_sagemath_environment - SPKG_INSTALL_REQUIRES_cython - SPKG_INSTALL_REQUIRES_gmpy2 - SPKG_INSTALL_REQUIRES_cysignals - SPKG_INSTALL_REQUIRES_pkgconfig -] -build-backend = "setuptools.build_meta" - -[project] -name = "sagemath-objects" -description = "Sage: Open Source Mathematics Software: Sage objects, elements, parents, categories, coercion, metaclasses" -dependencies = [ - SPKG_INSTALL_REQUIRES_gmpy2 - SPKG_INSTALL_REQUIRES_cysignals -] -dynamic = ["version"] -include(`pyproject_toml_metadata.m4')dnl' - -[project.optional-dependencies] -# Currently we do not use the sage doctester to test sagemath-objects, -# so we do not list sagemath-repl here. -test = [] - -[project.readme] -file = "README.rst" -content-type = "text/x-rst" - -[tool.setuptools] -include-package-data = false - -[tool.setuptools.dynamic] -version = {file = ["VERSION.txt"]} - -[tool.setuptools.package-data] -"sage.cpython" = [ - "pyx_visit.h", - "string_impl.h", - "cython_metaclass.h", - "python_debug.h", -] -"sage.rings" = ["integer_fake.h"] - -[external] -# External dependencies in the format proposed by https://peps.python.org/pep-0725 -build-requires = [ - "virtual:compiler/c", - "virtual:compiler/cpp", - "pkg:generic/pkg-config", -] - -host-requires = [ - "pkg:generic/gmp", - "pkg:generic/mpc", - "pkg:generic/mpfr", -] - -dependencies = [ -] diff --git a/pkgs/sagemath-objects/requirements-editable.txt.m4 b/pkgs/sagemath-objects/requirements-editable.txt.m4 deleted file mode 100644 index df9b22b43aa..00000000000 --- a/pkgs/sagemath-objects/requirements-editable.txt.m4 +++ /dev/null @@ -1,4 +0,0 @@ -include(`sage_spkg_versions.m4')dnl -dnl Same as setup.cfg.m4 install_requires; FIXME: should pin to built wheels. -SPKG_INSTALL_REQUIRES_gmpy2 -SPKG_INSTALL_REQUIRES_cysignals diff --git a/pkgs/sagemath-objects/requirements.txt.m4 b/pkgs/sagemath-objects/requirements.txt.m4 deleted file mode 100644 index 562b53896b6..00000000000 --- a/pkgs/sagemath-objects/requirements.txt.m4 +++ /dev/null @@ -1,4 +0,0 @@ -cysignals==esyscmd(`printf $(sed "s/[.]p.*//;" ../cysignals/package-version.txt)') -Cython==esyscmd(`printf $(sed "s/[.]p.*//;" ../cython/package-version.txt)') -gmpy2==esyscmd(`printf $(sed "s/[.]p.*//;" ../gmpy2/package-version.txt)') -ipython==esyscmd(`printf $(sed "s/[.]p.*//;" ../ipython/package-version.txt)') diff --git a/pkgs/sagemath-objects/sage b/pkgs/sagemath-objects/sage deleted file mode 120000 index e0da5daa6f2..00000000000 --- a/pkgs/sagemath-objects/sage +++ /dev/null @@ -1 +0,0 @@ -../../src/sage \ No newline at end of file diff --git a/pkgs/sagemath-objects/setup.py b/pkgs/sagemath-objects/setup.py deleted file mode 100644 index 7619a4b2b37..00000000000 --- a/pkgs/sagemath-objects/setup.py +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env python - -from distutils import log -from setuptools import setup - -# Work around a Cython problem in Python 3.8.x on macOS -# https://github.com/cython/cython/issues/3262 -import os -if os.uname().sysname == 'Darwin': - import multiprocessing - multiprocessing.set_start_method('fork', force=True) - -# PEP 517 builds do not have . in sys.path -import sys -sys.path.insert(0, os.path.dirname(__file__)) - -from sage_setup.excepthook import excepthook -sys.excepthook = excepthook - -from sage_setup.setenv import setenv -setenv() - -import sage.env -sage.env.default_required_modules = sage.env.default_optional_modules = () - -from sage_setup.command.sage_build_cython import sage_build_cython -from sage_setup.command.sage_build_ext import sage_build_ext - -cmdclass = dict(build_cython=sage_build_cython, - build_ext=sage_build_ext) - -from sage_setup.find import find_python_sources -python_packages, python_modules, cython_modules = find_python_sources( - '.', ['sage']) # for now, we do the filtering using MANIFEST - -log.warn('python_packages = {0}'.format(python_packages)) -log.warn('python_modules = {0}'.format(python_modules)) -log.warn('cython_modules = {0}'.format(cython_modules)) - -setup( - cmdclass = cmdclass, - packages = python_packages, - py_modules = python_modules, - ext_modules = cython_modules, -) diff --git a/pkgs/sagemath-objects/tox.ini b/pkgs/sagemath-objects/tox.ini deleted file mode 100644 index a7b91f55990..00000000000 --- a/pkgs/sagemath-objects/tox.ini +++ /dev/null @@ -1,122 +0,0 @@ -# To build and test in the tox environment: -# -# ./sage -sh -c '(cd pkgs/sagemath-objects && SAGE_NUM_THREADS=8 tox -v -v -e sagepython-norequirements)' -# -# After this, to test interactively: -# -# pkgs/sagemath-objects/.tox/sagepython-norequirements/bin/python -# -[tox] -envlist = - sagepython-sagewheels-nopypi-norequirements - -requires = - # Auto-provision a modern tox. - # [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance - # Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1 - tox>=4.2 - tox<4.14.1 - -[pkgenv] -# Environment in which to build the sdist. -# https://tox.wiki/en/latest/upgrading.html#packaging-environments -passenv = - # Variables set by .homebrew-build-env - CPATH - LIBRARY_PATH - PKG_CONFIG_PATH - # Parallel build - SAGE_NUM_THREADS - SAGE_NUM_THREADS_PARALLEL - MAKEFLAGS - # SAGE_VENV only for referring to the basepython or finding the wheels - sagepython, sagewheels: SAGE_VENV - # Location of the wheels - sagewheels: SAGE_SPKG_WHEELS - -setenv = - # We supply pip options by environment variables so that they - # apply both to the installation of the dependencies and of the package - sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - nopypi: PIP_NO_INDEX=true - -[testenv] -deps = - !norequirements: -rrequirements.txt - -extras = test - -passenv = {[pkgenv]passenv} - -setenv = {[pkgenv]setenv} - # Sage scripts such as sage-runtests like to use $HOME/.sage - HOME={envdir} - # Stop 'sage -t --installed' from picking up doc installed in SAGE_LOCAL - SAGE_DOC=/doesnotexist - KNOWN_TEST_FAILURES={toxinidir}/known-test-failures.json - -allowlist_externals = - bash - -commands = - # Beware of the treacherous non-src layout. "./sage/" shadows the installed sage package. - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.structure.all, sage.categories.sets_cat' - - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); from sage.all__sagemath_objects import *' - - #bash -c 'cd {temp_dir} && SAGE_SRC=$(python -c "from sage.env import SAGE_SRC; print(SAGE_SRC)") && sage-runtests --environment=sage.all__sagemath_objects --initial --optional=sage $SAGE_SRC/sage/structure || echo "(lots of doctest failures are expected)"' - -[testenv:.tox] -# Allow access to PyPI for auto-provisioning a suitable tox version -passenv = -setenv = PIP_NO_INDEX=false - -[testenv:.pkg-sagepython] -# Environment in which to build the sdist. -# inherits from [pkgenv] - https://tox.wiki/en/latest/upgrading.html#packaging-environments -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi] -passenv = {[pkgenv]passenv} - SAGE_VENV - SAGE_SPKG_WHEELS - -setenv = {[pkgenv]setenv} - PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - PIP_NO_INDEX=true - -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi-editable] -config_settings_build_editable = - editable_mode = strict - - -[testenv:sagepython] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - -[testenv:sagepython-sagewheels-nopypi] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels] -basepython = {env:SAGE_VENV}/bin/python -package_env = .pkg-sagepython - -[testenv:sagepython-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - - -[testenv:sagepython-sagewheels-nopypi-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels-nopypi-editable] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi-editable -package = editable -deps = -r requirements-editable.txt -config_settings_build_editable = - editable_mode = strict diff --git a/pkgs/sagemath-repl/MANIFEST.in b/pkgs/sagemath-repl/MANIFEST.in deleted file mode 100644 index 20804eddaf8..00000000000 --- a/pkgs/sagemath-repl/MANIFEST.in +++ /dev/null @@ -1,26 +0,0 @@ -prune sage - -graft sage/doctest -graft sage/repl -include sage/misc/banner.py -include sage/misc/sagedoc.py -include sage/misc/sage_input.py -include sage/misc/sage_eval.py - -# expect_objects from sage.interfaces.quit is needed to compute the -# CPU time used by each doctest. -include sage/interfaces/quit.py - -include VERSION.txt - -global-exclude all__*.py -global-include all__sagemath_repl.py - -global-exclude __pycache__ -global-exclude *.py[co] -global-exclude *.bak -global-exclude *.so -global-exclude *~ -prune .tox -prune build -prune dist diff --git a/pkgs/sagemath-repl/README.rst b/pkgs/sagemath-repl/README.rst deleted file mode 100644 index 53c3ac0e2de..00000000000 --- a/pkgs/sagemath-repl/README.rst +++ /dev/null @@ -1,30 +0,0 @@ -=================================================================================== - Sage: Open Source Mathematics Software: IPython kernel, Sage preparser, doctester -=================================================================================== - -About SageMath --------------- - - "Creating a Viable Open Source Alternative to - Magma, Maple, Mathematica, and MATLAB" - - Copyright (C) 2005-2024 The Sage Development Team - - https://www.sagemath.org - -SageMath fully supports all major Linux distributions, recent versions of -macOS, and Windows (Windows Subsystem for Linux). - -See https://doc.sagemath.org/html/en/installation/index.html -for general installation instructions. - - -About this pip-installable distribution package ------------------------------------------------ - -The pip-installable source distribution `sagemath-repl` is a -distribution of a small part of the Sage Library. - -It provides a small, fundamental subset of the modules of the Sage library -("sagelib", `sagemath-standard`), providing the IPython kernel, Sage preparser, -and doctester. diff --git a/pkgs/sagemath-repl/VERSION.txt b/pkgs/sagemath-repl/VERSION.txt deleted file mode 100644 index d89fb8efda7..00000000000 --- a/pkgs/sagemath-repl/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -10.10.beta2 diff --git a/pkgs/sagemath-repl/bin b/pkgs/sagemath-repl/bin deleted file mode 120000 index 2f8b9b30ee7..00000000000 --- a/pkgs/sagemath-repl/bin +++ /dev/null @@ -1 +0,0 @@ -../../src/bin \ No newline at end of file diff --git a/pkgs/sagemath-repl/known-test-failures.json b/pkgs/sagemath-repl/known-test-failures.json deleted file mode 100644 index 6703c0a50cf..00000000000 --- a/pkgs/sagemath-repl/known-test-failures.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "sage.doctest.control": { - "failed": true, - "ntests": 0 - }, - "sage.doctest.external": { - "ntests": 41 - }, - "sage.doctest.fixtures": { - "failed": true, - "ntests": 59 - }, - "sage.doctest.forker": { - "failed": true, - "ntests": 432 - }, - "sage.doctest.parsing": { - "failed": true, - "ntests": 316 - }, - "sage.doctest.reporting": { - "failed": true, - "ntests": 124 - }, - "sage.doctest.sources": { - "failed": true, - "ntests": 376 - }, - "sage.doctest.test": { - "ntests": 23 - }, - "sage.doctest.util": { - "failed": true, - "ntests": 141 - }, - "sage.misc.sage_eval": { - "failed": true, - "ntests": 28 - }, - "sage.misc.sage_input": { - "failed": true, - "ntests": 721 - }, - "sage.repl.attach": { - "ntests": 128 - }, - "sage.repl.configuration": { - "ntests": 22 - }, - "sage.repl.display.fancy_repr": { - "failed": true, - "ntests": 24 - }, - "sage.repl.display.formatter": { - "failed": true, - "ntests": 47 - }, - "sage.repl.display.jsmol_iframe": { - "ntests": 24 - }, - "sage.repl.display.pretty_print": { - "failed": true, - "ntests": 21 - }, - "sage.repl.display.util": { - "ntests": 6 - }, - "sage.repl.image": { - "failed": true, - "ntests": 42 - }, - "sage.repl.inputhook": { - "ntests": 7 - }, - "sage.repl.interface_magic": { - "failed": true, - "ntests": 11 - }, - "sage.repl.interpreter": { - "failed": true, - "ntests": 109 - }, - "sage.repl.ipython_extension": { - "failed": true, - "ntests": 72 - }, - "sage.repl.ipython_kernel.install": { - "failed": true, - "ntests": 40 - }, - "sage.repl.ipython_kernel.interact": { - "failed": true, - "ntests": 35 - }, - "sage.repl.ipython_kernel.kernel": { - "ntests": 12 - }, - "sage.repl.ipython_kernel.widgets": { - "failed": true, - "ntests": 91 - }, - "sage.repl.ipython_kernel.widgets_sagenb": { - "failed": true, - "ntests": 77 - }, - "sage.repl.ipython_tests": { - "failed": true, - "ntests": 20 - }, - "sage.repl.load": { - "failed": true, - "ntests": 41 - }, - "sage.repl.preparse": { - "failed": true, - "ntests": 343 - }, - "sage.repl.rich_output.backend_base": { - "failed": true, - "ntests": 96 - }, - "sage.repl.rich_output.backend_doctest": { - "ntests": 50 - }, - "sage.repl.rich_output.backend_emacs": { - "ntests": 15 - }, - "sage.repl.rich_output.backend_ipython": { - "failed": true, - "ntests": 75 - }, - "sage.repl.rich_output.buffer": { - "ntests": 49 - }, - "sage.repl.rich_output.display_manager": { - "failed": true, - "ntests": 85 - }, - "sage.repl.rich_output.output_basic": { - "ntests": 46 - }, - "sage.repl.rich_output.output_browser": { - "ntests": 12 - }, - "sage.repl.rich_output.output_graphics": { - "ntests": 38 - }, - "sage.repl.rich_output.output_graphics3d": { - "ntests": 46 - }, - "sage.repl.rich_output.output_video": { - "ntests": 25 - }, - "sage.repl.rich_output.preferences": { - "ntests": 68 - }, - "sage.repl.rich_output.pretty_print": { - "failed": true, - "ntests": 22 - }, - "sage.repl.rich_output.test_backend": { - "failed": true, - "ntests": 37 - } -} \ No newline at end of file diff --git a/pkgs/sagemath-repl/pyproject.toml.m4 b/pkgs/sagemath-repl/pyproject.toml.m4 deleted file mode 100644 index f0ed5af473c..00000000000 --- a/pkgs/sagemath-repl/pyproject.toml.m4 +++ /dev/null @@ -1,83 +0,0 @@ -include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- -[build-system] -# Minimum requirements for the build system to execute. -requires = [ - SPKG_INSTALL_REQUIRES_setuptools - SPKG_INSTALL_REQUIRES_wheel -] -build-backend = "setuptools.build_meta" - -[project] -name = "sagemath-repl" -description = "Sage: Open Source Mathematics Software: IPython kernel, Sage preparser, doctester" -dependencies = [ - SPKG_INSTALL_REQUIRES_sagemath_objects - SPKG_INSTALL_REQUIRES_sagemath_environment - SPKG_INSTALL_REQUIRES_ipykernel - SPKG_INSTALL_REQUIRES_ipython - SPKG_INSTALL_REQUIRES_ipywidgets - SPKG_INSTALL_REQUIRES_jupyter_client -] -dynamic = ["version"] -include(`pyproject_toml_metadata.m4')dnl' - -[project.optional-dependencies] -# Improved formatting of docstrings in the help system -sphinx = [ - SPKG_INSTALL_REQUIRES_sphinx -] - -[project.readme] -file = "README.rst" -content-type = "text/x-rst" - -[tool.setuptools] -py-modules = [ - "sage.all__sagemath_repl", - "sage.misc.all__sagemath_repl", - "sage.misc.banner", - "sage.misc.sagedoc", - "sage.misc.sage_input", - "sage.misc.sage_eval", -] -packages = [ - "sage.doctest", - "sage.interfaces", - "sage.repl", - "sage.repl.display", - "sage.repl.ipython_kernel", - "sage.repl.rich_output", -] -script-files = [ - # Other scripts that should be in the path also for OS packaging of sage: - "bin/sage-eval", - # Included because it is useful for doctesting/coverage testing user scripts too: - "bin/sage-runtests", - "bin/sage-fixdoctests", - "bin/sage-coverage", - # Helper scripts invoked by sage script - # (they would actually belong to something like libexec) - "bin/sage-cachegrind", - "bin/sage-callgrind", - "bin/sage-massif", - "bin/sage-omega", - "bin/sage-valgrind", - "bin/sage-cleaner", - # Uncategorized scripts in alphabetical order - "bin/sage-inline-fortran", - "bin/sage-ipynb2rst", - "bin/sage-ipython", - "bin/sage-notebook", - "bin/sage-preparse", - "bin/sage-run", - "bin/sage-run-cython", - "bin/sage-startuptime.py", -] -include-package-data = false - -[tool.setuptools.dynamic] -version = {file = ["VERSION.txt"]} - -[tool.setuptools.package-data] -"sage.doctest" = ["tests/*"] -"sage.repl.rich_output" = ["example*"] diff --git a/pkgs/sagemath-repl/requirements-editable.txt.m4 b/pkgs/sagemath-repl/requirements-editable.txt.m4 deleted file mode 100644 index fa89ade7621..00000000000 --- a/pkgs/sagemath-repl/requirements-editable.txt.m4 +++ /dev/null @@ -1,11 +0,0 @@ -include(`sage_spkg_versions.m4')dnl -dnl Same as setup.cfg.m4 install_requires (+ their install-requires) -dnl FIXME: should pin to built wheels. -SPKG_INSTALL_REQUIRES_gmpy2 -SPKG_INSTALL_REQUIRES_cysignals -SPKG_INSTALL_REQUIRES_memory_allocator -SPKG_INSTALL_REQUIRES_ipython -SPKG_INSTALL_REQUIRES_ipywidgets -dnl To be added when ready for editable: --e ../sagemath-environment --e ../sagemath-objects diff --git a/pkgs/sagemath-repl/requirements.txt.m4 b/pkgs/sagemath-repl/requirements.txt.m4 deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/pkgs/sagemath-repl/sage b/pkgs/sagemath-repl/sage deleted file mode 120000 index e0da5daa6f2..00000000000 --- a/pkgs/sagemath-repl/sage +++ /dev/null @@ -1 +0,0 @@ -../../src/sage \ No newline at end of file diff --git a/pkgs/sagemath-repl/setup.py b/pkgs/sagemath-repl/setup.py deleted file mode 100644 index 606849326a4..00000000000 --- a/pkgs/sagemath-repl/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup() diff --git a/pkgs/sagemath-repl/tox.ini b/pkgs/sagemath-repl/tox.ini deleted file mode 100644 index d7b557761ac..00000000000 --- a/pkgs/sagemath-repl/tox.ini +++ /dev/null @@ -1,122 +0,0 @@ -# To build and test in the tox environment: -# -# make SAGE_WHEELS=yes sagemath_repl-build-deps && ./sage -sh -c '(cd pkgs/sagemath-repl && SAGE_NUM_THREADS=8 tox -v -v -e sagepython-sagewheels-nopypi-norequirements)' -# -# After this, to test interactively: -# -# pkgs/sagemath-repl/.tox/sagepython-sagewheels-nopypi-norequirements/bin/python -# -[tox] -envlist = - sagepython-sagewheels-nopypi-norequirements - -requires = - # Auto-provision a modern tox. - # [pkgenv] added in 4.2 - https://tox.wiki/en/latest/upgrading.html#packaging-configuration-and-inheritance - # Because of https://github.com/tox-dev/tox/issues/3238, need <4.14.1 - tox>=4.2 - tox<4.14.1 - -[pkgenv] -# Environment in which to build the sdist. -# https://tox.wiki/en/latest/upgrading.html#packaging-environments -passenv = - # Variables set by .homebrew-build-env - CPATH - LIBRARY_PATH - PKG_CONFIG_PATH - # Parallel build - SAGE_NUM_THREADS - SAGE_NUM_THREADS_PARALLEL - MAKEFLAGS - # SAGE_VENV only for referring to the basepython or finding the wheels - sagepython, sagewheels: SAGE_VENV - # Location of the wheels - sagewheels: SAGE_SPKG_WHEELS - -setenv = - # We supply pip options by environment variables so that they - # apply both to the installation of the dependencies and of the package - sagewheels: PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - nopypi: PIP_NO_INDEX=true - -[testenv] -deps = - !norequirements: -rrequirements.txt - -extras = test - -passenv = {[pkgenv]passenv} - -setenv = {[pkgenv]setenv} - # Sage scripts such as sage-runtests like to use $HOME/.sage - HOME={envdir} - # Stop 'sage -t --installed' from picking up doc installed in SAGE_LOCAL - SAGE_DOC=/doesnotexist - KNOWN_TEST_FAILURES={toxinidir}/known-test-failures.json - # See src/bin/sage-env - PYDEVD_DISABLE_FILE_VALIDATION=1 - -allowlist_externals = - bash - -commands = - # Beware of the treacherous non-src layout. "./sage/" shadows the installed sage package. - {envpython} -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.repl.all; import sage.doctest.all' - - bash -c 'cd $({envpython} -c "import sys; \"\" in sys.path and sys.path.remove(\"\"); from sage.env import SAGE_LIB; print(SAGE_LIB)") && sage-runtests -p --environment=sage.all__sagemath_repl --baseline-stats-path=$KNOWN_TEST_FAILURES --initial --optional=sage sage/repl sage/doctest sage/misc/sage_input.py sage/misc/sage_eval.py' - -[testenv:.tox] -# Allow access to PyPI for auto-provisioning a suitable tox version -passenv = -setenv = PIP_NO_INDEX=false - -[testenv:.pkg-sagepython] -# Environment in which to build the sdist. -# inherits from [pkgenv] - https://tox.wiki/en/latest/upgrading.html#packaging-environments -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi] -passenv = {[pkgenv]passenv} - SAGE_VENV - SAGE_SPKG_WHEELS - -setenv = {[pkgenv]setenv} - PIP_FIND_LINKS=file://{env:SAGE_SPKG_WHEELS:{env:SAGE_VENV:{toxinidir}/../../../../venv}/var/lib/sage/wheels} - PIP_NO_INDEX=true - -basepython = {env:SAGE_VENV}/bin/python3 - -[testenv:.pkg-sagepython-sagewheels-nopypi-editable] -config_settings_build_editable = - editable_mode = strict - - -[testenv:sagepython] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - -[testenv:sagepython-sagewheels-nopypi] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels] -basepython = {env:SAGE_VENV}/bin/python -package_env = .pkg-sagepython - -[testenv:sagepython-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython - - -[testenv:sagepython-sagewheels-nopypi-norequirements] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi - -[testenv:sagepython-sagewheels-nopypi-editable] -basepython = {env:SAGE_VENV}/bin/python3 -package_env = .pkg-sagepython-sagewheels-nopypi-editable -package = editable -deps = -r requirements-editable.txt -config_settings_build_editable = - editable_mode = strict diff --git a/src/sage/features/sagemath.py b/src/sage/features/sagemath.py index c44fe16346e..0f3f621177b 100644 --- a/src/sage/features/sagemath.py +++ b/src/sage/features/sagemath.py @@ -1,32 +1,18 @@ r""" Features for testing the presence of Python modules in the Sage library -All of these features are present in a monolithic installation of the Sage library, -such as the one made by the SageMath distribution. - -The features are defined for the purpose of separately testing modularized -distributions such as :ref:`sagemath-categories ` -and :ref:`sagemath-repl `. +All of these features are present in a monolithic installation of the +Sage library, such as the one made by the SageMath distribution. Often, doctests in a module of the Sage library illustrate the -interplay with a range of different objects; this is a form of integration testing. -These objects may come from modules shipped in -other distributions. For example, :mod:`sage.structure.element` -(shipped by :ref:`sagemath-objects `, -one of the most fundamental distributions) contains the -doctest:: - - sage: G = SymmetricGroup(4) # needs sage.groups - sage: g = G([2, 3, 4, 1]) # needs sage.groups - sage: g.powers(4) # needs sage.groups +interplay with a range of different objects; this is a form of +integration testing:: + + sage: G = SymmetricGroup(4) + sage: g = G([2, 3, 4, 1]) + sage: g.powers(4) [(), (1,2,3,4), (1,3)(2,4), (1,4,3,2)] -This test cannot pass when the distribution :ref:`sagemath-objects ` -is tested separately (in a virtual environment): In this situation, -:class:`SymmetricGroup` is not defined anywhere (and thus not present -in the top-level namespace). -Hence, we conditionalize this doctest on the presence of the feature -:class:`sage.groups `. """ # ***************************************************************************** diff --git a/tools/update-version b/tools/update-version index 3158e505e25..6e870cb86a8 100755 --- a/tools/update-version +++ b/tools/update-version @@ -36,13 +36,14 @@ SAGE_VERSION=`echo "$1" | sed 's/^sage-//'` SAGE_RELEASE_DATE=`date -u +'%Y-%m-%d'` SAGE_VERSION_BANNER="SageMath version $SAGE_VERSION, Release Date: $SAGE_RELEASE_DATE" -# Update Sage version file for all distribution packages -for version_file in "$SAGE_ROOT"/pkgs/*/VERSION.txt; do +# Update the versions of sage_docbuild and sage_setup. +for version_file in "$SAGE_ROOT"/build/pkgs/sage_{docbuild,setup}/src/VERSION.txt; do if [ -f "$version_file" ]; then echo $SAGE_VERSION > "$version_file" fi done + # Update version_requirements.txt for all distribution packages ( cd "$SAGE_ROOT"/build/pkgs/ && for spkg in sage*; do if [ -f "$spkg"/version_requirements.txt -a -d "$spkg"/src ]; then @@ -136,7 +137,8 @@ git commit -m "Updated SageMath version to $SAGE_VERSION" -- \ "$SAGE_ROOT/build/pkgs/configure/checksums.ini" \ "$SAGE_ROOT/build/pkgs/configure/package-version.txt" \ "$SAGE_ROOT/build/pkgs/*/version_requirements.txt" \ - "$SAGE_ROOT"/pkgs/*/VERSION.txt \ + "$SAGE_ROOT/build/pkgs/sage_docbuild/src/VERSION.txt" \ + "$SAGE_ROOT/build/pkgs/sage_setup/src/VERSION.txt" \ "$SAGE_ROOT/.upstream.d/20-github.com-sagemath-sage-releases" \ "$SAGE_ROOT/src/doc/en/website/versions.txt" \ || die "Error committing to the repository."