forked from pool/python-alembic
Compare commits
11 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b32ae3bf40 | |||
| b8ae99a05b | |||
| 178a1bb78f | |||
| e4fd8ef792 | |||
| 6020932414 | |||
| 6a1c2d7825 | |||
| c6c000eada | |||
| 070ff8df28 | |||
| 7d861e46ab | |||
| 1758204b1a | |||
| 5a2f0ae1c0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ff0ae32975f4fd96028c39ed9bb3c867fe3af956bd7bb37343b54c9fe7445ef
|
||||
size 1206463
|
||||
BIN
alembic-1.15.2.tar.gz
LFS
Normal file
BIN
alembic-1.15.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,7 +1,73 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 11 12:43:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Make the libalternatives transition conditional
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 16 12:19:22 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to libalternatives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 4 09:43:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.15.2
|
||||
* Fixed issue where the "modified_name" of :class:`.AlterColumnOp` would not
|
||||
be considered when rendering op directives for autogenerate. While
|
||||
autogenerate cannot detect changes in column name, this would nonetheless
|
||||
impact approaches that made use of this attribute in rewriter recipes. Pull
|
||||
request courtesy lenvk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 10:20:46 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.15.1
|
||||
* Fixed an issue in the new :pep:`621` ``pyproject.toml`` layout that
|
||||
prevented Alembic's template files from being included in the ``.whl``
|
||||
file in the distribution.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 12:29:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.14.1
|
||||
* Modified SQLite’s dialect to render “ALTER TABLE <t> RENAME COLUMN”
|
||||
when Operations.alter_column() is used with a straight rename,
|
||||
supporting SQLite’s recently added column rename feature.
|
||||
* Added tzdata to tz extras, which is required on some platforms
|
||||
such as Windows. Pull request courtesy Danipulok.
|
||||
* Fixed bug where autogen render of a “variant” type would fail to
|
||||
catch the variants if the leading type were a dialect-specific type,
|
||||
rather than a generic type.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 12:31:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to el_1_14_0:
|
||||
* **[usecase] [runtime]** Added a new hook to the
|
||||
`DefaultImpl` `DefaultImpl.version_table_impl()`. This allows
|
||||
third party dialects to define the exact structure of the
|
||||
alembic_version table, to include use cases where the table
|
||||
requires special directives and/or additional columns so that
|
||||
it may function correctly on a particular backend.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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.31.2:
|
||||
- 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
|
||||
@@ -16,7 +82,7 @@ Tue Aug 13 23:30:46 UTC 2024 - Guang Yee <gyee@suse.com>
|
||||
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>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-alembic
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-alembic
|
||||
Version: 1.13.2
|
||||
Version: 1.15.2
|
||||
Release: 0
|
||||
Summary: A database migration tool for SQLAlchemy
|
||||
License: MIT
|
||||
@@ -41,9 +46,14 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-Mako
|
||||
Requires: python-SQLAlchemy >= 2.0.0
|
||||
Requires: python-typing-extensions >= 4
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%if 0%{?python_version_nodots} < 39
|
||||
Requires: python-importlib-metadata
|
||||
Requires: python-importlib-resources
|
||||
@@ -77,6 +87,9 @@ offers the following functionality:
|
||||
%check
|
||||
%pytest -n auto
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative alembic
|
||||
|
||||
%post
|
||||
%python_install_alternative alembic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user