meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.3.bb
Leon Anavi c5f2c1c4a0 python3-sqlalchemy: Upgrade 1.4.2 -> 1.4.3
Upgrade to release 1.4.3:

orm:
- Fixed a bug where python 2.7.5 (default on CentOS 7) wasn't able
  to import sqlalchemy, because on this version of Python exec
  "statement" and exec("statement") do not behave the same way.
  The compatibility exec_() function was used instead.
- Fixed bug where ORM queries using a correlated subquery in
  conjunction with column_property() would fail to correlate
  correctly to an enclosing subquery or to a CTE when
  Select.correlate_except() were used in the property to control
  correlation, in cases where the subquery contained the same
  selectables as ones within the correlated subquery that were
  intended to not be correlated.
- Fixed bug where combinations of the new "relationship with
  criteria" feature could fail in conjunction with features that
  make use of the new “lambda SQL” feature, including loader
  strategies such as selectinload and lazyload, for more
  complicated scenarios such as polymorphic loading.
- Repaired support so that the ClauseElement.params() method can
  work correctly with a Select object that includes joins across
  ORM relationship structures, which is a new feature in 1.4.
- Fixed issue where a "removed in 2.0" warning were generated
  internally by the relationship loader mechanics.

orm declarative:
- Fixed regression where the .metadata attribute on a per class
  level would not be honored, breaking the use case of
  per-class-hierarchy MetaData for abstract declarative classes
  and mixins.

engine:
- Restored the ResultProxy name back to the sqlalchemy.engine
  namespace. This name refers to the LegacyCursorResult object.

mypy:
- Added support for the Mypy extension to correctly interpret a
  declarative base class that’s generated using the as_declarative()
  function as well as the registry.as_declarative_base() method.

postgresql:
- Fixed reflection of identity columns in tables with mixed case
  names in PostgreSQL.

sqlite:
- Added support for the aiosqlite database driver for use with the
  SQLAlchemy asyncio extension.
- Repaired the pysqlcipher dialect to connect correctly which had
  regressed in 1.4, and added test + CI support to maintain the
  driver in working condition. The dialect now imports the
  sqlcipher3 module for Python 3 by default before falling back to
  pysqlcipher3 which is documented as now being unmaintained.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-03-30 09:04:34 -07:00

20 lines
597 B
BlitzBasic

DESCRIPTION = "Python SQL toolkit and Object Relational Mapper that gives \
application developers the full power and flexibility of SQL"
HOMEPAGE = "http://www.sqlalchemy.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3359ed561ac16aaa25b6c6eff84df595"
SRC_URI[sha256sum] = "a719b80b41a900bbcec3cc248616394ebd134043ce5e62185270d785d8a184d3"
PYPI_PACKAGE = "SQLAlchemy"
inherit pypi setuptools3
RDEPENDS_${PN} += " \
${PYTHON_PN}-json \
${PYTHON_PN}-pickle \
${PYTHON_PN}-logging \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-threading \
"