passagemath-repl 10.5.33__py3-none-any.whl → 10.5.35__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 (26) hide show
  1. passagemath_repl-10.5.35.data/data/share/jupyter/kernels/sagemath/kernel.json +1 -0
  2. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-fixdoctests +14 -7
  3. {passagemath_repl-10.5.33.dist-info → passagemath_repl-10.5.35.dist-info}/METADATA +3 -3
  4. {passagemath_repl-10.5.33.dist-info → passagemath_repl-10.5.35.dist-info}/RECORD +25 -25
  5. passagemath_repl-10.5.33.data/data/share/jupyter/kernels/sagemath/kernel.json +0 -1
  6. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/data/share/jupyter/kernels/sagemath/logo-64x64.png +0 -0
  7. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/data/share/jupyter/kernels/sagemath/logo.svg +0 -0
  8. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-cachegrind +0 -0
  9. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-callgrind +0 -0
  10. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-cleaner +0 -0
  11. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-coverage +0 -0
  12. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-eval +0 -0
  13. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-inline-fortran +0 -0
  14. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-ipynb2rst +0 -0
  15. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-ipython +0 -0
  16. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-massif +0 -0
  17. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-notebook +0 -0
  18. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-omega +0 -0
  19. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-preparse +0 -0
  20. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-run +0 -0
  21. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-run-cython +0 -0
  22. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-runtests +0 -0
  23. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-startuptime.py +0 -0
  24. {passagemath_repl-10.5.33.data → passagemath_repl-10.5.35.data}/scripts/sage-valgrind +0 -0
  25. {passagemath_repl-10.5.33.dist-info → passagemath_repl-10.5.35.dist-info}/WHEEL +0 -0
  26. {passagemath_repl-10.5.33.dist-info → passagemath_repl-10.5.35.dist-info}/top_level.txt +0 -0
@@ -0,0 +1 @@
1
+ {"argv": ["python3", "-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"], "display_name": "passagemath 10.5.35", "language": "sage"}
@@ -87,6 +87,13 @@ parser.add_argument("filename", nargs='*', help="input filenames; or (deprecated
87
87
 
88
88
  runtest_default_environment = "sage.repl.ipython_kernel.all_jupyter"
89
89
 
90
+
91
+ if Path('pkgs').exists():
92
+ repo_root = str(Path('.').resolve())
93
+ else:
94
+ repo_root = SAGE_ROOT
95
+
96
+
90
97
  def plain_distribution_and_extras(distribution):
91
98
  # shortcuts / variants
92
99
  distribution = distribution.replace('_', '-')
@@ -103,7 +110,7 @@ def default_venv_environment_from_distribution(distribution, toxenv):
103
110
  tox_env_name = toxenv or 'sagepython-sagewheels-nopypi-norequirements'
104
111
  if extras:
105
112
  tox_env_name += '-' + extras.replace(',', '-')
106
- default_venv = os.path.join(SAGE_ROOT, 'pkgs', plain_distribution, '.tox', tox_env_name)
113
+ default_venv = os.path.join(repo_root, 'pkgs', plain_distribution, '.tox', tox_env_name)
107
114
  if plain_distribution == 'sagemath-standard-no-symbolics':
108
115
  default_environment = 'sage.all'
109
116
  else:
@@ -403,7 +410,7 @@ def doctest_blocks(args, input_filenames, distribution=None, venv=None, environm
403
410
  doc_file = tmp_filename()
404
411
  if venv or environment_args:
405
412
  # Test the doctester, putting the output of the test into sage's temporary directory
406
- input = os.path.join(os.path.relpath(SAGE_ROOT), 'src', 'sage', 'version.py')
413
+ input = os.path.join(os.path.relpath(repo_root), 'src', 'sage', 'version.py')
407
414
  cmdline = f'{shlex.quote(executable)} -t {environment_args}{long_args}{probe_args}'.rstrip()
408
415
  if cmdline not in tested_doctesters:
409
416
  if args.verbose:
@@ -529,10 +536,10 @@ def process_grouped_blocks(grouped_iterator, distribution=None, venv=None, envir
529
536
  if input != output:
530
537
  print("sage-fixdoctests: The fixed doctests have been saved as '{0}'.".format(output))
531
538
  else:
532
- relative = os.path.relpath(output, SAGE_ROOT)
539
+ relative = os.path.relpath(output, repo_root)
533
540
  print(f"sage-fixdoctests: The input file '{output}' has been overwritten.")
534
541
  if not args.no_diff and not relative.startswith('..'):
535
- subprocess.call(['git', '--no-pager', 'diff', relative], cwd=SAGE_ROOT)
542
+ subprocess.call(['git', '--no-pager', 'diff', relative], cwd=repo_root)
536
543
  for other_distribution, file_set in venv_files.items():
537
544
  if input not in venv_ignored_files[other_distribution]:
538
545
  file_set.add(input)
@@ -688,7 +695,7 @@ if __name__ == "__main__":
688
695
  with open(stats_filename, 'r') as stats_file:
689
696
  stats = json.load(stats_file)
690
697
  except FileNotFoundError:
691
- print(f"sage-fixdoctests: {os.path.relpath(stats_filename, SAGE_ROOT)} "
698
+ print(f"sage-fixdoctests: {os.path.relpath(stats_filename, repo_root)} "
692
699
  "does not exist (ignoring)")
693
700
  else:
694
701
  for d in stats.values():
@@ -699,11 +706,11 @@ if __name__ == "__main__":
699
706
  extras_suffix = '--' + '--'.join(extras.split(','))
700
707
  else:
701
708
  extras_suffix = ''
702
- failures_file = os.path.join(SAGE_ROOT, 'pkgs', plain_distribution,
709
+ failures_file = os.path.join(repo_root, 'pkgs', plain_distribution,
703
710
  f'known-test-failures{extras_suffix}.json')
704
711
  with open(failures_file, 'w') as f:
705
712
  json.dump(stats, f, sort_keys=True, indent=4)
706
- print(f"sage-fixdoctests: Updated {os.path.relpath(failures_file, SAGE_ROOT)}")
713
+ print(f"sage-fixdoctests: Updated {os.path.relpath(failures_file, repo_root)}")
707
714
 
708
715
  except Exception:
709
716
  print(f"sage-fixdoctests: Internal error")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: passagemath-repl
3
- Version: 10.5.33
3
+ Version: 10.5.35
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
@@ -29,8 +29,8 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
29
29
  Classifier: Topic :: Scientific/Engineering :: Mathematics
30
30
  Requires-Python: <3.14,>=3.9
31
31
  Description-Content-Type: text/x-rst
32
- Requires-Dist: passagemath-objects~=10.5.33.0
33
- Requires-Dist: passagemath-environment~=10.5.33.0
32
+ Requires-Dist: passagemath-objects~=10.5.35.0
33
+ Requires-Dist: passagemath-environment~=10.5.35.0
34
34
  Requires-Dist: ipykernel>=5.2.1
35
35
  Requires-Dist: ipython>=7.13.0
36
36
  Requires-Dist: ipywidgets>=7.5.1
@@ -1,24 +1,24 @@
1
- passagemath_repl-10.5.33.data/data/share/jupyter/kernels/sagemath/kernel.json,sha256=w24xQp6L9vjk32Z3kcLSaXTZJYmAdGZZZVpDlUYKtKk,141
2
- passagemath_repl-10.5.33.data/data/share/jupyter/kernels/sagemath/logo-64x64.png,sha256=pE3myKl2ywp6zDUD0JiMs-lvAk6T4O3z5PdEC_B0ZL4,3421
3
- passagemath_repl-10.5.33.data/data/share/jupyter/kernels/sagemath/logo.svg,sha256=C9lkyX-_DqtTKOlcLFRu36k7scdBufRnYdy4AMHa7GQ,19074
4
- passagemath_repl-10.5.33.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
5
- passagemath_repl-10.5.33.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
6
- passagemath_repl-10.5.33.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
7
- passagemath_repl-10.5.33.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
8
- passagemath_repl-10.5.33.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
9
- passagemath_repl-10.5.33.data/scripts/sage-fixdoctests,sha256=cTWoFr9rAdOF-xeW6ytNeX3EzhKcs1mTN4UilP4kiGg,36877
10
- passagemath_repl-10.5.33.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
11
- passagemath_repl-10.5.33.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
12
- passagemath_repl-10.5.33.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
13
- passagemath_repl-10.5.33.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
14
- passagemath_repl-10.5.33.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
15
- passagemath_repl-10.5.33.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
16
- passagemath_repl-10.5.33.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
17
- passagemath_repl-10.5.33.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
18
- passagemath_repl-10.5.33.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
19
- passagemath_repl-10.5.33.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
20
- passagemath_repl-10.5.33.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
21
- passagemath_repl-10.5.33.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
1
+ passagemath_repl-10.5.35.data/data/share/jupyter/kernels/sagemath/kernel.json,sha256=HBLC1zB2kRSZsPAD8kC3-ZrrgG0262t6Ax7hZp9iUbQ,141
2
+ passagemath_repl-10.5.35.data/data/share/jupyter/kernels/sagemath/logo-64x64.png,sha256=pE3myKl2ywp6zDUD0JiMs-lvAk6T4O3z5PdEC_B0ZL4,3421
3
+ passagemath_repl-10.5.35.data/data/share/jupyter/kernels/sagemath/logo.svg,sha256=C9lkyX-_DqtTKOlcLFRu36k7scdBufRnYdy4AMHa7GQ,19074
4
+ passagemath_repl-10.5.35.data/scripts/sage-cachegrind,sha256=FRrT4BoRsrATlQOrXALHAbDI_KLhz0XuDOD6xzECEl8,651
5
+ passagemath_repl-10.5.35.data/scripts/sage-callgrind,sha256=pWhrI8NsVa_XSuay052htjxcM3thrpX8rI6Uj_pK5Uo,442
6
+ passagemath_repl-10.5.35.data/scripts/sage-cleaner,sha256=vM0CkzbxiSCE0Z85AViQIvoxb5oUz5WOmVOvShbLDUY,7778
7
+ passagemath_repl-10.5.35.data/scripts/sage-coverage,sha256=IhvqnFvmvNJBMQtiSu5_Qy52a67hG-r3cAeyhYOOj7w,10199
8
+ passagemath_repl-10.5.35.data/scripts/sage-eval,sha256=4IHv01xH34wJPj61wzcL5ufhoO6Y3UTTGz7b-0YKJFw,266
9
+ passagemath_repl-10.5.35.data/scripts/sage-fixdoctests,sha256=YNS6-YtyFsdgcH4aiJ-9ftPJQBeF4HzGEzUYuOb9too,36977
10
+ passagemath_repl-10.5.35.data/scripts/sage-inline-fortran,sha256=T3U943WNPKrxQJuanBhTpXU3jJ5vjaXd56R8yWv_8PM,234
11
+ passagemath_repl-10.5.35.data/scripts/sage-ipynb2rst,sha256=PynBPdthnpwGbILDRA38IwpT319Ze-g8UMmWaaTnimQ,1345
12
+ passagemath_repl-10.5.35.data/scripts/sage-ipython,sha256=RYYd8-gmE5JE_-dCkOSDpC6rRsX6i6tma3pqgmXYJvM,342
13
+ passagemath_repl-10.5.35.data/scripts/sage-massif,sha256=Tfqb6ON9d0OZnt6VlGS21asbdMq8zWzx8ZnvV1n_buI,613
14
+ passagemath_repl-10.5.35.data/scripts/sage-notebook,sha256=QJ1Y4eTptc6TbNVXZswpcsn-NqaQNuSwjWE-lYmGpW8,8453
15
+ passagemath_repl-10.5.35.data/scripts/sage-omega,sha256=4ARnHyZyB69ltxHj9xYpzad_YCBT3Nk0Wq3Ke09gExM,595
16
+ passagemath_repl-10.5.35.data/scripts/sage-preparse,sha256=3L1KKgvSApvoK467Wza0S4WQLCXiYvivrhDKIvA1omc,10595
17
+ passagemath_repl-10.5.35.data/scripts/sage-run,sha256=F1oAgPN7Kh5dO1smCyfGVT0Dy46NQ_dQ3OQZ8Wa6foM,689
18
+ passagemath_repl-10.5.35.data/scripts/sage-run-cython,sha256=02mTGXokayRxISoCWWsDcKZwGrmh5B0mJJxTT87J01Q,235
19
+ passagemath_repl-10.5.35.data/scripts/sage-runtests,sha256=nUvI3fCrBjqPUict01wIxwYPjvaZf4ttLp85tavUEpY,111
20
+ passagemath_repl-10.5.35.data/scripts/sage-startuptime.py,sha256=RtIuC7jM3SOwROXTa6nnpJhzK0sQ24nDqyE6zXpCWEI,6209
21
+ passagemath_repl-10.5.35.data/scripts/sage-valgrind,sha256=fZxy00oXU4PpHf_wc2uYKb7lzqSBY4VkhUxiuvXHKhA,1201
22
22
  sage/all__sagemath_repl.py,sha256=z6lERTYuw3I4LQ7-hnEYbY1i-hMJj2uAm2ujOmWitSo,5713
23
23
  sage/doctest/__init__.py,sha256=JJMNkq7Rh3gCshtynqXDTLJgUKweNFlUhpnbvTLRMwg,166
24
24
  sage/doctest/__main__.py,sha256=wGVNiaPbhQwzoAs3Y1xhYBlB18pBieEDhi71ggF8NkQ,13647
@@ -227,7 +227,7 @@ sage/tests/memcheck/run_tests.py,sha256=waPUB_tHk1YvSCd45BOXHeWubtA2St4ZQR-O88R3
227
227
  sage/tests/memcheck/run_tests_in_valgrind.py,sha256=Ht4-bpgRl2sH4SICRKN5S5VyMhebmCvRRz4ktOmwKFo,933
228
228
  sage/tests/memcheck/symbolic_expression.py,sha256=oEFxHEpGZK8-sCr_vTiVu8bk-e5lTzp4GQSepnGN-OQ,272
229
229
  sage/tests/memcheck/verify_no_leak.py,sha256=6TiUam0TTe1D_Gbaftz5uGSb8QZygRGXQow-WpVH6kg,984
230
- passagemath_repl-10.5.33.dist-info/METADATA,sha256=enZlN6Emv7Sqz8vaiZ4sicj6v9yagNaZo96AJFqT6uM,4708
231
- passagemath_repl-10.5.33.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
232
- passagemath_repl-10.5.33.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
233
- passagemath_repl-10.5.33.dist-info/RECORD,,
230
+ passagemath_repl-10.5.35.dist-info/METADATA,sha256=9hdbIfjowslPwV4ccFxEt0pl3bK4N4RE_3R0Lg6DCsE,4708
231
+ passagemath_repl-10.5.35.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
232
+ passagemath_repl-10.5.35.dist-info/top_level.txt,sha256=Kmzulf9WsphADFQuqgvdy5mvTLDj_V2zkFHU2s3UXos,6
233
+ passagemath_repl-10.5.35.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- {"argv": ["python3", "-m", "sage.repl.ipython_kernel", "-f", "{connection_file}"], "display_name": "passagemath 10.5.33", "language": "sage"}