pysolr v3.3.2 Release Notes

Release Date: 2015-05-26 // almost 9 years ago
    • 🔖 Version 3.3.2. [Chris Adams]

    • Python 2.6 backwards compatibility. [Chris Adams]

    Python 2.6 shipped with ElementTree 1.2.x. Among other differences, it lacks support for the attribute selectors used to process valid XML error messages, which was added in ElementTree 1.3.

    • 🔀 Merge pull request #155 from domenkozar/solr4/exceptions. [Chris Adams]

    Support Solr 4 XML error format parsing

    Thanks @domenkozar for the patch

    • Overhaul Travis config. [Chris Adams]

      • Sidestep use of Tox in favor of Travis-managed Python versions
      • Enable container-based builds
      • Enable caching for Solr server downloads
    • ✅ Use builtin unittest2 runner on Python 2.7 as well. [Chris Adams]

    • Simple error extraction. [Chris Adams]

    Previously pysolr depended on lxml and cssselect to extract text from Tomcat’s error messages, which was unreliable.

    This change uses regular expressions to deal with invalid XML rather than lxml’s salvaging parser and avoids having to maintain the code which attempted to find the main error message in tag soup

    Closes #149

    • ⚡️ Update test Solr download script to work with default Python 3. [Chris Adams]