Skip to content

DepTime 0.1.5

Choose a tag to compare

@github-actions github-actions released this 05 Nov 18:32
· 42 commits to main since this release

What's changed in the client since 0.1.4

Improvements to the index itself (deprecations, replacement hints, curated migration hints) reach every installed version through the nightly index. The changes below are in the package and need 0.1.5.

Reading tracebacks

  • Chained exceptions (During handling of the above exception...), ExceptionGroup sub-exceptions and lazy-loader messages are read (DT-CORE-25). On a pre-registered holdout of 736 real tracebacks, the error's kind and package are right for 93.8%.
  • A removed submodule is reported as module_removed, and Python 3.9's __init__() got an unexpected keyword argument, which names no class, takes the class from the call (DT-CORE-26).
  • A pasted cannot import name 'X' that lost its module is read from the frame's import line.

Answers

  • A name added between two indexed releases says so, with the new last_version_without and first_version_with fields (DT-CORE-18).
  • When an error's owner is in another package, the packages the raising code requires are searched first, and lookups are faster: p95 from 25.5 ms to 3.5 ms (DT-CORE-16, DT-DATA-14).
  • A replacement named by the error message itself is looked up as the index's hints are: np./pd. expanded, .member read as a member of the same class (DT-CORE-12, DT-CORE-23).
  • Text taken from library source is cleaned before it reaches an answer (DT-CORE-08).

Index download

  • A failed first download is retried with backoff, and a query made without an index says why (DT-OSS-10).

Full Changelog: v0.1.4...v0.1.5