Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sage --fixdoctests --update-known-test-failures; silence modularized distributions in CI #36264

Merged
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
fbf7cf3
src/sage/doctest/control.py: Show details when loading baseline-stats…
mkoeppe Feb 20, 2023
da4e1fa
src/sage/doctest/control.py: Pretty-print the timings file
mkoeppe Jun 11, 2023
5110adb
src/bin/sage-fixdoctests: Fix handling of --no-test
mkoeppe Aug 14, 2023
581b24a
src/bin/sage-fixdoctests: Refactor
mkoeppe Aug 14, 2023
8aca918
sage -fixdoctests: Add options --verbose, --no-diff
mkoeppe Aug 15, 2023
305e233
sage -fixdoctests: Hardcode '# needs sage.symbolic' for 'I', do not u…
mkoeppe Aug 15, 2023
018591a
sage -fixdoctests: Allow multiple uses of --distribution, add option …
mkoeppe Aug 15, 2023
3b76a81
src/sage/doctest/parsing.py: Do not probe special 'sage -fixdoctest' …
mkoeppe Aug 15, 2023
2d733cf
sage -fixdoctests: Activate more distributions
mkoeppe Aug 15, 2023
1682824
sage -fixdoctests: Never add '# needs sage.all'
mkoeppe Aug 16, 2023
2678e37
sage -fixdoctests: Fix unprocessed_files logic
mkoeppe Aug 16, 2023
fb30217
sage -fixdoctests: Refactor operation modes through function fix_with…
mkoeppe Aug 16, 2023
269cf5e
sage -fixdoctests: Move all args processing into __main__
mkoeppe Aug 16, 2023
fd7bda9
sage -fixdoctests: Simplify argument handling
mkoeppe Aug 16, 2023
f270529
sage -fixdoctests: Fix argparse use
mkoeppe Aug 16, 2023
e7dd456
src/sage/doctest/parsing.py (parse_optional_tags): Enforce two spaces…
mkoeppe Aug 17, 2023
69e2c15
sage -fixdoctests --distribution all: Add sagemath-groups
mkoeppe Aug 17, 2023
be5f59c
sage -fixdoctests: Handle "AttributeError: module 'sage.rings' has no…
mkoeppe Aug 17, 2023
439871e
sage -fixdoctests: Handle NameError: 'i' like NameError: 'I'
mkoeppe Aug 18, 2023
8163418
sage -fixdoctests --distribution all: Test with sagemath-schemes too
mkoeppe Aug 18, 2023
8dac305
sage -t --probe: Never probe 'webbrowser'
mkoeppe Aug 18, 2023
caa71e1
sage -fixdoctests: Do not use --if-installed when testing the doctester
mkoeppe Aug 19, 2023
8d4238d
src/bin/sage-fixdoctests: Add more distros
mkoeppe Aug 22, 2023
9fcf805
src/bin/sage-fixdoctests: Fix test for empty block tag
mkoeppe Aug 22, 2023
301378b
src/bin/sage-fixdoctests: Handle parse errors better
mkoeppe Sep 3, 2023
f4a372c
src/bin/sage-fixdoctests: Add sagemath-pari
mkoeppe Sep 4, 2023
c641c67
sage --fixdoctests: Add switch --update-known-test-failures
mkoeppe Sep 4, 2023
1926b6d
src/sage/doctest/control.py: Handle json files without walltime
mkoeppe Sep 4, 2023
e80cc09
sage -fixdoctests --update-known-test-failures: Add more distribution…
mkoeppe Sep 5, 2023
9aaa6fe
src/bin/sage-fixdoctests: Add more distros for --update...
mkoeppe Sep 6, 2023
9c7499b
sage --fixdoctests --update-known-test-failures: Do not record files …
mkoeppe Sep 12, 2023
abab827
pkgs/sagemath-{repl,categories}: Test with --baseline-stats-path=know…
mkoeppe Mar 9, 2023
0c4c84f
Use TOX_PARALLEL_NO_SPINNER=1
mkoeppe Jun 11, 2023
6472853
build/pkgs/sagemath_objects/spkg-install: Print locations of log file…
mkoeppe Jun 19, 2023
9eacf0c
pkgs/*/tox.ini: Set envlist to what should be tested by spkg-install;…
mkoeppe Jun 20, 2023
5b820f2
build/pkgs/sagemath_objects/spkg-install: Always create the toxenv, b…
mkoeppe Jun 28, 2023
ec6b67f
pkgs/sagemath-categories/tox.ini: Add --probe all
mkoeppe Jul 3, 2023
d5dc4e9
build/pkgs/sagemath*/spkg-install: Redirect output from sdh_store_wheel
mkoeppe Aug 13, 2023
3a7b829
build/pkgs/sagemath_objects/spkg-install: Rephrase messages using 'ba…
mkoeppe Sep 12, 2023
4a81f74
pkgs/sagemath-{categories,repl}, src/bin/sage-fixdoctests: Update for…
mkoeppe Sep 13, 2023
adf00c0
./sage -fixdoctests --no-test --update-known-test-failures --distribu…
mkoeppe Sep 13, 2023
b0c8fbc
Remove file committed by accident
mkoeppe Sep 13, 2023
2080dac
src/doc/en/developer/doctesting.rst: Update
mkoeppe Sep 14, 2023
04a82b7
src/doc/en/developer/doctesting.rst: Document more sage --fixdoctest …
mkoeppe Sep 14, 2023
d0e48de
sage --fixdoctests: Exit after error message 'At least one filename i…
mkoeppe Sep 20, 2023
2a58ae9
sage --fixdoctests: Improve help string
mkoeppe Sep 20, 2023
0ff47b2
sage --fixdoctests: Exit with error on --update-known-test-failures w…
mkoeppe Sep 20, 2023
2f5dd2b
sage --fixdoctests: Better messages when testing the doctester
mkoeppe Sep 21, 2023
fbc5df0
src/doc/en/developer/doctesting.rst: Fix grammar
mkoeppe Sep 21, 2023
f495618
src/doc/en/developer/doctesting.rst: Expand on --update-known-test-fa…
mkoeppe Sep 21, 2023
23e9923
src/sage/doctest/reporting.py: Update doctest output
mkoeppe Sep 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
src/sage/doctest/control.py: Pretty-print the timings file
  • Loading branch information
Matthias Koeppe committed Sep 16, 2023
commit da4e1fac4601856ada4b25b419ba74491e7264f0
2 changes: 1 addition & 1 deletion src/sage/doctest/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ def save_stats(self, filename):
"""
from sage.misc.temporary_file import atomic_write
with atomic_write(filename) as stats_file:
json.dump(self.stats, stats_file)
json.dump(self.stats, stats_file, sort_keys=True, indent=4)

def log(self, s, end="\n"):
"""
Expand Down