From 0602180fd7ec7062acfa79228ccffb316b4be9420e3b591012ad8dbb8490058d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 09:37:37 +0000 Subject: [PATCH] - update to 1.13.1: * Fixed :class:`.Rewriter` so that more than two instances could be chained together correctly, also allowing multiple ``process_revision_directives`` callables to be chained. * Fixed issue where the method :meth:`.EnvironmentContext.get_x_argument` using the :paramref:`.EnvironmentContext.get_x_argument.as_dictionary` parameter would fail if an argument key were passed on the command line as a name alone, that is, without an equal sign ``=`` or a value. Behavior is repaired where this condition is detected and will return a blank string for the given key, consistent with the behavior where the ``=`` sign is present and no value. * Fixed issue where the "unique" flag of an ``Index`` would not be maintained when generating downgrade migrations. * Fixed bug in versioning model where a downgrade across a revision with two down revisions with one down revision depending on the other, would produce an erroneous state in the alembic_version table, making upgrades impossible without manually repairing the table. * Updated pep-484 typing to pass mypy "strict" mode, however including per-module qualifications for specific typing elements not yet complete. * This allows us to catch specific typing issues that have been ongoing such as import symbols not properly exported. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alembic?expand=0&rev=158 --- alembic-1.13.0.tar.gz | 3 --- alembic-1.13.1.tar.gz | 3 +++ python-alembic.changes | 29 +++++++++++++++++++++++++++++ python-alembic.spec | 2 +- 4 files changed, 33 insertions(+), 4 deletions(-) delete mode 100644 alembic-1.13.0.tar.gz create mode 100644 alembic-1.13.1.tar.gz diff --git a/alembic-1.13.0.tar.gz b/alembic-1.13.0.tar.gz deleted file mode 100644 index 1d19226..0000000 --- a/alembic-1.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ab4b3b94d2e1e5f81e34be8a9b7b7575fc9dd5398fccb0bef351ec9b14872623 -size 1208438 diff --git a/alembic-1.13.1.tar.gz b/alembic-1.13.1.tar.gz new file mode 100644 index 0000000..697080e --- /dev/null +++ b/alembic-1.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4932c8558bf68f2ee92b9bbcb8218671c627064d5b08939437af6d77dc05e595 +size 1213288 diff --git a/python-alembic.changes b/python-alembic.changes index c3c535f..1fcd072 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Dec 27 09:35:46 UTC 2023 - Dirk Müller + +- update to 1.13.1: + * Fixed :class:`.Rewriter` so that more than two instances + could be chained together correctly, also allowing multiple + ``process_revision_directives`` callables to be chained. + * Fixed issue where the method + :meth:`.EnvironmentContext.get_x_argument` using the + :paramref:`.EnvironmentContext.get_x_argument.as_dictionary` + parameter would fail if an argument key were passed on the + command line as a name alone, that is, without an equal sign + ``=`` or a value. Behavior is repaired where this condition is + detected and will return a blank string for the given key, + consistent with the behavior where the ``=`` sign is + present and no value. + * Fixed issue where the "unique" flag of an ``Index`` would not + be maintained when generating downgrade migrations. + * Fixed bug in versioning model where a downgrade across a + revision with two down revisions with one down revision + depending on the other, would produce an erroneous state in + the alembic_version table, making upgrades impossible + without manually repairing the table. + * Updated pep-484 typing to pass mypy "strict" mode, however + including per-module qualifications for specific typing + elements not yet complete. + * This allows us to catch specific typing issues that have been + ongoing such as import symbols not properly exported. + ------------------------------------------------------------------- Thu Dec 14 09:13:53 UTC 2023 - Petr Gajdos diff --git a/python-alembic.spec b/python-alembic.spec index 99f7213..11ce266 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-alembic -Version: 1.13.0 +Version: 1.13.1 Release: 0 Summary: A database migration tool for SQLAlchemy License: MIT