forked from pool/python-xdoctest
* 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=15
153 lines
6.1 KiB
Plaintext
153 lines
6.1 KiB
Plaintext
-------------------------------------------------------------------
|
|
Mon Sep 23 08:51:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Aug 19 07:09:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 1.1.6:
|
|
* Fixed passing of `flags` as keyword argument to `re.sub` for
|
|
python 3.13 compliance.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 13 15:32:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 1 02:40:03 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
|
|
- 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 6 15:34:57 UTC 2023 - pgajdos@suse.com
|
|
|
|
- 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).
|
|
* Xdoctest will no longer try to pre-import the module if none of its doctests
|
|
have any enabled lines. This also means global-exec statements will NOT run
|
|
for those tests, which means you can no longer use global-exec to
|
|
force enabling tests.
|
|
|
|
## Version 1.0.1 - Released 2022-07-10
|
|
### Added
|
|
* Add type stubs
|
|
* Basic support for pyproject.toml under `tool.xdoctest`. Currently only
|
|
supports options in the native runner.
|
|
### Fixed
|
|
* Corner case bug in error reporting
|
|
* Doctests that never run any code are now correctly marked as skipped
|
|
* Issue where the "dumps" command was undocumented and has an error.
|
|
### Changed
|
|
* Moved some globals into a new module called `global_state` and allowed
|
|
environs to enable debug print statements.
|
|
* Added `util_deprecation` module to robustly mark features as deprecated.
|
|
* Modified the google style return type parser to return a type if the
|
|
only content is some parsable python code.
|
|
* Modified docscrape google to allow for parsing of `*args` and `**kwargs` in
|
|
args blocks. This has also moved to the standalone package `googledoc`
|
|
* Overhaul of repo structure in an effort to modernize and to agree with
|
|
templates defined by xcookie
|
|
* Module code now lives in the "src" directory to remove install vs develop
|
|
ambiguity.
|
|
|
|
## Version 1.0.0 - Released 2022-03-25
|
|
### Added
|
|
* Support for Python 3.10
|
|
### Fixed
|
|
* Warning in pytest8
|
|
* Spelling errors in documentation
|
|
* added patches
|
|
https://github.com/Erotemic/xdoctest/pull/142
|
|
+ python-xdoctest-no-six.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Nov 8 10:44:05 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Feb 19 00:21:50 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 18 07:00:39 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Fix the download url
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Aug 16 15:42:14 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
- Update to v0.13.0
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 6 05:52:32 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
|
|
|
- Initial spec for v0.10.0
|