a07bc6e807
- Update to 1.3.0 * New ASYNC basic directive to hold the asyncio event loop in any section of code. Useful for multitasking tests. * Removed 16806_WORKAROUND as it is not longer needed for Python 3.8+ * Removed deprecated --xdoc-force-dynamic and --allow-xdoc-dynamic flags * Improved speed (~6x) of doctest collection when running in pytest * Uses pytest plugin system to disable stdlib doctest instead of monkey patching. * Fixed incorrect return type in docstrings * The doctest parser no longer expand tabs to spaces
Robert Schweikert2025-10-06 12:42:49 +00:00
980c1e01b5
Accepting request 1202569 from devel:languages:python
Ana Guerrero2024-09-23 13:23:48 +00:00
4bd145c5b9
- update to 1.2.0: * Support for top level awaits in async code examples. * Dropped 3.6 and 3.7 support. Now supporting 3.6+ Use xdoctest<=1.1.6 for 3.6 or 3.7 support.
Dirk Mueller2024-09-23 08:54:02 +00:00
26768dce18
Accepting request 1194647 from devel:languages:python
Ana Guerrero2024-08-19 21:45:15 +00:00
1090b19d50
- update to 1.1.6: * Fixed passing of flags as keyword argument to re.sub for python 3.13 compliance.
Dirk Mueller2024-08-19 07:10:01 +00:00
194f5cf4dc
Accepting request 1180729 from devel:languages:python
Ana Guerrero2024-06-14 17:01:50 +00:00
5dd3ddf01f
- update to 1.1.5: * Minor modification to xdoctest --version-info and exposed it in CLI help. * ub.modname_to_modpath fixed in cases where editable installs use type annotations in their MAPPING definition. * Working around a modname_to_modpath issue. - drop 97.patch, upstream
Dirk Mueller2024-06-13 15:32:52 +00:00
4e04962ab4
Accepting request 1143162 from devel:languages:python
Ana Guerrero2024-02-01 17:05:02 +00:00
8ee4e8b9c5
- Update to 1.1.3: * modname_to_modpath now handles cases where editable packages have modules where the name is different than the package. * Update xdoctest.plugin to support pytest 8.0 * Fixed deprecated usage of ast.Num * Partial support for 3.12. New f-string syntax is not supported yet. * Removed dependency on six and got rid of old Python 2 logic - Drop patch python-xdoctest-no-six.patch, included upstream. - No more globs in %files.
Steve Kowalik2024-02-01 02:41:22 +00:00
c4f7a2f495
- update to 0.15.10: * The xdoctest "analysis" option now defaults to "auto" everywhere. * Disabled workaround 16806 in Python 3.8+ * Removed the distracting and very long internal traceback * Pytest now defaults to --xdoctest-verbose=2 by default * Directive syntax errors are now handled as doctest runtime errors and return better debugging information - drop 97.patch, upstream
Dirk Mueller2021-11-08 10:46:40 +00:00
1e717d4627
- update to 0.15.4: * pip install xdoctest can now specify [colors] or [jupyter] * Enhanced REQUIRES directive behavior * Xdoctest can now be run inside of Jupyter notebooks / IPython sessions * Xdoctest can now be run on Jupyter notebooks * Renamed Config to DoctestConfig * Renamed static_analysis.parse_calldefs to static_analysis.parse_static_calldefs. * Changed argument name from modpath_or_name to module_identifier in several functions. * The REQUIRES directive can now inspect existence or values of environment variables. * Bugfixes * add 97.patch
Dirk Mueller2021-02-19 00:23:48 +00:00