passagemath-repl 10.5.19__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.
Files changed (24) hide show
  1. {passagemath_repl-10.5.19.dist-info → passagemath_repl-10.5.21.dist-info}/METADATA +5 -4
  2. {passagemath_repl-10.5.19.dist-info → passagemath_repl-10.5.21.dist-info}/RECORD +24 -24
  3. sage/doctest/forker.py +11 -6
  4. sage/repl/ipython_extension.py +2 -2
  5. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-cachegrind +0 -0
  6. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-callgrind +0 -0
  7. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-cleaner +0 -0
  8. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-coverage +0 -0
  9. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-eval +0 -0
  10. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-fixdoctests +0 -0
  11. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-inline-fortran +0 -0
  12. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-ipynb2rst +0 -0
  13. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-ipython +0 -0
  14. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-massif +0 -0
  15. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-notebook +0 -0
  16. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-omega +0 -0
  17. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-preparse +0 -0
  18. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-run +0 -0
  19. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-run-cython +0 -0
  20. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-runtests +0 -0
  21. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-startuptime.py +0 -0
  22. {passagemath_repl-10.5.19.data → passagemath_repl-10.5.21.data}/scripts/sage-valgrind +0 -0
  23. {passagemath_repl-10.5.19.dist-info → passagemath_repl-10.5.21.dist-info}/WHEEL +0 -0
  24. {passagemath_repl-10.5.19.dist-info → passagemath_repl-10.5.21.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-repl
3
- Version: 10.5.19
3
+ Version: 10.5.21
4
4
  Summary: passagemath: IPython kernel, Sage preparser, doctester
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  Maintainer: Matthias Köppe, passagemath contributors
@@ -24,12 +24,13 @@ 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
- Requires-Dist: passagemath-objects ~=10.5.19.0
32
- Requires-Dist: passagemath-environment ~=10.5.19.0
32
+ Requires-Dist: passagemath-objects ~=10.5.21.0
33
+ Requires-Dist: passagemath-environment ~=10.5.21.0
33
34
  Requires-Dist: ipykernel >=5.2.1
34
35
  Requires-Dist: ipython >=7.13.0
35
36
  Requires-Dist: ipywidgets >=7.5.1
@@ -1,21 +1,21 @@
1
- passagemath_repl-10.5.19.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
2
- passagemath_repl-10.5.19.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
3
- passagemath_repl-10.5.19.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
4
- passagemath_repl-10.5.19.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
5
- passagemath_repl-10.5.19.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
6
- passagemath_repl-10.5.19.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
7
- passagemath_repl-10.5.19.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
8
- passagemath_repl-10.5.19.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
9
- passagemath_repl-10.5.19.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
10
- passagemath_repl-10.5.19.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
11
- passagemath_repl-10.5.19.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
12
- passagemath_repl-10.5.19.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
13
- passagemath_repl-10.5.19.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
14
- passagemath_repl-10.5.19.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
15
- passagemath_repl-10.5.19.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
16
- passagemath_repl-10.5.19.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
17
- passagemath_repl-10.5.19.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
18
- passagemath_repl-10.5.19.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
1
+ passagemath_repl-10.5.21.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
2
+ passagemath_repl-10.5.21.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
3
+ passagemath_repl-10.5.21.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
4
+ passagemath_repl-10.5.21.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
5
+ passagemath_repl-10.5.21.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
6
+ passagemath_repl-10.5.21.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
7
+ passagemath_repl-10.5.21.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
8
+ passagemath_repl-10.5.21.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
9
+ passagemath_repl-10.5.21.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
10
+ passagemath_repl-10.5.21.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
11
+ passagemath_repl-10.5.21.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
12
+ passagemath_repl-10.5.21.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
13
+ passagemath_repl-10.5.21.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
14
+ passagemath_repl-10.5.21.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
15
+ passagemath_repl-10.5.21.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
16
+ passagemath_repl-10.5.21.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
17
+ passagemath_repl-10.5.21.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
18
+ passagemath_repl-10.5.21.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
19
19
  sage/all__sagemath_repl.py,sha256=z6lERTYuw3I4LQ7-hnEYbY1i-hMJj2uAm2ujOmWitSo,5713
20
20
  sage/doctest/__init__.py,sha256=JJMNkq7Rh3gCshtynqXDTLJgUKweNFlUhpnbvTLRMwg,166
21
21
  sage/doctest/__main__.py,sha256=wGVNiaPbhQwzoAs3Y1xhYBlB18pBieEDhi71ggF8NkQ,13647
@@ -24,7 +24,7 @@ sage/doctest/check_tolerance.py,sha256=YnYr981uSUZWfuv5OrXdytXsZx6PtJnQ7Mg8-Lj7p
24
24
  sage/doctest/control.py,sha256=4JBsC9GRFdAPPDTunknFx29Ea2KcFHVjJAceIHSGEyY,67877
25
25
  sage/doctest/external.py,sha256=ddr7S0bt1bqAHWyAQj0z4O1SrjwgpdY7ghDt4KZzDRo,15601
26
26
  sage/doctest/fixtures.py,sha256=UDSykekKanmnD737VXFv7r5QzcZmqzfwn1Noc_fKcnE,12784
27
- sage/doctest/forker.py,sha256=fSegaM91S6Seujl1v31_fwMQzITuzoByV81TYa_Solg,111015
27
+ sage/doctest/forker.py,sha256=ej8-5TwrZZhnlC6apJ7jaGx0-06FxUe083PrSESkxRU,111238
28
28
  sage/doctest/marked_output.py,sha256=EJThXbkhYvYR5r1uuZyfPjeYHiLpHUgqTm1QZ5JTDgw,3034
29
29
  sage/doctest/parsing.py,sha256=GJRQRKX1cwr8fM5Gu2WxbxU3q8avsIskbH-7I2okjss,72167
30
30
  sage/doctest/parsing_test.py,sha256=7v3Y6kgLr7x5UF3CkdyNbRyhH4VRX275QPdCqG-jMxg,2652
@@ -81,7 +81,7 @@ sage/repl/image.py,sha256=wS_m2idzx2PuKjh8yCj18RUi6MT1_C08oH3VaeUKieA,9337
81
81
  sage/repl/inputhook.py,sha256=o3Z6kWs_37yOBMZzoJNj48ajAc3KkMW3M8gydruEFrY,2506
82
82
  sage/repl/interface_magic.py,sha256=WFAC_HHNmenOfCF8IXq3FOnNGX799BiEJdkg7p346f4,9412
83
83
  sage/repl/interpreter.py,sha256=EL0grJK963zyiVg2Gki3XtGLCOG8pWdqvHVCBB8pLiI,30435
84
- sage/repl/ipython_extension.py,sha256=w9fLDxYKiZolJRTwpzjxFOoEhKpyuz2bQkyIbGFUS-k,26418
84
+ sage/repl/ipython_extension.py,sha256=0qfjn3z9s8WSf0GUJqiuaMQnY-KO13UnGZvhAp25Kko,26433
85
85
  sage/repl/ipython_tests.py,sha256=6sXyZJnKMcXeS7wvBZ8X6Lx6juBy27RDxLbmsrEVY20,4807
86
86
  sage/repl/load.py,sha256=njH3sRvMV56p0-Nbe2IpQqA6u2k0rxAPfCVWdCHvdzk,11824
87
87
  sage/repl/preparse.py,sha256=ktz7bWppMvtBTSpOs6EPC76nKuna9MFsX3txoZJt5WY,77117
@@ -156,7 +156,7 @@ sage/tests/startup.py,sha256=G8Co8afXEC1FO9pyFlryBzLXXwY40_BcWrimaPadw3w,1185
156
156
  sage/tests/symbolic-series.py,sha256=5WlGSwW4eq-Ydev0jYtLDtuk1KCIJ7QCNE0IhZpc37Q,2991
157
157
  sage/tests/sympy.py,sha256=SGzxN4faL0Y3lokTYV_n_IYjf65pc1foBfLbxDhPDgk,431
158
158
  sage/tests/test_deprecation.py,sha256=Y2uvLozCshTPhQgfAxT_pAkkgX5Q16yJwQ0CleKHDJw,917
159
- passagemath_repl-10.5.19.dist-info/METADATA,sha256=WrOnYR2sW8ZS3-uSHf8R52BjvinGPxid0S0KywfhFjU,3148
160
- passagemath_repl-10.5.19.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
161
- passagemath_repl-10.5.19.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
162
- passagemath_repl-10.5.19.dist-info/RECORD,,
159
+ passagemath_repl-10.5.21.dist-info/METADATA,sha256=OmVqQlIfga4N3EygEyBiKaovQRXCgabHQXVgOqR8uZg,3199
160
+ passagemath_repl-10.5.21.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
161
+ passagemath_repl-10.5.21.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
162
+ passagemath_repl-10.5.21.dist-info/RECORD,,
sage/doctest/forker.py CHANGED
@@ -565,6 +565,8 @@ class SageDocTestRunner(doctest.DocTestRunner):
565
565
  self.total_walltime_skips = 0
566
566
  self.total_performed_tests = 0
567
567
  self.total_walltime = 0
568
+ if sys.version_info < (3,13):
569
+ self._stats = self._name2ft
568
570
 
569
571
  def _run(self, test, compileflags, out):
570
572
  """
@@ -842,7 +844,10 @@ class SageDocTestRunner(doctest.DocTestRunner):
842
844
  self.optionflags = original_optionflags
843
845
 
844
846
  # Record and return the number of failures and tries.
845
- self._DocTestRunner__record_outcome(test, failures, tries)
847
+ if sys.version_info < (3,13):
848
+ self._DocTestRunner__record_outcome(test, failures, tries)
849
+ else:
850
+ self._DocTestRunner__record_outcome(test, failures, tries, walltime_skips)
846
851
  self.total_walltime_skips += walltime_skips
847
852
  self.total_performed_tests += tries
848
853
  return TestResults(failures, tries)
@@ -943,7 +948,7 @@ class SageDocTestRunner(doctest.DocTestRunner):
943
948
  sage: from sage.doctest.control import DocTestDefaults; DD = DocTestDefaults()
944
949
  sage: import doctest, sys, os
945
950
  sage: DTR = SageDocTestRunner(SageOutputChecker(), verbose=False, sage_options=DD, optionflags=doctest.NORMALIZE_WHITESPACE|doctest.ELLIPSIS)
946
- sage: DTR._name2ft['sage.doctest.forker'] = (1,120)
951
+ sage: DTR._stats['sage.doctest.forker'] = (1,120)
947
952
  sage: results = DTR.summarize()
948
953
  **********************************************************************
949
954
  1 item had failures:
@@ -958,8 +963,8 @@ class SageDocTestRunner(doctest.DocTestRunner):
958
963
  passed = []
959
964
  failed = []
960
965
  totalt = totalf = 0
961
- for x in self._name2ft.items():
962
- name, (f, t) = x
966
+ for x in self._stats.items():
967
+ name, (f, t, *_) = x
963
968
  assert f <= t
964
969
  totalt += t
965
970
  totalf += f
@@ -984,10 +989,10 @@ class SageDocTestRunner(doctest.DocTestRunner):
984
989
  print(self.DIVIDER, file=m)
985
990
  print(count_noun(len(failed), "item"), "had failures:", file=m)
986
991
  failed.sort()
987
- for thing, (f, t) in failed:
992
+ for thing, (f, t, *_) in failed:
988
993
  print(" %3d of %3d in %s" % (f, t, thing), file=m)
989
994
  if verbose:
990
- print(count_noun(totalt, "test") + " in " + count_noun(len(self._name2ft), "item") + ".", file=m)
995
+ print(count_noun(totalt, "test") + " in " + count_noun(len(self._stats), "item") + ".", file=m)
991
996
  print("%s passed and %s failed." % (totalt - totalf, totalf), file=m)
992
997
  if totalf:
993
998
  print("***Test Failed***", file=m)
@@ -433,8 +433,8 @@ class SageMagics(Magics):
433
433
  sage: shell.run_cell('''
434
434
  ....: %%cython --view-annotate=xx
435
435
  ....: print(1)
436
- ....: ''')
437
- UsageError: argument --view-annotate: invalid choice: 'xx' (choose from 'none', 'auto', 'webbrowser', 'displayhtml')
436
+ ....: ''') # exact error message differ between Python 3.11/3.13
437
+ UsageError: argument --view-annotate: invalid choice: 'xx' (choose from ...)
438
438
 
439
439
  Test ``--view-annotate=displayhtml`` (note that in a notebook environment
440
440
  an inline HTML frame will be displayed)::