passagemath-environment 10.5.42__tar.gz → 10.6.1rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/PKG-INFO +8 -8
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/README.rst +1 -1
- passagemath_environment-10.6.1rc1/VERSION.txt +1 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-env +3 -0
- passagemath_environment-10.6.1rc1/bin/sage-version.sh +9 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/passagemath_environment.egg-info/PKG-INFO +8 -8
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/passagemath_environment.egg-info/SOURCES.txt +1 -2
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/passagemath_environment.egg-info/requires.txt +5 -4
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/pyproject.toml +8 -7
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/pyproject.toml.m4 +3 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/env.py +60 -27
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/__init__.py +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/all.py +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/databases.py +76 -70
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/fricas.py +33 -4
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/giac.py +2 -2
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/latex.py +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/latte.py +1 -1
- passagemath_environment-10.6.1rc1/sage/features/meson_editable.py +45 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/pkg_systems.py +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sagemath.py +1 -1
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/misc/package_dir.py +46 -7
- passagemath_environment-10.6.1rc1/sage/version.py +6 -0
- passagemath_environment-10.5.42/VERSION.txt +0 -1
- passagemath_environment-10.5.42/bin/sage-cython +0 -39
- passagemath_environment-10.5.42/bin/sage-update-version +0 -172
- passagemath_environment-10.5.42/bin/sage-version.sh +0 -9
- passagemath_environment-10.5.42/sage/version.py +0 -6
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/MANIFEST.in +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/math-readline +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-cachegrind +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-callgrind +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-cleaner +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-coverage +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-env-config.in +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-eval +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-fixdoctests +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-grep +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-grepdoc +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-inline-fortran +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-ipynb2rst +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-ipython +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-list-packages +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-massif +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-notebook +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-num-threads.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-omega +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-preparse +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-python +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-run +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-run-cython +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-runtests +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-src-env-config.in +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-startuptime.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-valgrind +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/bin/sage-venv-config +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/passagemath_environment.egg-info/dependency_links.txt +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/passagemath_environment.egg-info/top_level.txt +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/requirements-editable.txt.m4 +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/all__sagemath_environment.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/bliss.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/cddlib.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/coxeter3.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/csdp.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/cython.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/dot2tex.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/dvipng.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/eclib.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/ecm.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/ffmpeg.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/four_ti_2.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/frobby.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/gap.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/gfan.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/graph_generators.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/graphviz.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/igraph.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/imagemagick.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/info.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/interfaces.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/internet.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/jmol.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/join_feature.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/kenzo.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/lrs.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/macaulay2.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/mcqd.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/meataxe.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/mip_backends.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/msolve.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/nauty.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/normaliz.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/palp.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/pandoc.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/pari.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/pdf2svg.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/phitigra.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/polymake.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/poppler.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/qepcad.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/rubiks.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sat.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/singular.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sirocco.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sloane_database.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sphinx.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/standard.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/symengine_py.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/sympow.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/tachyon.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/tdlib.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/threejs.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/topcom.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/misc/all__sagemath_environment.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/misc/package.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/misc/temporary_file.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/misc/viewer.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/setup.cfg +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/setup.py +0 -0
- {passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/tox.ini +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: passagemath-environment
|
3
|
-
Version: 10.
|
3
|
+
Version: 10.6.1rc1
|
4
4
|
Summary: passagemath: System and software environment
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
@@ -19,21 +19,21 @@ Classifier: Intended Audience :: Science/Research
|
|
19
19
|
Classifier: Operating System :: POSIX
|
20
20
|
Classifier: Operating System :: MacOS :: MacOS X
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
28
27
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
29
|
-
Requires-Python: <3.14,>=3.
|
28
|
+
Requires-Python: <3.14,>=3.10
|
30
29
|
Description-Content-Type: text/x-rst
|
30
|
+
Requires-Dist: platformdirs
|
31
31
|
Provides-Extra: conf
|
32
|
-
Requires-Dist: passagemath-conf
|
32
|
+
Requires-Dist: passagemath-conf==10.6.1rc1; extra == "conf"
|
33
33
|
Provides-Extra: docbuild
|
34
|
-
Requires-Dist: passagemath-docbuild
|
34
|
+
Requires-Dist: passagemath-docbuild==10.6.1rc1; extra == "docbuild"
|
35
35
|
Provides-Extra: sage
|
36
|
-
Requires-Dist: passagemath-standard
|
36
|
+
Requires-Dist: passagemath-standard==10.6.1rc1; extra == "sage"
|
37
37
|
Provides-Extra: cython
|
38
38
|
Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
|
39
39
|
Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
|
@@ -44,7 +44,7 @@ Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
|
|
44
44
|
Provides-Extra: tox
|
45
45
|
Requires-Dist: tox>=4.11; extra == "tox"
|
46
46
|
Provides-Extra: sws2rst
|
47
|
-
Requires-Dist: passagemath-sws2rst
|
47
|
+
Requires-Dist: passagemath-sws2rst==10.6.1rc1; extra == "sws2rst"
|
48
48
|
|
49
49
|
=========================================================================
|
50
50
|
passagemath: System and software environment
|
@@ -87,7 +87,7 @@ passagemath attempts to support all major Linux distributions and recent version
|
|
87
87
|
macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
|
88
88
|
virtualization.
|
89
89
|
|
90
|
-
Complete sets of binary wheels are provided on PyPI for Python versions 3.
|
90
|
+
Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
|
91
91
|
Python 3.13.x is also supported, but some third-party packages are still missing wheels,
|
92
92
|
so compilation from source is triggered for those.
|
93
93
|
|
@@ -39,7 +39,7 @@ passagemath attempts to support all major Linux distributions and recent version
|
|
39
39
|
macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
|
40
40
|
virtualization.
|
41
41
|
|
42
|
-
Complete sets of binary wheels are provided on PyPI for Python versions 3.
|
42
|
+
Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
|
43
43
|
Python 3.13.x is also supported, but some third-party packages are still missing wheels,
|
44
44
|
so compilation from source is triggered for those.
|
45
45
|
|
@@ -0,0 +1 @@
|
|
1
|
+
10.6.1.rc1
|
@@ -433,7 +433,7 @@ usage_advanced() {
|
|
433
433
|
echo " --failed -- only test files that failed last test"
|
434
434
|
echo " --warn-long [timeout] -- warn if tests take too much CPU time"
|
435
435
|
echo " --only-errors -- only output failures, not successes"
|
436
|
-
echo " --gc=GC -- control
|
436
|
+
echo " --gc=GC -- control garbage collection (ALWAYS:"
|
437
437
|
echo " collect garbage before every test; NEVER:"
|
438
438
|
echo " disable gc; DEFAULT: Python default)"
|
439
439
|
echo " --short[=secs] -- run as many doctests as possible in about 300"
|
@@ -260,6 +260,9 @@ fi
|
|
260
260
|
if [ -n "$SAGE_WHEELS_PATH" ]; then
|
261
261
|
export PATH="$SAGE_WHEELS_PATH:$PATH"
|
262
262
|
fi
|
263
|
+
if [ -d "$SAGE_ROOT"/tools ]; then
|
264
|
+
export PATH="$SAGE_ROOT/tools:$PATH"
|
265
|
+
fi
|
263
266
|
if [ -d "$SAGE_ROOT" ]; then
|
264
267
|
export PATH="$SAGE_ROOT/build/bin:$PATH"
|
265
268
|
fi
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Sage version information for shell scripts.
|
2
|
+
#
|
3
|
+
# #31049: The following line is valid shell code but not valid Python code,
|
4
|
+
# which stops "setup.py develop" from rewriting it as a Python file.
|
5
|
+
:
|
6
|
+
# This file is auto-generated by the update-version script, do not edit!
|
7
|
+
SAGE_VERSION='10.6.1.rc1'
|
8
|
+
SAGE_RELEASE_DATE='2025-06-19'
|
9
|
+
SAGE_VERSION_BANNER='passagemath version 10.6.1.rc1, Release Date: 2025-06-19'
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: passagemath-environment
|
3
|
-
Version: 10.
|
3
|
+
Version: 10.6.1rc1
|
4
4
|
Summary: passagemath: System and software environment
|
5
5
|
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
6
6
|
Maintainer: Matthias Köppe, passagemath contributors
|
@@ -19,21 +19,21 @@ Classifier: Intended Audience :: Science/Research
|
|
19
19
|
Classifier: Operating System :: POSIX
|
20
20
|
Classifier: Operating System :: MacOS :: MacOS X
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
27
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
28
27
|
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
29
|
-
Requires-Python: <3.14,>=3.
|
28
|
+
Requires-Python: <3.14,>=3.10
|
30
29
|
Description-Content-Type: text/x-rst
|
30
|
+
Requires-Dist: platformdirs
|
31
31
|
Provides-Extra: conf
|
32
|
-
Requires-Dist: passagemath-conf
|
32
|
+
Requires-Dist: passagemath-conf==10.6.1rc1; extra == "conf"
|
33
33
|
Provides-Extra: docbuild
|
34
|
-
Requires-Dist: passagemath-docbuild
|
34
|
+
Requires-Dist: passagemath-docbuild==10.6.1rc1; extra == "docbuild"
|
35
35
|
Provides-Extra: sage
|
36
|
-
Requires-Dist: passagemath-standard
|
36
|
+
Requires-Dist: passagemath-standard==10.6.1rc1; extra == "sage"
|
37
37
|
Provides-Extra: cython
|
38
38
|
Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
|
39
39
|
Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
|
@@ -44,7 +44,7 @@ Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
|
|
44
44
|
Provides-Extra: tox
|
45
45
|
Requires-Dist: tox>=4.11; extra == "tox"
|
46
46
|
Provides-Extra: sws2rst
|
47
|
-
Requires-Dist: passagemath-sws2rst
|
47
|
+
Requires-Dist: passagemath-sws2rst==10.6.1rc1; extra == "sws2rst"
|
48
48
|
|
49
49
|
=========================================================================
|
50
50
|
passagemath: System and software environment
|
@@ -87,7 +87,7 @@ passagemath attempts to support all major Linux distributions and recent version
|
|
87
87
|
macOS. Use on Windows currently requires the use of Windows Subsystem for Linux or
|
88
88
|
virtualization.
|
89
89
|
|
90
|
-
Complete sets of binary wheels are provided on PyPI for Python versions 3.
|
90
|
+
Complete sets of binary wheels are provided on PyPI for Python versions 3.10.x-3.13.x.
|
91
91
|
Python 3.13.x is also supported, but some third-party packages are still missing wheels,
|
92
92
|
so compilation from source is triggered for those.
|
93
93
|
|
@@ -12,7 +12,6 @@ bin/sage-cachegrind
|
|
12
12
|
bin/sage-callgrind
|
13
13
|
bin/sage-cleaner
|
14
14
|
bin/sage-coverage
|
15
|
-
bin/sage-cython
|
16
15
|
bin/sage-env
|
17
16
|
bin/sage-env-config.in
|
18
17
|
bin/sage-eval
|
@@ -34,7 +33,6 @@ bin/sage-run-cython
|
|
34
33
|
bin/sage-runtests
|
35
34
|
bin/sage-src-env-config.in
|
36
35
|
bin/sage-startuptime.py
|
37
|
-
bin/sage-update-version
|
38
36
|
bin/sage-valgrind
|
39
37
|
bin/sage-venv-config
|
40
38
|
bin/sage-version.sh
|
@@ -81,6 +79,7 @@ sage/features/lrs.py
|
|
81
79
|
sage/features/macaulay2.py
|
82
80
|
sage/features/mcqd.py
|
83
81
|
sage/features/meataxe.py
|
82
|
+
sage/features/meson_editable.py
|
84
83
|
sage/features/mip_backends.py
|
85
84
|
sage/features/msolve.py
|
86
85
|
sage/features/nauty.py
|
@@ -1,13 +1,14 @@
|
|
1
|
+
platformdirs
|
1
2
|
|
2
3
|
[conf]
|
3
|
-
passagemath-conf
|
4
|
+
passagemath-conf==10.6.1rc1
|
4
5
|
|
5
6
|
[cython]
|
6
7
|
cython!=3.0.3,<4.0,>=3.0
|
7
8
|
cython<3.1.0,>=3.0.8
|
8
9
|
|
9
10
|
[docbuild]
|
10
|
-
passagemath-docbuild
|
11
|
+
passagemath-docbuild==10.6.1rc1
|
11
12
|
|
12
13
|
[pytest]
|
13
14
|
pytest
|
@@ -16,10 +17,10 @@ pytest
|
|
16
17
|
rst2ipynb>=0.2.2
|
17
18
|
|
18
19
|
[sage]
|
19
|
-
passagemath-standard
|
20
|
+
passagemath-standard==10.6.1rc1
|
20
21
|
|
21
22
|
[sws2rst]
|
22
|
-
passagemath-sws2rst
|
23
|
+
passagemath-sws2rst==10.6.1rc1
|
23
24
|
|
24
25
|
[tox]
|
25
26
|
tox>=4.11
|
@@ -10,7 +10,9 @@ build-backend = "setuptools.build_meta"
|
|
10
10
|
[project]
|
11
11
|
name = "passagemath-environment"
|
12
12
|
description = "passagemath: System and software environment"
|
13
|
-
dependencies = [
|
13
|
+
dependencies = [
|
14
|
+
'platformdirs',
|
15
|
+
]
|
14
16
|
dynamic = ["version"]
|
15
17
|
license = "GPL-2.0-or-later"
|
16
18
|
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
|
@@ -25,7 +27,6 @@ classifiers = [
|
|
25
27
|
"Operating System :: POSIX",
|
26
28
|
"Operating System :: MacOS :: MacOS X",
|
27
29
|
"Programming Language :: Python :: 3 :: Only",
|
28
|
-
"Programming Language :: Python :: 3.9",
|
29
30
|
"Programming Language :: Python :: 3.10",
|
30
31
|
"Programming Language :: Python :: 3.11",
|
31
32
|
"Programming Language :: Python :: 3.12",
|
@@ -33,7 +34,7 @@ classifiers = [
|
|
33
34
|
"Programming Language :: Python :: Implementation :: CPython",
|
34
35
|
"Topic :: Scientific/Engineering :: Mathematics",
|
35
36
|
]
|
36
|
-
requires-python = ">=3.
|
37
|
+
requires-python = ">=3.10, <3.14"
|
37
38
|
|
38
39
|
[project.urls]
|
39
40
|
"release notes" = "https://github.com/passagemath/passagemath/releases"
|
@@ -46,14 +47,14 @@ documentation = "https://doc.sagemath.org"
|
|
46
47
|
"tracker" = "https://github.com/passagemath/passagemath/issues"
|
47
48
|
|
48
49
|
[project.optional-dependencies]
|
49
|
-
conf = ['passagemath-conf
|
50
|
-
docbuild = ['passagemath-docbuild
|
51
|
-
sage = ['passagemath-standard
|
50
|
+
conf = ['passagemath-conf == 10.6.1rc1',] # sage.env can optionally use sage_conf
|
51
|
+
docbuild = ['passagemath-docbuild == 10.6.1rc1',] # For "sage --docbuild"
|
52
|
+
sage = ['passagemath-standard == 10.6.1rc1',] # For "sage", "sage -t", ...
|
52
53
|
cython = ['cython >=3.0, != 3.0.3, <4.0', 'cython >=3.0.8,<3.1.0',] # For "sage --cython"
|
53
54
|
pytest = ['pytest',] # For "sage --pytest"
|
54
55
|
rst2ipynb = ['rst2ipynb >=0.2.2',] # For "sage --rst2ipynb"
|
55
56
|
tox = ['tox >= 4.11',] # For "sage --tox"
|
56
|
-
sws2rst = ['passagemath-sws2rst
|
57
|
+
sws2rst = ['passagemath-sws2rst == 10.6.1rc1',] # For "sage --sws2rst"
|
57
58
|
|
58
59
|
[project.readme]
|
59
60
|
file = "README.rst"
|
@@ -10,7 +10,9 @@ build-backend = "setuptools.build_meta"
|
|
10
10
|
[project]
|
11
11
|
name = "passagemath-environment"
|
12
12
|
description = "passagemath: System and software environment"
|
13
|
-
dependencies = [
|
13
|
+
dependencies = [
|
14
|
+
SPKG_INSTALL_REQUIRES_platformdirs
|
15
|
+
]
|
14
16
|
dynamic = ["version"]
|
15
17
|
include(`pyproject_toml_metadata.m4')dnl'
|
16
18
|
|
@@ -39,23 +39,22 @@ AUTHORS:
|
|
39
39
|
# https://www.gnu.org/licenses/
|
40
40
|
# ****************************************************************************
|
41
41
|
|
42
|
-
from typing import Optional
|
43
|
-
import sage
|
44
|
-
import platform
|
45
42
|
import os
|
46
43
|
import socket
|
44
|
+
import subprocess
|
47
45
|
import sys
|
48
46
|
import sysconfig
|
49
|
-
from
|
50
|
-
from pathlib import Path
|
51
|
-
import subprocess
|
47
|
+
from typing import Optional
|
52
48
|
|
49
|
+
from platformdirs import site_data_dir, user_data_dir
|
50
|
+
|
51
|
+
from sage import version
|
53
52
|
|
54
53
|
# All variables set by var() appear in this SAGE_ENV dict
|
55
54
|
SAGE_ENV = dict()
|
56
55
|
|
57
56
|
|
58
|
-
def join(*args):
|
57
|
+
def join(*args) -> str | None:
|
59
58
|
"""
|
60
59
|
Join paths like ``os.path.join`` except that the result is ``None``
|
61
60
|
if any of the components is ``None``.
|
@@ -193,7 +192,7 @@ SAGE_LOCAL_SPKG_INST = var("SAGE_LOCAL_SPKG_INST", join(SAGE_LOCAL, "var", "lib"
|
|
193
192
|
SAGE_SPKG_INST = var("SAGE_SPKG_INST", join(SAGE_LOCAL, "var", "lib", "sage", "installed")) # deprecated
|
194
193
|
|
195
194
|
# source tree of the Sage distribution
|
196
|
-
SAGE_ROOT = var("SAGE_ROOT")
|
195
|
+
SAGE_ROOT = var("SAGE_ROOT") or None
|
197
196
|
SAGE_SRC = var("SAGE_SRC", join(SAGE_ROOT, "src"), SAGE_LIB)
|
198
197
|
SAGE_DOC_SRC = var("SAGE_DOC_SRC", join(SAGE_ROOT, "src", "doc"), SAGE_DOC)
|
199
198
|
SAGE_PKGS = var("SAGE_PKGS", join(SAGE_ROOT, "build", "pkgs"))
|
@@ -205,30 +204,20 @@ SAGE_DOC_SERVER_URL = var("SAGE_DOC_SERVER_URL")
|
|
205
204
|
SAGE_DOC_LOCAL_PORT = var("SAGE_DOC_LOCAL_PORT", "0")
|
206
205
|
|
207
206
|
# ~/.sage
|
208
|
-
|
207
|
+
if sys.platform == 'win32':
|
208
|
+
home_dir = os.environ.get("USERPROFILE")
|
209
|
+
else: # Unix-like systems (Linux, macOS, etc.)
|
210
|
+
home_dir = os.environ.get("HOME")
|
211
|
+
DOT_SAGE = var("DOT_SAGE", join(home_dir, ".sage"))
|
209
212
|
SAGE_STARTUP_FILE = var("SAGE_STARTUP_FILE", join(DOT_SAGE, "init.sage"))
|
210
213
|
|
211
214
|
# for sage_setup.setenv
|
212
215
|
SAGE_ARCHFLAGS = var("SAGE_ARCHFLAGS", "unset")
|
213
216
|
SAGE_PKG_CONFIG_PATH = var("SAGE_PKG_CONFIG_PATH")
|
214
217
|
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
_sage_wheels_path = []
|
219
|
-
else:
|
220
|
-
_sage_wheels_path = sage_wheels.__path__
|
221
|
-
|
222
|
-
# colon-separated search path for databases.
|
223
|
-
SAGE_DATA_PATH = var("SAGE_DATA_PATH",
|
224
|
-
os.pathsep.join(filter(None, [
|
225
|
-
join(DOT_SAGE, "db"),
|
226
|
-
] + [
|
227
|
-
join(p, "share") for p in _sage_wheels_path
|
228
|
-
] + [
|
229
|
-
join(SAGE_SHARE, "sagemath"),
|
230
|
-
SAGE_SHARE,
|
231
|
-
])))
|
218
|
+
# colon-separated search path for databases
|
219
|
+
# should not be used directly; instead use sage_data_paths
|
220
|
+
SAGE_DATA_PATH = var("SAGE_DATA_PATH")
|
232
221
|
|
233
222
|
# database directories, the default is to search in SAGE_DATA_PATH
|
234
223
|
CREMONA_LARGE_DATA_DIR = var("CREMONA_LARGE_DATA_DIR")
|
@@ -373,6 +362,10 @@ def sage_include_directories(use_sources=False):
|
|
373
362
|
sage: dirs = sage.env.sage_include_directories(use_sources=True)
|
374
363
|
sage: any(os.path.isfile(os.path.join(d, file)) for d in dirs)
|
375
364
|
True
|
365
|
+
|
366
|
+
::
|
367
|
+
|
368
|
+
sage: # optional - !meson_editable (no need, see :issue:`39275`)
|
376
369
|
sage: dirs = sage.env.sage_include_directories(use_sources=False)
|
377
370
|
sage: any(os.path.isfile(os.path.join(d, file)) for d in dirs)
|
378
371
|
True
|
@@ -462,9 +455,10 @@ def cython_aliases(required_modules=None, optional_modules=None):
|
|
462
455
|
....: ''')
|
463
456
|
435
|
464
457
|
"""
|
465
|
-
import pkgconfig
|
466
458
|
import itertools
|
467
459
|
|
460
|
+
import pkgconfig
|
461
|
+
|
468
462
|
if required_modules is None:
|
469
463
|
required_modules = default_required_modules
|
470
464
|
|
@@ -563,3 +557,42 @@ def cython_aliases(required_modules=None, optional_modules=None):
|
|
563
557
|
aliases["OPENMP_CXXFLAGS"] = OPENMP_CXXFLAGS.split()
|
564
558
|
|
565
559
|
return aliases
|
560
|
+
|
561
|
+
|
562
|
+
def sage_data_paths(name: str | None) -> set[str]:
|
563
|
+
r"""
|
564
|
+
Search paths for general data files.
|
565
|
+
|
566
|
+
If specified, the subdirectory ``name`` is appended to the
|
567
|
+
directories. Otherwise, the directories are returned as is.
|
568
|
+
|
569
|
+
EXAMPLES::
|
570
|
+
|
571
|
+
sage: from sage.env import sage_data_paths
|
572
|
+
sage: sage_data_paths("cremona")
|
573
|
+
{'.../cremona'}
|
574
|
+
"""
|
575
|
+
if not SAGE_DATA_PATH:
|
576
|
+
paths = {
|
577
|
+
join(DOT_SAGE, "db"),
|
578
|
+
join(SAGE_SHARE, "sagemath"),
|
579
|
+
SAGE_SHARE,
|
580
|
+
}
|
581
|
+
try:
|
582
|
+
import sage_wheels
|
583
|
+
except ImportError:
|
584
|
+
_sage_wheels_path = []
|
585
|
+
else:
|
586
|
+
_sage_wheels_path = sage_wheels.__path__
|
587
|
+
for p in _sage_wheels_path:
|
588
|
+
paths.add(join(p, "share"))
|
589
|
+
paths.add(user_data_dir("sagemath"))
|
590
|
+
paths.add(user_data_dir())
|
591
|
+
paths.add(site_data_dir("sagemath"))
|
592
|
+
paths.add(site_data_dir())
|
593
|
+
else:
|
594
|
+
paths = {path for path in SAGE_DATA_PATH.split(os.pathsep)}
|
595
|
+
|
596
|
+
if name is None:
|
597
|
+
return {path for path in paths if path}
|
598
|
+
return {os.path.join(path, name) for path in paths if path}
|
{passagemath_environment-10.5.42 → passagemath_environment-10.6.1rc1}/sage/features/__init__.py
RENAMED
@@ -566,7 +566,7 @@ def package_systems():
|
|
566
566
|
[Feature('homebrew'), Feature('sage_spkg'), Feature('pip')]
|
567
567
|
"""
|
568
568
|
# The current implementation never returns more than one system.
|
569
|
-
from subprocess import run, CalledProcessError
|
569
|
+
from subprocess import run, CalledProcessError
|
570
570
|
global _cache_package_systems
|
571
571
|
if _cache_package_systems is None:
|
572
572
|
from .pkg_systems import PackageSystem, SagePackageSystem, PipPackageSystem
|
@@ -117,7 +117,7 @@ def name_feature(name, toplevel=None):
|
|
117
117
|
except AttributeError:
|
118
118
|
return None
|
119
119
|
|
120
|
-
from sage.misc.
|
120
|
+
from sage.misc.sageinspect import find_object_modules
|
121
121
|
|
122
122
|
for module, names in find_object_modules(obj).items():
|
123
123
|
if name in names and (feature := module_feature(module)):
|