|
| 1 | +# Changelog |
| 2 | + |
| 3 | +## v1.7 (2025-04-04) |
| 4 | + |
| 5 | +- Support python 3.13. The patch by Ben Beasley. |
| 6 | + Starting from python 3.13, the standard library `doctest.DoctestRunner` tracks the |
| 7 | + number of skipped doctests, in addition to the counts of attempted and failed |
| 8 | + doctests. We track this change, thus both the return value of `DTRunner.run` and |
| 9 | + `DTRunner.get_history` contain this count on python 3.13+ and do not contain it on |
| 10 | + prior python versions. |
| 11 | + |
| 12 | + |
| 13 | +## v1.6 (2024-12-17) |
| 14 | + |
| 15 | +- Fix a collection issue, where the DocTestFinder was missing docstrings of data |
| 16 | + descriptors. This is a workaround for an upstream issue, |
| 17 | + https://github.com/python/cpython/issues/127962. The patch by Matti Picus. |
| 18 | +- Fix a collection issue, where the DocTestFinder was missing docstrings of public |
| 19 | + methods inherited from a private superclass. This was causing issues with some |
| 20 | + SciPy docstrings not being checked. |
| 21 | + |
| 22 | + |
| 23 | +## v1.5.1 (2024-12-09) |
| 24 | + |
| 25 | +- Improve handling of NumPy's abbreviation of large arrays: starting from version 2.2, |
| 26 | + NumPy displays the size of an array via a `shape=` argument: |
| 27 | + |
| 28 | +``` |
| 29 | +>>> np.ones(10_000) |
| 30 | +>>> array([1., 1., 1., ..., 1., 1., 1.], shape=(10000,)) |
| 31 | +``` |
| 32 | + |
| 33 | + We now ignore the `shape=` part on NumPy < 2.2 and check the value on newer versions. |
| 34 | + |
| 35 | + |
| 36 | +# v1.4 (2024-09-23) |
| 37 | + |
| 38 | +- Add a `strict_check` configuration flag to decide whether to require matching dtypes |
| 39 | + or rely on NumPy's lax definition of equality: |
| 40 | + |
| 41 | +``` |
| 42 | +>>> np.float64(3) == 3 |
| 43 | +True |
| 44 | +``` |
| 45 | + |
| 46 | +- Allow placing the `# may vary` modifier at either the source or the output of the doctest. |
| 47 | +- Fix an issue with `local_resourses`, tests opening external files. The patch is from |
| 48 | + Sheila Kahwai. |
| 49 | + |
| 50 | + |
| 51 | +## v1.3 (2024-06-22) |
| 52 | + |
| 53 | +- Fix the interaction with pytest assertion rewriting. |
| 54 | + |
| 55 | +## v1.2 (2024-06-08) |
| 56 | + |
| 57 | +- More robust handling of printed numpy arrays in doctests. |
| 58 | +- More robust checking of docstrings of deprecated functions. |
| 59 | +- Fix an issue with handling lists/tuples: previously, the checker did not |
| 60 | + distinguish lists from tuples or other array-likes. The patch is from Luiz Eduardo Amaral. |
| 61 | +- Fix an issue with the checker missing items for lists/tuples of mismatched lengths |
| 62 | + The patch is from Luiz Eduardo Amaral. |
| 63 | + |
| 64 | + |
| 65 | +## v1.1 (2024-05-15) |
| 66 | + |
| 67 | +Implementation the pytest plugin layer. The bulk of work done by Sheila Kahwai. |
| 68 | +The preferred way to run the doctesting is now via pytest. |
| 69 | + |
| 70 | + |
| 71 | +## v1.0 (2023-07-13) |
| 72 | + |
| 73 | +This is the first release of a standalone package, following the extraction of the |
| 74 | +core functionality from SciPy's and NumPy's `refguide-check` utilities. |
0 commit comments