14
0

9 Commits

Author SHA256 Message Date
a205a10cb1 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=15
2024-09-23 08:54:02 +00:00
6a5eadb3e4 - update to 1.1.6:
* Fixed passing of `flags` as keyword argument to `re.sub` for
    python 3.13 compliance.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=13
2024-08-19 07:10:01 +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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=11
2024-06-13 15:32:52 +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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=9
2024-02-01 02:41:22 +00:00
c768efc2f1 Accepting request 1091118 from home:pgajdos:python
- 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
2023-06-07 10:09:13 +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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=6
2021-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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=4
2021-02-19 00:23:48 +00:00
Tomáš Chvátal
7652dab21a - Fix the download url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=2
2020-08-18 07:00:54 +00:00
Tomáš Chvátal
96bb6c0909 Accepting request 827437 from home:jayvdb:py-submit
Saner doctest runner

OBS-URL: https://build.opensuse.org/request/show/827437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=1
2020-08-18 06:49:56 +00:00