Hello everybody, it's been a while :) The Storm team is proud to announce Storm 0.21!
Tarballs can be found at Launchpad or PyPI: https://launchpad.net/storm/+milestone/0.21 https://pypi.org/project/storm >From the NEWS file: 0.21 (2019-09-20) ================= Improvements ------------ - A new storm.schema.sharding.Sharding class has been added to the schema package, which can apply patches "in parallel" against a set of stores. See the module docstring for more information. - Added tox testing support. - Re-raise DB-API exceptions wrapped in exception types that inherit from both StormError and the appropriate DB-API exception type, rather than injecting virtual base classes. This preserves existing exception handling in applications while also being a viable approach in Python 3. - Port to Python 3 (bug #1530734, based partly on contributions from Thiago Bellini). Existing Python 2 users should be unaffected. For people porting to Python 3, note the following API changes relative to Python 2: - On Python 3, raw=True and token=True in storm.expr.Compile.__call__ only treat str specially, not bytes and str, because ultimately the compiler is assembling a text string to send to the database. - On Python 3, storm.tracer.BaseStatementTracer.connection_raw_execute renders text parameters using ascii() rather than by encoding to bytes and then calling repr(). While this does result in slightly different output from Python 2, it's normally more useful since the encoding is in terms of Unicode codepoints rather than UTF-8. - storm.sqlobject.AutoUnicodeVariable (and hence StringCol) explicitly documents that it only accepts text on Python 3, since native strings are already Unicode there so there's much less need for the porting affordance. Bug fixes --------- - Fixed SQLObject tests to work with SQLObject 2.x by using Unicode strings for LIKE operations. - Cope with ThreadTransactionManager changes in transaction 2.4.0. - Move tests to a new storm.tests package to avoid package manager conflicts (bug #1199578). API changes ----------- - Removed Django support, storm.django is no more. - Removed MySQL support. - Removed support for Python < 2.6. Cheers! Free _______________________________________________ storm mailing list -- [email protected] To unsubscribe send an email to [email protected]
