passagemath-repl 10.4.68__py3-none-any.whl → 10.5.2__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 (23) hide show
  1. {passagemath_repl-10.4.68.dist-info → passagemath_repl-10.5.2.dist-info}/METADATA +3 -3
  2. {passagemath_repl-10.4.68.dist-info → passagemath_repl-10.5.2.dist-info}/RECORD +23 -23
  3. sage/doctest/parsing.py +9 -9
  4. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-cachegrind +0 -0
  5. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-callgrind +0 -0
  6. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-cleaner +0 -0
  7. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-coverage +0 -0
  8. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-eval +0 -0
  9. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-fixdoctests +0 -0
  10. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-inline-fortran +0 -0
  11. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-ipynb2rst +0 -0
  12. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-ipython +0 -0
  13. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-massif +0 -0
  14. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-notebook +0 -0
  15. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-omega +0 -0
  16. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-preparse +0 -0
  17. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-run +0 -0
  18. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-run-cython +0 -0
  19. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-runtests +0 -0
  20. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-startuptime.py +0 -0
  21. {passagemath_repl-10.4.68.data → passagemath_repl-10.5.2.data}/scripts/sage-valgrind +0 -0
  22. {passagemath_repl-10.4.68.dist-info → passagemath_repl-10.5.2.dist-info}/WHEEL +0 -0
  23. {passagemath_repl-10.4.68.dist-info → passagemath_repl-10.5.2.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.4.68
3
+ Version: 10.5.2
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
@@ -28,8 +28,8 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
28
28
  Classifier: Topic :: Scientific/Engineering :: Mathematics
29
29
  Requires-Python: <3.13,>=3.9
30
30
  Description-Content-Type: text/x-rst
31
- Requires-Dist: passagemath-objects ~=10.4.68.0
32
- Requires-Dist: passagemath-environment ~=10.4.68.0
31
+ Requires-Dist: passagemath-objects ~=10.5.2.0
32
+ Requires-Dist: passagemath-environment ~=10.5.2.0
33
33
  Requires-Dist: ipykernel >=5.2.1
34
34
  Requires-Dist: ipython >=7.13.0
35
35
  Requires-Dist: ipywidgets >=7.5.1
@@ -1,21 +1,21 @@
1
- passagemath_repl-10.4.68.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
2
- passagemath_repl-10.4.68.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
3
- passagemath_repl-10.4.68.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
4
- passagemath_repl-10.4.68.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
5
- passagemath_repl-10.4.68.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
6
- passagemath_repl-10.4.68.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
7
- passagemath_repl-10.4.68.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
8
- passagemath_repl-10.4.68.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
9
- passagemath_repl-10.4.68.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
10
- passagemath_repl-10.4.68.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
11
- passagemath_repl-10.4.68.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
12
- passagemath_repl-10.4.68.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
13
- passagemath_repl-10.4.68.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
14
- passagemath_repl-10.4.68.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
15
- passagemath_repl-10.4.68.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
16
- passagemath_repl-10.4.68.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
17
- passagemath_repl-10.4.68.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
18
- passagemath_repl-10.4.68.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
1
+ passagemath_repl-10.5.2.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
2
+ passagemath_repl-10.5.2.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
3
+ passagemath_repl-10.5.2.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
4
+ passagemath_repl-10.5.2.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
5
+ passagemath_repl-10.5.2.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
6
+ passagemath_repl-10.5.2.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
7
+ passagemath_repl-10.5.2.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
8
+ passagemath_repl-10.5.2.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
9
+ passagemath_repl-10.5.2.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
10
+ passagemath_repl-10.5.2.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
11
+ passagemath_repl-10.5.2.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
12
+ passagemath_repl-10.5.2.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
13
+ passagemath_repl-10.5.2.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
14
+ passagemath_repl-10.5.2.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
15
+ passagemath_repl-10.5.2.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
16
+ passagemath_repl-10.5.2.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
17
+ passagemath_repl-10.5.2.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
18
+ passagemath_repl-10.5.2.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
@@ -26,7 +26,7 @@ sage/doctest/external.py,sha256=p1cmRXQdwLa4PZwn3VJzd6j-MpW_oJf4PDgVIuBgwBs,1557
26
26
  sage/doctest/fixtures.py,sha256=UDSykekKanmnD737VXFv7r5QzcZmqzfwn1Noc_fKcnE,12784
27
27
  sage/doctest/forker.py,sha256=QhRJE8zV_KV0o8-4SX0tAzP49uZkYtsLY1mAkRDopI0,110831
28
28
  sage/doctest/marked_output.py,sha256=EJThXbkhYvYR5r1uuZyfPjeYHiLpHUgqTm1QZ5JTDgw,3034
29
- sage/doctest/parsing.py,sha256=_k5dV4i2y_1fXGfuLaUDdxCgEHwF8JpJxJzx0I-qD6c,72051
29
+ sage/doctest/parsing.py,sha256=GJRQRKX1cwr8fM5Gu2WxbxU3q8avsIskbH-7I2okjss,72167
30
30
  sage/doctest/parsing_test.py,sha256=7v3Y6kgLr7x5UF3CkdyNbRyhH4VRX275QPdCqG-jMxg,2652
31
31
  sage/doctest/reporting.py,sha256=5a4NVhYXp3x4ykmYBwVVz07eLdkbCkZ8KOM3pEN2-Vw,33381
32
32
  sage/doctest/rif_tol.py,sha256=m8XljRCPyaj_Kpng-sNxsRSo0BJR3QY3CArhjEZ9c5s,4973
@@ -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.4.68.dist-info/METADATA,sha256=xWgnIpu7n5Q0sLS3Sfx5t1piF7PbjmRZHJx94x6Ifa8,3148
160
- passagemath_repl-10.4.68.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
161
- passagemath_repl-10.4.68.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
162
- passagemath_repl-10.4.68.dist-info/RECORD,,
159
+ passagemath_repl-10.5.2.dist-info/METADATA,sha256=kj5UMVDj2qlGmOmLt_mlEw9tqvfYTflykdHOtMBgr0w,3145
160
+ passagemath_repl-10.5.2.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
161
+ passagemath_repl-10.5.2.dist-info/top_level.txt,sha256=hibFyzQHiLOMK68qL1OWsNKaXOmSXqZjeLTBem6Yy7I,5
162
+ passagemath_repl-10.5.2.dist-info/RECORD,,
sage/doctest/parsing.py CHANGED
@@ -58,7 +58,7 @@ ansi_escape_sequence = re.compile(r"(\x1b[@-Z\\-~]|\x1b\[.*?[@-~]|\x9b.*?[@-~])"
58
58
  special_optional_regex = (
59
59
  "py2|long time|not implemented|not tested|optional|needs|known bug"
60
60
  )
61
- tag_with_explanation_regex = r"((?:\w|[.])*)\s*(?:\((?P<cmd_explanation>.*?)\))?"
61
+ tag_with_explanation_regex = r"((?:!?\w|[.])*)\s*(?:\((?P<cmd_explanation>.*?)\))?"
62
62
  optional_regex = re.compile(
63
63
  rf"[^ a-z]\s*(?P<cmd>{special_optional_regex})(?:\s|[:-])*(?P<tags>(?:(?:{tag_with_explanation_regex})\s*)*)",
64
64
  re.IGNORECASE,
@@ -1125,14 +1125,14 @@ class SageDocTestParser(doctest.DocTestParser):
1125
1125
  continue
1126
1126
 
1127
1127
  if self.optional_tags is not True:
1128
- extra = {
1129
- tag
1130
- for tag in optional_tags
1131
- if (
1132
- tag not in self.optional_tags
1133
- and tag not in available_software
1134
- )
1135
- }
1128
+ extra = set()
1129
+ for tag in optional_tags:
1130
+ if tag not in self.optional_tags:
1131
+ if tag.startswith('!'):
1132
+ if tag[1:] in available_software:
1133
+ extra.add(tag)
1134
+ elif tag not in available_software:
1135
+ extra.add(tag)
1136
1136
  if extra and any(tag in ["bug"] for tag in extra):
1137
1137
  # Bug only occurs on a specific platform?
1138
1138
  bug_platform = optional_tags_with_values.get("bug")