Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
2ab698b3bb |
BIN
alembic-1.12.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
alembic-1.12.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
alembic-1.13.3.tar.gz
(Stored with Git LFS)
BIN
alembic-1.13.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,100 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sat Sep 28 19:16:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 1.13.3:
|
|
||||||
* Render `if_exists` and `if_not_exists` parameters in
|
|
||||||
`CreateTableOp`, `CreateIndexOp`, `DropTableOp` and
|
|
||||||
`DropIndexOp` in an autogenerate context.
|
|
||||||
* Enhance `version_locations` parsing to handle paths containing
|
|
||||||
newlines.
|
|
||||||
* Added support for `Operations.create_table.if_not_exists` and
|
|
||||||
`Operations.drop_table.if_exists`, adding similar
|
|
||||||
functionality to render IF [NOT] EXISTS for table operations
|
|
||||||
in a similar way as with indexes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Aug 13 23:30:46 UTC 2024 - Guang Yee <gyee@suse.com>
|
|
||||||
|
|
||||||
- update to 1.13.2:
|
|
||||||
* Improve computed column compare function to support multi-line
|
|
||||||
expressions. Pull request courtesy of Georg Wicke-Arndt.
|
|
||||||
* Fixed bug in alembic command stdout where long messages were
|
|
||||||
not properly wrapping at the terminal width. Pull request
|
|
||||||
courtesy Saif Hakim.
|
|
||||||
* Fixed internal issue where Alembic would call
|
|
||||||
connection.execute() sending an empty tuple to indicate
|
|
||||||
“no params”. In SQLAlchemy 2.1 this case will be deprecated as
|
|
||||||
“empty sequence” is ambiguous as to its intent.
|
|
||||||
* Fixes to support pytest 8.1 for the test suite.
|
|
||||||
* Fixed the detection of serial column in autogenerate with
|
|
||||||
tables not under default schema on PostgreSQL.
|
|
||||||
- Drop pytest8.patch as it has merged upstream and included
|
|
||||||
in the 1.31.2 release.
|
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri May 17 13:09:48 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Add pytest8.patch to fix the tests with the new pytest
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Dec 27 09:35:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- 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 <pgajdos@suse.com>
|
|
||||||
|
|
||||||
- update to 1.13.0:
|
|
||||||
* Fixed issue where the ``alembic check`` command did not
|
|
||||||
function correctly with upgrade structures that have multiple,
|
|
||||||
top-level elements, as are generated from the "multi-env"
|
|
||||||
environment template.
|
|
||||||
* Updated logic introduced in :ticket:`151` to allow
|
|
||||||
``if_exists`` and ``if_not_exists`` on index operations also
|
|
||||||
on SQLAlchemy 1.4 series. Previously this feature was
|
|
||||||
mistakenly requiring the 2.0 series.
|
|
||||||
* Replaced ``python-dateutil`` with the standard library module
|
|
||||||
zoneinfo.
|
|
||||||
* Alembic 1.13 now supports Python 3.8 and above.
|
|
||||||
* Fixed autogenerate issue where ``create_table_comment()`` and
|
|
||||||
``drop_table_comment()`` rendering in a batch table modify
|
|
||||||
would include the "table" and "schema" arguments, which are
|
|
||||||
not accepted in batch as these are already part of the top
|
|
||||||
level block.
|
|
||||||
* Additional fixes to PostgreSQL expression index compare
|
|
||||||
feature. The compare now correctly accommodates casts and
|
|
||||||
differences in spacing.
|
|
||||||
* Added detection logic for operation clauses inside the
|
|
||||||
expression, skipping the compare of these expressions.
|
|
||||||
* To accommodate these changes the logic for the comparison of
|
|
||||||
the indexes and unique constraints was moved to the dialect
|
|
||||||
implementation, allowing greater flexibility.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 14 12:40:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Nov 14 12:40:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-alembic
|
# spec file for package python-alembic
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-alembic
|
Name: python-alembic
|
||||||
Version: 1.13.3
|
Version: 1.12.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A database migration tool for SQLAlchemy
|
Summary: A database migration tool for SQLAlchemy
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -26,13 +26,12 @@ URL: https://github.com/sqlalchemy/alembic
|
|||||||
Source0: https://files.pythonhosted.org/packages/source/a/alembic/alembic-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/a/alembic/alembic-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Mako}
|
BuildRequires: %{python_module Mako}
|
||||||
BuildRequires: %{python_module SQLAlchemy >= 2.0.0}
|
BuildRequires: %{python_module SQLAlchemy >= 2.0.0}
|
||||||
BuildRequires: %{python_module backports.zoneinfo if %python-base < 3.9}
|
|
||||||
BuildRequires: %{python_module importlib-metadata if %python-base < 3.9}
|
BuildRequires: %{python_module importlib-metadata if %python-base < 3.9}
|
||||||
BuildRequires: %{python_module importlib-resources if %python-base < 3.9}
|
BuildRequires: %{python_module importlib-resources if %python-base < 3.9}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-xdist}
|
BuildRequires: %{python_module pytest-xdist}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytzdata}
|
BuildRequires: %{python_module python-dateutil}
|
||||||
BuildRequires: %{python_module typing-extensions >= 4}
|
BuildRequires: %{python_module typing-extensions >= 4}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: %{pythons}
|
BuildRequires: %{pythons}
|
||||||
@@ -42,7 +41,7 @@ Requires: python-Mako
|
|||||||
Requires: python-SQLAlchemy >= 2.0.0
|
Requires: python-SQLAlchemy >= 2.0.0
|
||||||
Requires: python-typing-extensions >= 4
|
Requires: python-typing-extensions >= 4
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if 0%{?python_version_nodots} < 39
|
%if 0%{?python_version_nodots} < 39
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
@@ -65,6 +64,7 @@ offers the following functionality:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n alembic-%{version}
|
%setup -q -n alembic-%{version}
|
||||||
|
%autopatch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Reference in New Issue
Block a user