17
0

19 Commits

Author SHA256 Message Date
5e161d91fe Accepting request 1309271 from devel:languages:python
- 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
2025-10-06 16:08:57 +00:00
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xdoctest?expand=0&rev=17
2025-10-06 12:42:49 +00:00
980c1e01b5 Accepting request 1202569 from devel:languages:python
- 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/request/show/1202569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=8
2024-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.

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
26768dce18 Accepting request 1194647 from devel:languages:python
- 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/request/show/1194647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=7
2024-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.

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
194f5cf4dc Accepting request 1180729 from devel:languages:python
- 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/request/show/1180729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=6
2024-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

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
4e04962ab4 Accepting request 1143162 from devel:languages:python
- 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
2024-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.

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
bc719393f5 Accepting request 1091245 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1091245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=4
2023-06-07 21:07:51 +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
55bb732cd7 Accepting request 930144 from devel:languages:python
- 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
2021-11-08 16:24:43 +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
267a9b805d Accepting request 873584 from devel:languages:python
- 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
2021-02-19 22:44:13 +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
ad07ee9ff0 Accepting request 827502 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/827502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xdoctest?expand=0&rev=1
2020-08-18 10:25:17 +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