diff options
| author | zhengruoqin <zhengrq.fnst@fujitsu.com> | 2022-07-22 09:35:12 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-07-24 06:28:56 -0700 |
| commit | e145b72b42483056ad3e75cc0b954846bcfa8fbc (patch) | |
| tree | adfaaefa686ecb18014c4776db364c0e6b5954d2 /meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb | |
| parent | 0c4f3404ef367ff3aa2a28947fc717215c735aa1 (diff) | |
| download | meta-openembedded-e145b72b42483056ad3e75cc0b954846bcfa8fbc.tar.gz | |
python3-alembic: upgrade 1.8.0 -> 1.8.1
Changelog:
==========
[bug] [sqlite]
--------------
Fixed bug where the SQLite implementation of Operations.rename_table() would
render an explicit schema name for both the old and new table name, which while
is the standard ALTER syntax, is not accepted by SQLite’s syntax which doesn’t
support a rename across schemas. In particular, the syntax issue would prevent
batch mode from working for SQLite databases that made use of attached databases
(which are treated as “schemas” in SQLAlchemy).
[bug] [batch]
-------------
Added an error raise for the condition where Operations.batch_alter_table() is
used in --sql mode, where the operation requires table reflection, as is the
case when running against SQLite without giving it a fixed Table object.
Previously the operation would fail with an internal error. To get a
“move and copy” batch operation as a SQL script without connecting to a
database, a Table object should be passed to the
Operations.batch_alter_table.copy_from parameter so that reflection may be
skipped.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb b/meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb deleted file mode 100644 index 3b12439cbc..0000000000 --- a/meta-python/recipes-devtools/python/python3-alembic_1.8.0.bb +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | DESCRIPTION = "A database migration tool for SQLAlchemy" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f5a8522010db1a393833988dbe2c7f0b" | ||
| 4 | |||
| 5 | inherit pypi setuptools3 | ||
| 6 | |||
| 7 | SRC_URI[sha256sum] = "a2d4d90da70b30e70352cd9455e35873a255a31402a438fe24815758d7a0e5e1" | ||
| 8 | |||
| 9 | PYPI_PACKAGE = "alembic" | ||
| 10 | |||
| 11 | RDEPENDS:${PN} += "\ | ||
| 12 | ${PYTHON_PN}-dateutil \ | ||
| 13 | ${PYTHON_PN}-editor \ | ||
| 14 | ${PYTHON_PN}-mako \ | ||
| 15 | ${PYTHON_PN}-sqlalchemy \ | ||
| 16 | ${PYTHON_PN}-misc \ | ||
| 17 | " | ||
| 18 | |||
| 19 | BBCLASSEXTEND = "native nativesdk" | ||
