passagemath-environment 10.4.67__py3-none-any.whl → 10.5.1__py3-none-any.whl

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.
@@ -4,6 +4,6 @@
4
4
  # which stops "setup.py develop" from rewriting it as a Python file.
5
5
  :
6
6
  # This file is auto-generated by the sage-update-version script, do not edit!
7
- SAGE_VERSION='10.4.67'
8
- SAGE_RELEASE_DATE='2024-11-29'
9
- SAGE_VERSION_BANNER='passagemath version 10.4.67, Release Date: 2024-11-29'
7
+ SAGE_VERSION='10.5.1'
8
+ SAGE_RELEASE_DATE='2024-12-05'
9
+ SAGE_VERSION_BANNER='passagemath version 10.5.1, Release Date: 2024-12-05'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-environment
3
- Version: 10.4.67
3
+ Version: 10.5.1
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
@@ -29,20 +29,20 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
29
29
  Requires-Python: <3.13,>=3.9
30
30
  Description-Content-Type: text/x-rst
31
31
  Provides-Extra: conf
32
- Requires-Dist: passagemath-conf~=10.4.67.0; extra == "conf"
32
+ Requires-Dist: passagemath-conf~=10.5.1.0; extra == "conf"
33
33
  Provides-Extra: cython
34
34
  Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
35
35
  Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
36
36
  Provides-Extra: docbuild
37
- Requires-Dist: passagemath-docbuild~=10.4.67.0; extra == "docbuild"
37
+ Requires-Dist: passagemath-docbuild~=10.5.1.0; extra == "docbuild"
38
38
  Provides-Extra: pytest
39
39
  Requires-Dist: pytest; extra == "pytest"
40
40
  Provides-Extra: rst2ipynb
41
41
  Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
42
42
  Provides-Extra: sage
43
- Requires-Dist: passagemath-standard~=10.4.67.0; extra == "sage"
43
+ Requires-Dist: passagemath-standard~=10.5.1.0; extra == "sage"
44
44
  Provides-Extra: sws2rst
45
- Requires-Dist: passagemath-sws2rst~=10.4.67.0; extra == "sws2rst"
45
+ Requires-Dist: passagemath-sws2rst~=10.5.1.0; extra == "sws2rst"
46
46
  Provides-Extra: tox
47
47
  Requires-Dist: tox>=4.11; extra == "tox"
48
48
 
@@ -1,12 +1,12 @@
1
- passagemath_environment-10.4.67.data/scripts/sage,sha256=IjVLatRQBOGrVkqum1vDra9CZ0N7fkT0qfZNqJQRews,43367
2
- passagemath_environment-10.4.67.data/scripts/sage-env,sha256=bJMK-CihfTEImHt86_rR8vAlhTHpuzCNKvdv9MsDM6A,23497
3
- passagemath_environment-10.4.67.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
- passagemath_environment-10.4.67.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
- passagemath_environment-10.4.67.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
- passagemath_environment-10.4.67.data/scripts/sage-version.sh,sha256=kD3G-r3dckNwcFYTH0_AkZJuYzG1K6J_Ow9CHHAt4gc,403
1
+ passagemath_environment-10.5.1.data/scripts/sage,sha256=IjVLatRQBOGrVkqum1vDra9CZ0N7fkT0qfZNqJQRews,43367
2
+ passagemath_environment-10.5.1.data/scripts/sage-env,sha256=bJMK-CihfTEImHt86_rR8vAlhTHpuzCNKvdv9MsDM6A,23497
3
+ passagemath_environment-10.5.1.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
+ passagemath_environment-10.5.1.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
+ passagemath_environment-10.5.1.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
+ passagemath_environment-10.5.1.data/scripts/sage-version.sh,sha256=xIfN1japiiWVFkRmC9pvSqiBrjK3tjtQrpVvch_3kGA,401
7
7
  sage/all__sagemath_environment.py,sha256=d44XIAz0tXfPdQxa3dGJvF2WEf6stMQxLUFL0GC1Sv4,188
8
8
  sage/env.py,sha256=QkNRMUzt5UqKIHmZrNSe4F9tzKUIzrKse77GwXUPlWU,19317
9
- sage/version.py,sha256=jTImhjr_KnmSv9Z3fOiKVDPrJW6E7939zOG48IXQByM,279
9
+ sage/version.py,sha256=puR__N0G4W7sFZUN_YyPckhTmwTok8wjMLO5snpu6nI,277
10
10
  sage/features/__init__.py,sha256=xBqjHj-K85olQ5HVmNq1oSPn2W9ol1a1-FjElSb0sGQ,36977
11
11
  sage/features/all.py,sha256=6YQEvdLvw6Ipb0u-PLsB97wWnHj28qBYoz3fGbgrFmg,4236
12
12
  sage/features/bliss.py,sha256=SeLzXDEH30tgup593E42VJGGpR2gpRRI4lBt0ufCaGc,2447
@@ -15,6 +15,7 @@ sage/features/coxeter3.py,sha256=FwmbW2JsER7j8KGonUEDe0Mfn-5QndDY2gGLcS84gso,147
15
15
  sage/features/csdp.py,sha256=gen-XGjD-BcbOojILWv9L-T1zamb0_qFRlshk0k_j-k,2849
16
16
  sage/features/cython.py,sha256=iCIV3-Btwv6vX2L15cbCyHuNx71-xcLcpwt6wCYC1Xc,1291
17
17
  sage/features/databases.py,sha256=oiQN0Bo2QwfOTibcsF8vXRZXmAlE6Lh5IihT0KUrTK4,10992
18
+ sage/features/dot2tex.py,sha256=xW_d8nroNiI_LDuy3qLH30qDnOSyDJcGmIegDRODIgE,1266
18
19
  sage/features/dvipng.py,sha256=SJCwJNUamQuPL2-bOzT3JrA8QMdJ0t20EB9n5ogXnHE,1330
19
20
  sage/features/eclib.py,sha256=tP9rUZ2_vTe02cI49hV3WeTgwVvJ1VkJmzTN9VEOPtc,1499
20
21
  sage/features/ecm.py,sha256=LdvVZwAmzD0wx2qOJIvcHo2HHCwDg_xk2x7jWRumnWA,1627
@@ -41,7 +42,7 @@ sage/features/lrs.py,sha256=ru_VDo0Y6am54FQd9zqanhqoXnZXP2hudnkjD9GNNlI,5963
41
42
  sage/features/macaulay2.py,sha256=cv3imBr1VSwglrlrbYzIOymAcXF7p5FOhBxrm5sjDSo,1565
42
43
  sage/features/mcqd.py,sha256=GfllBC9A170B0z64bE3AZ9yLfUF8aTdQDgGhRwCnYGc,1397
43
44
  sage/features/meataxe.py,sha256=9uYHmPzED2RGmK5ge56zJlnHDhKVQidPEbxLThSdiaw,1458
44
- sage/features/mip_backends.py,sha256=vnTIYLCUy0XoM93OepBDl3cejJsMooLwRszO-3xAswg,3952
45
+ sage/features/mip_backends.py,sha256=3NcBZMtpc8ga0ZJ_mKpdhuCFCRlfWwprrQYdH8ERBxU,4659
45
46
  sage/features/msolve.py,sha256=lLYnqTZdExGMOL5YvfVEHz-QMfX7mHkfcfdFXyyfHJU,2493
46
47
  sage/features/nauty.py,sha256=RxY4q1skVUYFNYl00mNb93Z2W9wQHYPVxB46B7rDIcY,2341
47
48
  sage/features/normaliz.py,sha256=cWmDeu3tMfyUOLA3IlqI6sYwRhSz0dv2tQhIClvvqcw,1384
@@ -54,10 +55,11 @@ sage/features/polymake.py,sha256=Ix2qM0izHhBFa-IGTWjcbW9ofutbRP6FTL5p4buSgPU,142
54
55
  sage/features/poppler.py,sha256=hNdYa03BxYYiFTk70RAzJtCYxp0VEjGqrWMDpDosp5w,2231
55
56
  sage/features/qepcad.py,sha256=hD7TY_e9tCAqGyVHzsij4sOkDejzxvf-KMsqLB5JeLE,1495
56
57
  sage/features/rubiks.py,sha256=NF6ebywycUBA4n-e5rf4_KRPv7qLrkLi7Y_qTkl_gTI,5353
57
- sage/features/sagemath.py,sha256=6UXSaacJyw7q0OEkM0serLtTide-dXpATJFNm2-AtFE,55175
58
- sage/features/sat.py,sha256=XJXQPFU9PQRDwXVezC9j3iRJoDQSkWsI2b8F_fNNagk,2951
58
+ sage/features/sagemath.py,sha256=aGKPWuOOfEbrv8QKwZIxNI335PN3lOtMYQE9ypTy20I,55145
59
+ sage/features/sat.py,sha256=iHbfPD1yq5xqnBKmnetVIkKUPnjApTQfCw_s1D2qfcc,2921
59
60
  sage/features/singular.py,sha256=jyX5Pl-Zpo-I5kG0aKDFdPawMcM_S_Jv0QN7dsENNRg,1611
60
61
  sage/features/sirocco.py,sha256=wWG1tWXFnUPY5XVL5eQXKSQiX4g-bwsMXekIltbVQFs,1452
62
+ sage/features/sloane_database.py,sha256=RD9uL2J5RpQKrK3ugdgtxDCVNYiMdtYKbXl01kdC16U,1904
61
63
  sage/features/sphinx.py,sha256=52lO3muIkTYhmd_gdVsHEPMQeFWsbTHiky5z2E9mSPM,2299
62
64
  sage/features/standard.py,sha256=Eh95Xj-swHqPvORXCntVmz0U1XxXqv7KpYdrUKJAdac,2036
63
65
  sage/features/symengine_py.py,sha256=acVpHvjDe_Opl8iUAMbGaG13ROIjPEF9Fyn4HSn61Ek,1523
@@ -70,7 +72,7 @@ sage/misc/package.py,sha256=xZF5iijW69X9DblpnLcYXQiRdjE7Uhu1MJ5eeq12T9o,19191
70
72
  sage/misc/package_dir.py,sha256=zzL-ASJSn8oX_gejqMrHrTfesVt31vAp3g-ouZKiOks,26899
71
73
  sage/misc/temporary_file.py,sha256=Z-0blAIrU1MAdpl3z8M_6n7-zj4Ac3NA-ULSIIKmCWU,19138
72
74
  sage/misc/viewer.py,sha256=Jm4pABqyMs1hvggLA0JZAiZ_26uaBtPpaRKQUTddVE4,11574
73
- passagemath_environment-10.4.67.dist-info/METADATA,sha256=QLVPNQ8shPn7c6FAztlyMmdhhVMDbaf5AdaEyRRAUf0,4126
74
- passagemath_environment-10.4.67.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
75
- passagemath_environment-10.4.67.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
76
- passagemath_environment-10.4.67.dist-info/RECORD,,
75
+ passagemath_environment-10.5.1.dist-info/METADATA,sha256=qqhIhD2U-I3xduVunruSPZsg7svbo16yjUPGjHXoIRQ,4121
76
+ passagemath_environment-10.5.1.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
77
+ passagemath_environment-10.5.1.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
78
+ passagemath_environment-10.5.1.dist-info/RECORD,,
@@ -0,0 +1,42 @@
1
+ # sage_setup: distribution = sagemath-environment
2
+ r"""
3
+ Check for ``dot2tex``
4
+ """
5
+
6
+ # *****************************************************************************
7
+ # Copyright (C) 2024 Kwankyu Lee
8
+ #
9
+ # Distributed under the terms of the GNU General Public License (GPL)
10
+ # as published by the Free Software Foundation; either version 2 of
11
+ # the License, or (at your option) any later version.
12
+ # https://www.gnu.org/licenses/
13
+ # *****************************************************************************
14
+
15
+ from . import PythonModule
16
+
17
+
18
+ class dot2tex(PythonModule):
19
+ r"""
20
+ A :class:`sage.features.Feature` describing the presence of :ref:`dot2tex <spkg_dot2tex>`.
21
+
22
+ dot2tex is provided by an optional package in the Sage distribution.
23
+
24
+ EXAMPLES::
25
+
26
+ sage: from sage.features.dot2tex import dot2tex
27
+ sage: dot2tex().is_present() # optional - dot2tex
28
+ FeatureTestResult('dot2tex', True)
29
+ """
30
+ def __init__(self):
31
+ r"""
32
+ TESTS::
33
+
34
+ sage: from sage.features.dot2tex import dot2tex
35
+ sage: isinstance(dot2tex(), dot2tex)
36
+ True
37
+ """
38
+ PythonModule.__init__(self, 'dot2tex', spkg='dot2tex')
39
+
40
+
41
+ def all_features():
42
+ return [dot2tex()]
@@ -107,8 +107,28 @@ class CVXOPT(JoinFeature):
107
107
  type='standard')
108
108
 
109
109
 
110
+ class CVXpy(JoinFeature):
111
+ r"""
112
+ A :class:`~sage.features.Feature` describing whether the :class:`MixedIntegerLinearProgram` backend ``CVXpy`` is available.
113
+ """
114
+ def __init__(self):
115
+ r"""
116
+ TESTS::
117
+
118
+ sage: from sage.features.mip_backends import CVXpy
119
+ sage: CVXpy()._is_present() # needs cvxpy
120
+ FeatureTestResult('cvxpy', True)
121
+ """
122
+ JoinFeature.__init__(self, 'cvxpy',
123
+ [MIPBackend('CVXpy'),
124
+ PythonModule('cvxpy')],
125
+ spkg='cvxpy',
126
+ type='optional')
127
+
128
+
110
129
  def all_features():
111
130
  return [CPLEX(),
112
131
  Gurobi(),
113
132
  COIN(),
114
- CVXOPT()]
133
+ CVXOPT(),
134
+ CVXpy()]
sage/features/sagemath.py CHANGED
@@ -1018,7 +1018,7 @@ class sage__rings__padics(JoinFeature):
1018
1018
  EXAMPLES::
1019
1019
 
1020
1020
  sage: Qp(3) # needs sage.rings.padics
1021
- sage: Qq(125) # needs sage.rings.padics
1021
+ 3-adic Field with capped relative precision 20
1022
1022
 
1023
1023
  Some other precision models require the additional feature :mod:`sage.libs.flint`::
1024
1024
 
@@ -1044,7 +1044,7 @@ class sage__rings__padics(JoinFeature):
1044
1044
  JoinFeature.__init__(self, 'sage.rings.padics',
1045
1045
  [PythonModule('sage.rings.padics.factory'),
1046
1046
  PythonModule('sage.rings.padics.padic_ext_element'),
1047
- PythonModule('polynomial_padic_capped_relative_dense')],
1047
+ PythonModule('sage.rings.polynomial.padics.polynomial_padic_capped_relative_dense')],
1048
1048
  type='standard')
1049
1049
 
1050
1050
 
sage/features/sat.py CHANGED
@@ -14,7 +14,7 @@ class Glucose(Executable):
14
14
  EXAMPLES::
15
15
 
16
16
  sage: from sage.features.sat import Glucose
17
- sage: GlucoseExecutable().is_present() # optional - glucose
17
+ sage: Glucose().is_present() # optional - glucose
18
18
  FeatureTestResult('glucose', True)
19
19
  """
20
20
  def __init__(self, executable="glucose"):
@@ -59,7 +59,7 @@ class Pycosat(PythonModule):
59
59
  EXAMPLES::
60
60
 
61
61
  sage: from sage.features.sat import Pycosat
62
- sage: PycosatExecutable().is_present() # optional - pycosat
62
+ sage: Pycosat().is_present() # optional - pycosat
63
63
  FeatureTestResult('pycosat', True)
64
64
  """
65
65
  def __init__(self):
@@ -81,7 +81,7 @@ class Pycryptosat(PythonModule):
81
81
  EXAMPLES::
82
82
 
83
83
  sage: from sage.features.sat import Pycryptosat
84
- sage: PycryptosatExecutable().is_present() # optional - pycryptosat
84
+ sage: Pycryptosat().is_present() # optional - pycryptosat
85
85
  FeatureTestResult('pycryptosat', True)
86
86
  """
87
87
  def __init__(self):
@@ -0,0 +1,59 @@
1
+ # sage_setup: distribution = sagemath-environment
2
+ r"""
3
+ Feature for testing the presence of Sloane Online Encyclopedia of Integer Sequences
4
+ """
5
+
6
+ # ****************************************************************************
7
+ # Copyright (C) 2024 Kwankyu Lee <ekwankyu@gmail.com>
8
+ #
9
+ # This program is free software: you can redistribute it and/or modify
10
+ # it under the terms of the GNU General Public License as published by
11
+ # the Free Software Foundation, either version 2 of the License, or
12
+ # (at your option) any later version.
13
+ # https://www.gnu.org/licenses/
14
+ # ****************************************************************************
15
+
16
+ from . import Feature
17
+
18
+
19
+ class SloaneOEIS(Feature):
20
+ r"""
21
+ A :class:`~sage.features.Feature` which describes the presence of
22
+ the Sloane Online Encyclopedia of Integer Sequences.
23
+
24
+ EXAMPLES::
25
+
26
+ sage: from sage.features.sloane_database import SloaneOEIS
27
+ sage: bool(SloaneOEIS().is_present()) # optional - sloane_database
28
+ True
29
+ """
30
+ def __init__(self):
31
+ r"""
32
+ TESTS::
33
+
34
+ sage: from sage.features.sloane_database import SloaneOEIS
35
+ sage: isinstance(SloaneOEIS(), SloaneOEIS)
36
+ True
37
+ """
38
+ Feature.__init__(self, name='sloane_database',
39
+ description='Sloane Online Encyclopedia of Integer Sequences')
40
+
41
+ def _is_present(self):
42
+ r"""
43
+ Return whether the database is available.
44
+
45
+ EXAMPLES::
46
+
47
+ sage: from sage.features.sloane_database import SloaneOEIS
48
+ sage: bool(SloaneOEIS().is_present()) # optional - !sloane_database
49
+ False
50
+ """
51
+ try:
52
+ from sage.databases.sloane import SloaneEncyclopedia
53
+ except ImportError:
54
+ return False
55
+ return SloaneEncyclopedia.is_installed()
56
+
57
+
58
+ def all_features():
59
+ return [SloaneOEIS()]
sage/version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # sage_setup: distribution = sagemath-environment
2
2
  # Sage version information for Python scripts
3
3
  # This file is auto-generated by the sage-update-version script, do not edit!
4
- version = '10.4.67'
5
- date = '2024-11-29'
6
- banner = 'passagemath version 10.4.67, Release Date: 2024-11-29'
4
+ version = '10.5.1'
5
+ date = '2024-12-05'
6
+ banner = 'passagemath version 10.5.1, Release Date: 2024-12-05'