passagemath-environment 10.5.20__py3-none-any.whl → 10.5.21__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.5.20'
8
- SAGE_RELEASE_DATE='2025-01-12'
9
- SAGE_VERSION_BANNER='passagemath version 10.5.20, Release Date: 2025-01-12'
7
+ SAGE_VERSION='10.5.21'
8
+ SAGE_RELEASE_DATE='2025-01-19'
9
+ SAGE_VERSION_BANNER='passagemath version 10.5.21, Release Date: 2025-01-19'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-environment
3
- Version: 10.5.20
3
+ Version: 10.5.21
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
@@ -24,25 +24,26 @@ Classifier: Programming Language :: Python :: 3.9
24
24
  Classifier: Programming Language :: Python :: 3.10
25
25
  Classifier: Programming Language :: Python :: 3.11
26
26
  Classifier: Programming Language :: Python :: 3.12
27
+ Classifier: Programming Language :: Python :: 3.13
27
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
29
- Requires-Python: <3.13,>=3.9
30
+ Requires-Python: <3.14,>=3.9
30
31
  Description-Content-Type: text/x-rst
31
32
  Provides-Extra: conf
32
- Requires-Dist: passagemath-conf~=10.5.20.0; extra == "conf"
33
+ Requires-Dist: passagemath-conf~=10.5.21.0; extra == "conf"
33
34
  Provides-Extra: cython
34
35
  Requires-Dist: cython!=3.0.3,<4.0,>=3.0; extra == "cython"
35
36
  Requires-Dist: cython<3.1.0,>=3.0.8; extra == "cython"
36
37
  Provides-Extra: docbuild
37
- Requires-Dist: passagemath-docbuild~=10.5.20.0; extra == "docbuild"
38
+ Requires-Dist: passagemath-docbuild~=10.5.21.0; extra == "docbuild"
38
39
  Provides-Extra: pytest
39
40
  Requires-Dist: pytest; extra == "pytest"
40
41
  Provides-Extra: rst2ipynb
41
42
  Requires-Dist: rst2ipynb>=0.2.2; extra == "rst2ipynb"
42
43
  Provides-Extra: sage
43
- Requires-Dist: passagemath-standard~=10.5.20.0; extra == "sage"
44
+ Requires-Dist: passagemath-standard~=10.5.21.0; extra == "sage"
44
45
  Provides-Extra: sws2rst
45
- Requires-Dist: passagemath-sws2rst~=10.5.20.0; extra == "sws2rst"
46
+ Requires-Dist: passagemath-sws2rst~=10.5.21.0; extra == "sws2rst"
46
47
  Provides-Extra: tox
47
48
  Requires-Dist: tox>=4.11; extra == "tox"
48
49
 
@@ -1,12 +1,12 @@
1
- passagemath_environment-10.5.20.data/scripts/sage,sha256=IjVLatRQBOGrVkqum1vDra9CZ0N7fkT0qfZNqJQRews,43367
2
- passagemath_environment-10.5.20.data/scripts/sage-env,sha256=bJMK-CihfTEImHt86_rR8vAlhTHpuzCNKvdv9MsDM6A,23497
3
- passagemath_environment-10.5.20.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
- passagemath_environment-10.5.20.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
- passagemath_environment-10.5.20.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
- passagemath_environment-10.5.20.data/scripts/sage-version.sh,sha256=5JaqmRgRzeWKODzMTplKcSi1VchTKpqOsvGnj_aXUjg,403
1
+ passagemath_environment-10.5.21.data/scripts/sage,sha256=IjVLatRQBOGrVkqum1vDra9CZ0N7fkT0qfZNqJQRews,43367
2
+ passagemath_environment-10.5.21.data/scripts/sage-env,sha256=bJMK-CihfTEImHt86_rR8vAlhTHpuzCNKvdv9MsDM6A,23497
3
+ passagemath_environment-10.5.21.data/scripts/sage-num-threads.py,sha256=U09CpRe4aXkHNWHoZSYoQwYRASrvoT-l-zslRiGVbWc,3128
4
+ passagemath_environment-10.5.21.data/scripts/sage-python,sha256=gXVskicH9NJtE5apMm1U-ZWDzWiz3Rm6dFBND2y60gI,28
5
+ passagemath_environment-10.5.21.data/scripts/sage-venv-config,sha256=XeQOA2wIaIfUaEf9aPFUMQvr2s-aKKSLaBZORoSpP3Y,1371
6
+ passagemath_environment-10.5.21.data/scripts/sage-version.sh,sha256=KqsQE_NcX0z4QfRuzRFpqjhkh0scP_7kRqb9vpQdrrg,403
7
7
  sage/all__sagemath_environment.py,sha256=d44XIAz0tXfPdQxa3dGJvF2WEf6stMQxLUFL0GC1Sv4,188
8
8
  sage/env.py,sha256=7Oq3mOSIfX9fQ-1zb3J6zJn-1_mhALLA0jtfZfsLKw0,19497
9
- sage/version.py,sha256=-YNQwxV1PSHgpco-kIhnB5_RxxgSNTKO4i6v0y1vLaM,279
9
+ sage/version.py,sha256=8WvW6DdeP3jCtjYC-JlrD4XYs7eaWHaCbtbVvHH5FHg,279
10
10
  sage/features/__init__.py,sha256=okK1q1WIdILxqxzyOxWvXBmqVz2FQhYT7LL40SPr9LY,36978
11
11
  sage/features/all.py,sha256=6YQEvdLvw6Ipb0u-PLsB97wWnHj28qBYoz3fGbgrFmg,4236
12
12
  sage/features/bliss.py,sha256=SeLzXDEH30tgup593E42VJGGpR2gpRRI4lBt0ufCaGc,2447
@@ -71,9 +71,9 @@ sage/features/topcom.py,sha256=swLvRxLgXZ3zg6-y0Pbh9ci6vGqsVEoTXJXf-UI_8nA,2211
71
71
  sage/misc/all__sagemath_environment.py,sha256=LG7rw2H1bgnbQpXTph34n1ULnjE3vu4jViJEZE8M9lQ,109
72
72
  sage/misc/package.py,sha256=xZF5iijW69X9DblpnLcYXQiRdjE7Uhu1MJ5eeq12T9o,19191
73
73
  sage/misc/package_dir.py,sha256=oZ7gIoZFq2pTSeM0hW2RISg9p5MIs9npgLNQlKdBlk0,26898
74
- sage/misc/temporary_file.py,sha256=Z-0blAIrU1MAdpl3z8M_6n7-zj4Ac3NA-ULSIIKmCWU,19138
74
+ sage/misc/temporary_file.py,sha256=U16AQcCP5NZXO-HXt8IutcFfOdEerf2Zc6FfG9-odmU,19571
75
75
  sage/misc/viewer.py,sha256=Jm4pABqyMs1hvggLA0JZAiZ_26uaBtPpaRKQUTddVE4,11574
76
- passagemath_environment-10.5.20.dist-info/METADATA,sha256=mqz_qwhXMtJW_F3sMxXBErbwNM3MQoc7SgLhwIhFdPE,4126
77
- passagemath_environment-10.5.20.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
78
- passagemath_environment-10.5.20.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
79
- passagemath_environment-10.5.20.dist-info/RECORD,,
76
+ passagemath_environment-10.5.21.dist-info/METADATA,sha256=YzR2kxFhkSv3yxeQSJMIJIYZUE2p1Q3tCcy2sifg7Aw,4177
77
+ passagemath_environment-10.5.21.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
78
+ passagemath_environment-10.5.21.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
79
+ passagemath_environment-10.5.21.dist-info/RECORD,,
@@ -32,7 +32,9 @@ from typing import IO
32
32
  # as the parent for all temporary files & directories created by them.
33
33
  # This lets us clean up after those two functions when sage exits normally
34
34
  # using an atexit hook
35
- TMP_DIR_FILENAME_BASE = tempfile.TemporaryDirectory()
35
+ # Note that `TemporaryDirectory()` will cleanup on program exit;
36
+ # we keep the atexit hook to be redundant, in case that fails.
37
+ TMP_DIR_FILENAME_BASE = tempfile.TemporaryDirectory(prefix='sage_')
36
38
  atexit.register(lambda: TMP_DIR_FILENAME_BASE.cleanup())
37
39
 
38
40
 
@@ -533,14 +535,17 @@ def spyx_tmp() -> str:
533
535
  We cache the result of this function "by hand" so that the same
534
536
  temporary directory will always be returned. A function is used to
535
537
  delay creating a directory until (if) it is needed. The temporary
536
- directory is removed when sage terminates by way of an atexit
537
- hook.
538
+ directory is automatically removed when sage terminates.
538
539
  """
539
540
  global _spyx_tmp
540
541
  if _spyx_tmp:
541
542
  return _spyx_tmp
542
543
 
543
- d = tempfile.TemporaryDirectory()
544
- _spyx_tmp = os.path.join(d.name, 'spyx')
545
- atexit.register(lambda: d.cleanup())
544
+ # We don't use `tempfile.TemporaryDirectory()` here because it
545
+ # is not clear when it will or will not be cleaned. Sometimes it
546
+ # might not be cleaned up at all, and starting in python 3.13 it
547
+ # might be cleaned up on child exit, breaking parallel testing.
548
+ # For some reason this doesn't affect the `TemporaryDirectory`
549
+ # stored in the global `TMP_DIR_FILENAME_BASE`.
550
+ _spyx_tmp = tmp_dir(name='spyx_')
546
551
  return _spyx_tmp
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.5.20'
5
- date = '2025-01-12'
6
- banner = 'passagemath version 10.5.20, Release Date: 2025-01-12'
4
+ version = '10.5.21'
5
+ date = '2025-01-19'
6
+ banner = 'passagemath version 10.5.21, Release Date: 2025-01-19'