From 79c60bbf9ce1a07fb5ce2ef3223ff2e90e2995d811e2e70dcf73def3d4551b71 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 14 Feb 2022 21:38:59 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=201.7.6:=20=20=20*=20Add=20a=20?= =?UTF-8?q?new=20command=20alembic=20ensure=5Fversion,=20which=20will=20en?= =?UTF-8?q?sure=20that=20the=20Alembic=20=20=20=20=20version=20table=20is?= =?UTF-8?q?=20present=20in=20the=20target=20database,=20but=20does=20not?= =?UTF-8?q?=20alter=20its=20=20=20=20=20contents.=20=20=20*=20Fixed=20regr?= =?UTF-8?q?ession=20where=20usage=20of=20a=20with=5Fvariant()=20datatype?= =?UTF-8?q?=20in=20conjunction=20with=20=20=20=20=20the=20existing=5Ftype?= =?UTF-8?q?=20option=20of=20op.alter=5Fcolumn()=20under=20batch=20mode=20w?= =?UTF-8?q?ould=20lead=20to=20an=20=20=20=20=20internal=20exception.=20=20?= =?UTF-8?q?=20*=20Implemented=20support=20for=20recognizing=20and=20render?= =?UTF-8?q?ing=20SQLAlchemy=20=E2=80=9Cvariant=E2=80=9D=20types=20=20=20?= =?UTF-8?q?=20=20going=20forward=20into=20SQLAlchemy=202.0,=20where=20the?= =?UTF-8?q?=20architecture=20of=20=E2=80=9Cvariant=E2=80=9D=20=20=20=20=20?= =?UTF-8?q?datatypes=20will=20be=20changing.=20=20=20*=20Added=20a=20rule?= =?UTF-8?q?=20to=20the=20MySQL=20impl=20so=20that=20the=20translation=20be?= =?UTF-8?q?tween=20JSON=20/=20LONGTEXT=20=20=20=20=20is=20accommodated=20b?= =?UTF-8?q?y=20autogenerate,=20treating=20LONGTEXT=20from=20the=20server?= =?UTF-8?q?=20as=20=20=20=20=20equivalent=20to=20an=20existing=20JSON=20in?= =?UTF-8?q?=20the=20model.=20=20=20*=20Removed=20a=20warning=20raised=20by?= =?UTF-8?q?=20SQLAlchemy=20when=20dropping=20constraints=20on=20MSSQL=20?= =?UTF-8?q?=20=20=20=20regarding=20statement=20caching.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=127 --- alembic-1.7.5.tar.gz | 3 --- alembic-1.7.6.tar.gz | 3 +++ python-alembic.changes | 19 +++++++++++++++++++ python-alembic.spec | 4 ++-- 4 files changed, 24 insertions(+), 5 deletions(-) delete mode 100644 alembic-1.7.5.tar.gz create mode 100644 alembic-1.7.6.tar.gz diff --git a/alembic-1.7.5.tar.gz b/alembic-1.7.5.tar.gz deleted file mode 100644 index c07f28b..0000000 --- a/alembic-1.7.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c328694a2e68f03ee971e63c3bd885846470373a5b532cf2c9f1601c413b153 -size 1229596 diff --git a/alembic-1.7.6.tar.gz b/alembic-1.7.6.tar.gz new file mode 100644 index 0000000..cb4daf4 --- /dev/null +++ b/alembic-1.7.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c0c05e9768a896d804387e20b299880fe01bc56484246b0dffe8075d6d3d847 +size 1235649 diff --git a/python-alembic.changes b/python-alembic.changes index 64a98e5..d3e05b5 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Feb 14 21:37:49 UTC 2022 - Dirk Müller + +- update to 1.7.6: + * Add a new command alembic ensure_version, which will ensure that the Alembic + version table is present in the target database, but does not alter its + contents. + * Fixed regression where usage of a with_variant() datatype in conjunction with + the existing_type option of op.alter_column() under batch mode would lead to an + internal exception. + * Implemented support for recognizing and rendering SQLAlchemy “variant” types + going forward into SQLAlchemy 2.0, where the architecture of “variant” + datatypes will be changing. + * Added a rule to the MySQL impl so that the translation between JSON / LONGTEXT + is accommodated by autogenerate, treating LONGTEXT from the server as + equivalent to an existing JSON in the model. + * Removed a warning raised by SQLAlchemy when dropping constraints on MSSQL + regarding statement caching. + ------------------------------------------------------------------- Mon Dec 6 17:51:23 UTC 2021 - Dirk Müller diff --git a/python-alembic.spec b/python-alembic.spec index 5c8df41..f31855c 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -1,7 +1,7 @@ # # spec file for package python-alembic # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-alembic -Version: 1.7.5 +Version: 1.7.6 Release: 0 Summary: A database migration tool for SQLAlchemy License: MIT