Skip to content

Releases: Erotemic/xdoctest

Version 1.1.5

08 Jun 20:32
607f57d
Compare
Choose a tag to compare

This patch release fixes the modname_to_modpath issue that 1.1.4 mitigated. It should be once again be possible to invoke xdoctest using module names of packages that installed in editable mode (a feature that was broken whenever type annotations were added into the editable finder files installed to site-packages).

Version 1.1.5 - Released 2024-06-07

Changed

  • Minor modification to xdoctest --version-info and exposed it in CLI help.

Fixed

  • modname_to_modpath fixed in cases where editable installs use type annotations in their MAPPING definition.

What's Changed

Full Changelog: v1.1.4...refs/heads/release

Version 1.1.4

31 May 17:06
6850e64
Compare
Choose a tag to compare

Fixed

  • Working around a modname_to_modpath issue.

What's Changed

Full Changelog: v1.1.3...refs/heads/release

Version 1.1.3

30 Jan 18:19
6b4abfb
Compare
Choose a tag to compare

Version 1.1.3 - Released 2024-01-30

Fixed

  • 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

What's Changed

Full Changelog: v1.1.2...v1.1.3

Version 1.1.2

26 Oct 00:22
cde9aab
Compare
Choose a tag to compare

Version 1.1.2 - Released 2023-010-25

Added

  • Partial support for 3.12. New f-string syntax is not supported yet.

Changed

  • Removed dependency on six and got rid of old Python 2 logic

Version 1.1.1

30 Jan 01:07
509a8c6
Compare
Choose a tag to compare

Version 1.1.1 - Released 2023-01-29

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

05 Sep 16:53
9a6f1e7
Compare
Choose a tag to compare

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

19 Aug 19:47
38a82eb
Compare
Choose a tag to compare

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

11 Jul 02:01
58e573d
Compare
Choose a tag to compare

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

25 Mar 19:20
9d18423
Compare
Choose a tag to compare

There is nothing too special functionality-wise about this 1.0 release, except that xdoctest has been in a 1.0 state for a long time. It is now widely used, and it deserves to be marked as the mature and stable library that it is.

Added

  • Support for Python 3.10

Fixed

  • Warning in pytest8 (thanks @amolenaar)
  • Spelling errors in documentation

Version 0.15.10

06 Oct 11:56
b959028
Compare
Choose a tag to compare

Version 0.15.10 - Released 2021-10-06

Changed

  • The xdoctest "analysis" option now defaults to "auto" everywhere.

Fixed

  • Fix issue #112 --analysis=dynamic argument is now respected