diff options
author | Leon Anavi <leon.anavi@konsulko.com> | 2021-03-23 18:33:17 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-24 08:50:45 -0700 |
commit | ba2576ed79a09879f714ccf7f4fa32259c18ab8c (patch) | |
tree | 6777b3db0dd9f7857674a6ebf973270f886a3133 | |
parent | f6f05d19fdab287af016c73c0746d98f56141522 (diff) | |
download | meta-openembedded-ba2576ed79a09879f714ccf7f4fa32259c18ab8c.tar.gz |
python3-sqlalchemy: Upgrade 1.3.23 -> 1.4.2
Upgrade to release 1.4.2:
orm:
- Added support for the declared_attr object to work in the
context of dataclass fields.
- Fixed issue in new ORM dataclasses functionality where
dataclass fields on an abstract base or mixin that contained
column or other mapping constructs would not be mapped if they
also included a “default” key within the dataclasses.field()
object.
- Fixed regression where the Query.selectable accessor, which
is a synonym for Query.__clause_element__(), got removed, it's
now restored.
- Fixed regression where use of an unnamed SQL expression
such as a SQL function would raise a column targeting error if
the query itself were using joinedload for an entity and was
also being wrapped in a subquery by the joinedload eager
loading process.
- Fixed regression where the Query.filter_by() method would
fail to locate the correct source entity if the Query.join()
method had been used targeting an entity without any kind of
ON clause.
- Fixed regression where the SQL compilation of a Function would
not work correctly if the object had been "annotated", which is
an internal memoization process used mostly by the ORM. In
particular it could affect ORM lazy loads which make greater use
of this feature in 1.4.
- Fixed regression where the ConcreteBase would fail to map at all
when a mapped column name overlapped with the discriminator
column name, producing an assertion error. The use case here did
not function correctly in 1.3 as the polymorphic union would
produce a query that ignored the discriminator column entirely,
while emitting duplicate column warnings. As 1.4's architecture
cannot easily reproduce this essentially broken behavior of 1.3
at the select() level right now, the use case now raises an
informative error message instructing the user to use the
.ConcreteBase._concrete_discriminator_name attribute to resolve
the conflict. To assist with this configuration,
.ConcreteBase._concrete_discriminator_name may be placed on the
base class only where it will be automatically used by
subclasses; previously this was not the case.
engine:
- Restored top level import for sqlalchemy.engine.reflection. This
ensures that the base Inspector class is properly registered so
that inspect() works for third party dialects that don't
otherwise import this package.
sql:
- Fixed issue where using a func that includes dotted packagenames
would fail to be cacheable by the SQL caching system due to a
Python list of names that needed to be a tuple.
- Fixed regression in the case() construct, where the "dictionary"
form of argument specification failed to work correctly if it
were passed positionally, rather than as a "whens" keyword
argument.
mypy:
- Fixed issue in MyPy extension which crashed on detecting the
type of a Column if the type were given with a module prefix
like sa.Integer().
postgresql:
- Rename the column name used by a reflection query that used a
reserved word in some postgresql compatible databases.
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>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.2.bb (renamed from meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.23.bb) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.23.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.2.bb index d962ea7d9..00ab6cc77 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.3.23.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.2.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3359ed561ac16aaa25b6c6eff84df595" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3359ed561ac16aaa25b6c6eff84df595" |
6 | 6 | ||
7 | SRC_URI[sha256sum] = "6fca33672578666f657c131552c4ef8979c1606e494f78cd5199742dfb26918b" | 7 | SRC_URI[sha256sum] = "6a8e4c2e65028933a6dc8643c8f5a4f295a367131195b3c708634925cb3e8ec1" |
8 | 8 | ||
9 | PYPI_PACKAGE = "SQLAlchemy" | 9 | PYPI_PACKAGE = "SQLAlchemy" |
10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools3 |