- 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 (forwarded request 1309266 from glaubitz)
OBS-URL: https://build.opensuse.org/request/show/1309271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=9
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=17
- 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.
OBS-URL: https://build.opensuse.org/request/show/1143162
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=5
* `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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=9
- version update to 1.1.1
## Version 1.1.1
### Changed
* Binary tests are now only run on "full" installs to reduce minimal dependencies.
* Support for Python 3.11
* Minor typing fixes
## Version 1.1.0 - Released 2022-09-05
### Fixed
* Can now handle basic versions of the new `__editable__` package finder mechanism.
* Parsing bug where directives were incorrectly flagged as inline if they were
directly followed by a function with a decorator.
### Removed
* Dropped 2.7 and 3.5 support. Now supporting 3.6+ Use xdoctest<=1.0.2 for 2.7
or 3.5 support.
### Changed
* Improved the "dump" functionality of converting doctests to unit tests.
## Version 1.0.2 - Released 2022-08-19
### Added
* Environs as options:
`XDOCTEST_VERBOSE`, `XDOCTEST_OPTIONS`, `XDOCTEST_GLOBAL_EXEC`, `XDOCTEST_REPORT`,
`XDOCTEST_STYLE`, and `XDOCTEST_ANALYSIS` environment variables can now be used
to specify configuration defaults.
### Changed
* Added experimental hidden feature `--insert-skip-directive-above-failures`
that can be used to modify your code such that failing doctests are marked as
skip.
* Disabled traceback suppression on module import errors (this is is
configurable via the `supress_import_errors` option).
OBS-URL: https://build.opensuse.org/request/show/1091118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=7
- 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
OBS-URL: https://build.opensuse.org/request/show/930144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=3
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=6
- 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
OBS-URL: https://build.opensuse.org/request/show/873584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=2
* 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=4