Pony Object Relational Mapper
This is a bugfix-only release.
Hi all! We released Pony ORM 0.7.15. This release includes:
Previous versions of PonyORM use Python parser
module from Python 2.x to parse Python AST. The support of this module was dropped in Python 3.10. Because of this, Pony ORM switches to new ast
module.
With this change, the support of Python 2.7 and old versions of Python 3 was dropped, and the supported versions now are Python 3.6-Python 3.10
Previously in-memory SQLite databases are created in Pony ORM by specifying ":memory:"
string as a database filename. The database created this way cannot be used in multiple threads. Now it is possible to use ":sharedmemory:"
string to create a database that can be accessed from multiple threads.
assert t is translator.
sum(x.field for x in previous_query)
In this release, PonyORM got the support of Python 3.10. The code was rewritten significantly to use the standard Python ast
module which comes with Python 3. Now PonyORM works on Python versions 3.7-3.10, and support of Python 2 was ended.
assert t is translator.
sum(x.field for x in previous_query)
(x, y) in ((a, b), (c, d))
This release contains no new features or bugfixes. The only reason for this release is to test our CI/CD process.
sql_default
is specified: DEFAULT should be before NOT NULL