passagemath-environment 10.4.40__py3-none-any.whl → 10.4.44__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.40'
8
- SAGE_RELEASE_DATE='2024-11-02'
9
- SAGE_VERSION_BANNER='passagemath version 10.4.40, Release Date: 2024-11-02'
7
+ SAGE_VERSION='10.4.44'
8
+ SAGE_RELEASE_DATE='2024-11-05'
9
+ SAGE_VERSION_BANNER='passagemath version 10.4.44, Release Date: 2024-11-05'
@@ -1,15 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-environment
3
- Version: 10.4.40
3
+ Version: 10.4.44
4
4
  Summary: passagemath: System and software environment
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
+ Maintainer: Matthias Köppe, passagemath contributors
6
7
  License: GNU General Public License (GPL) v2 or later
7
- Project-URL: download, https://doc.sagemath.org/html/en/installation/index.html
8
- Project-URL: release notes, https://github.com/sagemath/sage/releases
9
- Project-URL: source, https://github.com/sagemath/sage
8
+ Project-URL: release notes, https://github.com/passagemath/passagemath/releases
9
+ Project-URL: repo (upstream), https://github.com/sagemath/sage
10
+ Project-URL: repo, https://github.com/passagemath/passagemath
10
11
  Project-URL: documentation, https://doc.sagemath.org
11
- Project-URL: homepage, https://www.sagemath.org
12
- Project-URL: tracker, https://github.com/sagemath/sage/issues
12
+ Project-URL: homepage (upstream), https://www.sagemath.org
13
+ Project-URL: discourse, https://passagemath.discourse.group
14
+ Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
15
+ Project-URL: tracker, https://github.com/passagemath/passagemath/issues
13
16
  Classifier: Development Status :: 6 - Mature
14
17
  Classifier: Intended Audience :: Education
15
18
  Classifier: Intended Audience :: Science/Research
@@ -26,20 +29,20 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
26
29
  Requires-Python: <3.13,>=3.9
27
30
  Description-Content-Type: text/x-rst
28
31
  Provides-Extra: conf
29
- Requires-Dist: passagemath-conf~=10.4.40.0; extra == "conf"
32
+ Requires-Dist: passagemath-conf~=10.4.44.0; extra == "conf"
30
33
  Provides-Extra: cython
31
34
  Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
32
35
  Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
33
36
  Provides-Extra: docbuild
34
- Requires-Dist: passagemath-docbuild~=10.4.40.0; extra == "docbuild"
37
+ Requires-Dist: passagemath-docbuild~=10.4.44.0; extra == "docbuild"
35
38
  Provides-Extra: pytest
36
39
  Requires-Dist: pytest; extra == "pytest"
37
40
  Provides-Extra: rst2ipynb
38
41
  Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
39
42
  Provides-Extra: sage
40
- Requires-Dist: passagemath-standard~=10.4.40.0; extra == "sage"
43
+ Requires-Dist: passagemath-standard~=10.4.44.0; extra == "sage"
41
44
  Provides-Extra: sws2rst
42
- Requires-Dist: passagemath-sws2rst~=10.4.40.0; extra == "sws2rst"
45
+ Requires-Dist: passagemath-sws2rst~=10.4.44.0; extra == "sws2rst"
43
46
  Provides-Extra: tox
44
47
  Requires-Dist: tox>=4.11; extra == "tox"
45
48
 
@@ -1,20 +1,20 @@
1
- passagemath_environment-10.4.40.data/scripts/sage,sha256=kXEjQRMowRDrarhh4vE-lKFm3156AHN5eXVu2nS-eJg,43267
2
- passagemath_environment-10.4.40.data/scripts/sage-env,sha256=Q54ksJV-D6VBUFIeIqAiT8tktkzAEzi_wUpRuC23ITU,23221
3
- passagemath_environment-10.4.40.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
- passagemath_environment-10.4.40.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
- passagemath_environment-10.4.40.data/scripts/sage-venv-config,sha256=4C_dvQRTdnp6H4Qs5TT1WvNuk0fGEnXkc0eGCdVDsNY,1197
6
- passagemath_environment-10.4.40.data/scripts/sage-version.sh,sha256=qoAahVCafPzkW5LUR2niTQ7By6srP5zW8p3-R6kjMAg,403
1
+ passagemath_environment-10.4.44.data/scripts/sage,sha256=kXEjQRMowRDrarhh4vE-lKFm3156AHN5eXVu2nS-eJg,43267
2
+ passagemath_environment-10.4.44.data/scripts/sage-env,sha256=Q54ksJV-D6VBUFIeIqAiT8tktkzAEzi_wUpRuC23ITU,23221
3
+ passagemath_environment-10.4.44.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
+ passagemath_environment-10.4.44.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
+ passagemath_environment-10.4.44.data/scripts/sage-venv-config,sha256=4C_dvQRTdnp6H4Qs5TT1WvNuk0fGEnXkc0eGCdVDsNY,1197
6
+ passagemath_environment-10.4.44.data/scripts/sage-version.sh,sha256=JZDIfZESRS37GtB7qFGltcvyguNsPgmusWZIWOsB8Gs,403
7
7
  sage/all__sagemath_environment.py,sha256=d44XIAz0tXfPdQxa3dGJvF2WEf6stMQxLUFL0GC1Sv4,188
8
- sage/env.py,sha256=zQ09Z-9Kro1h53f8MneYTZa4dH3KEy9Q5Bg-0Rxb1a4,18039
9
- sage/version.py,sha256=3l0H_edXDYEdtLSiTojHD2xdIfsMV5tX13vH-Dx2VmY,279
10
- sage/features/__init__.py,sha256=NMdUbvPHznj3WrNLRdmXBdK8yA0m2Ytw54u39ihWRQo,36582
8
+ sage/env.py,sha256=vfWTO4hiCiYT0jYZqpTMIvyd_xpb53Kx973nMMb8iNg,18127
9
+ sage/version.py,sha256=SXeK6X_J7e34A1YJYt_RLqmOe7mmf3ZLJZKCHkSrRKo,279
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
13
- sage/features/cddlib.py,sha256=zHN16TIyufH14rtexQRpCW8VQbeqRV1qRMKhDp31PJk,1330
13
+ sage/features/cddlib.py,sha256=FWpGnOTB6W0tFbd62olqpbG4IzImhuxOWB7rkGgjwIw,1381
14
14
  sage/features/coxeter3.py,sha256=FwmbW2JsER7j8KGonUEDe0Mfn-5QndDY2gGLcS84gso,1475
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
- sage/features/databases.py,sha256=zkPIrTerbAzb9tthtQ13Bc7AexJ2LZOIV60KNPxoN4I,10632
17
+ sage/features/databases.py,sha256=WxthCcHovRjauGnvDuylbOqZytGJ9SZ_Dek65CBdBlw,10683
18
18
  sage/features/dvipng.py,sha256=SJCwJNUamQuPL2-bOzT3JrA8QMdJ0t20EB9n5ogXnHE,1330
19
19
  sage/features/ecm.py,sha256=qMnrunufXVKz104N-eY_3fy4Sgdzd0ohs1kXOeHvXFI,1313
20
20
  sage/features/ffmpeg.py,sha256=wtJL6t56Oe1D4k1ChZjZ6LP_kx3pGPOFkYCjvr28JPM,4762
@@ -33,7 +33,7 @@ sage/features/jmol.py,sha256=Gg7vTzNRJoPIQSbF25gifJvqHJDn0dm5HZTEA4TMdNA,1135
33
33
  sage/features/join_feature.py,sha256=5UqBs4DCUZddchINdg_HTIKLESOC0scm9u3lsIImmuY,5376
34
34
  sage/features/kenzo.py,sha256=sHqSeagK7_p0RmSjQ8q-1kxIRxRsNa7jFSexAsr80Ks,2672
35
35
  sage/features/latex.py,sha256=pyj57wpTfdTXFFsbIxr6OuOl0j5Sg1CrU_ZhxLIeLsI,9616
36
- sage/features/latte.py,sha256=9NHYcDp_kLyrAtUdKQ2pOKYlo3oJy1R16p5Zg4E6_DQ,2617
36
+ sage/features/latte.py,sha256=lmVKos8_f9UJjU1nSVuAWURM80fsYIv1n1do-5pCbd4,2787
37
37
  sage/features/lrs.py,sha256=ru_VDo0Y6am54FQd9zqanhqoXnZXP2hudnkjD9GNNlI,5963
38
38
  sage/features/mcqd.py,sha256=GfllBC9A170B0z64bE3AZ9yLfUF8aTdQDgGhRwCnYGc,1397
39
39
  sage/features/meataxe.py,sha256=9uYHmPzED2RGmK5ge56zJlnHDhKVQidPEbxLThSdiaw,1458
@@ -64,7 +64,7 @@ sage/misc/package.py,sha256=xZF5iijW69X9DblpnLcYXQiRdjE7Uhu1MJ5eeq12T9o,19191
64
64
  sage/misc/package_dir.py,sha256=zzL-ASJSn8oX_gejqMrHrTfesVt31vAp3g-ouZKiOks,26899
65
65
  sage/misc/temporary_file.py,sha256=Z-0blAIrU1MAdpl3z8M_6n7-zj4Ac3NA-ULSIIKmCWU,19138
66
66
  sage/misc/viewer.py,sha256=T7DRgW07qYcKQPJ0nG-N1KoVRHz3xrL7LxkVAZ7dvOo,11554
67
- passagemath_environment-10.4.40.dist-info/METADATA,sha256=81tGOneB5EhahlEQWKXm-XosayeoNV6S-Xum0qjlkQg,3917
68
- passagemath_environment-10.4.40.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
69
- passagemath_environment-10.4.40.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
70
- passagemath_environment-10.4.40.dist-info/RECORD,,
67
+ passagemath_environment-10.4.44.dist-info/METADATA,sha256=Xjpyt9E6Upa62_MRPNa9hbsJZKBJZNvdi6cCBeqXq1U,4126
68
+ passagemath_environment-10.4.44.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
69
+ passagemath_environment-10.4.44.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
70
+ passagemath_environment-10.4.44.dist-info/RECORD,,
sage/env.py CHANGED
@@ -11,7 +11,7 @@ environment variables, and has the same ``SAGE_ROOT`` and ``SAGE_LOCAL``
11
11
  sage: module_name = "sage.all" # hide .all import from the linter
12
12
  sage: cmd = f"from {module_name} import SAGE_ROOT, SAGE_LOCAL;"
13
13
  sage: cmd += "from os.path import samefile;"
14
- sage: cmd += f"s1 = samefile(SAGE_ROOT, '{SAGE_ROOT}');"
14
+ sage: cmd += f"s1 = samefile(SAGE_ROOT, '{SAGE_ROOT}') if SAGE_ROOT else True;"
15
15
  sage: cmd += f"s2 = samefile(SAGE_LOCAL, '{SAGE_LOCAL}');"
16
16
  sage: cmd += "print(s1 and s2);"
17
17
  sage: out = check_output([sys.executable, "-c", cmd], env=env).decode().strip() # long time
@@ -373,6 +373,7 @@ def cython_aliases(required_modules=None, optional_modules=None):
373
373
 
374
374
  EXAMPLES::
375
375
 
376
+ sage: # needs sage.misc.cython (actually just pkgconfig)
376
377
  sage: from sage.env import cython_aliases
377
378
  sage: cython_aliases()
378
379
  {...}
sage/features/__init__.py CHANGED
@@ -742,6 +742,17 @@ class Executable(FileFeature):
742
742
  sage.features.FeatureNotPresentError: does-not-exist is not available.
743
743
  Executable 'does-not-exist-xxxxyxyyxyy' not found on PATH.
744
744
  """
745
+ try:
746
+ # populated in PyPI wheels by pkgs/sagemath-*/repair_wheel.py
747
+ import sage_wheels
748
+ except ImportError:
749
+ pass
750
+ else:
751
+ search_path = ':'.join(os.path.join(p, 'bin') for p in sage_wheels.__path__)
752
+ path = shutil.which(self.executable, path=search_path)
753
+ if path is not None:
754
+ return path
755
+
745
756
  if SAGE_LOCAL:
746
757
  if Path(SAGE_VENV).resolve() != Path(SAGE_LOCAL).resolve():
747
758
  # As sage.env currently gives SAGE_LOCAL a fallback value from SAGE_VENV,
sage/features/cddlib.py CHANGED
@@ -36,3 +36,7 @@ class CddExecutable(Executable):
36
36
  """
37
37
  Executable.__init__(self, name=name, executable=name, spkg='cddlib',
38
38
  url='https://github.com/cddlib/cddlib', type='standard')
39
+
40
+
41
+ def all_features():
42
+ return [CddExecutable()]
@@ -53,7 +53,7 @@ class DatabaseCremona(StaticFile):
53
53
  EXAMPLES::
54
54
 
55
55
  sage: from sage.features.databases import DatabaseCremona
56
- sage: DatabaseCremona('cremona_mini', type='standard').is_present()
56
+ sage: DatabaseCremona('cremona_mini', type='standard').is_present() # needs database_cremona_mini_ellcurve
57
57
  FeatureTestResult('database_cremona_mini_ellcurve', True)
58
58
  sage: DatabaseCremona().is_present() # optional - database_cremona_ellcurve
59
59
  FeatureTestResult('database_cremona_ellcurve', True)
sage/features/latte.py CHANGED
@@ -16,7 +16,7 @@ Features for testing the presence of ``latte_int``
16
16
  # https://www.gnu.org/licenses/
17
17
  # ****************************************************************************
18
18
 
19
- from . import Executable
19
+ from . import Executable, PythonModule
20
20
  from .join_feature import JoinFeature
21
21
 
22
22
 
@@ -77,8 +77,11 @@ class Latte(JoinFeature):
77
77
  True
78
78
  """
79
79
  JoinFeature.__init__(self, 'latte_int',
80
- (Latte_count(), Latte_integrate()),
81
- description='LattE')
80
+ (Latte_count(),
81
+ Latte_integrate(),
82
+ PythonModule('sage.interfaces.latte')),
83
+ description='LattE',
84
+ spkg='sagemath_latte_4ti2')
82
85
 
83
86
 
84
87
  def all_features():
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.40'
5
- date = '2024-11-02'
6
- banner = 'passagemath version 10.4.40, Release Date: 2024-11-02'
4
+ version = '10.4.44'
5
+ date = '2024-11-05'
6
+ banner = 'passagemath version 10.4.44, Release Date: 2024-11-05'