Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a826e4d248 | |||
| 700d90eb6f | |||
| 555277b1c7 | |||
| 45d5aa7024 | |||
| 62897139c0 | |||
| 9679e7c7b2 |
BIN
alembic-1.15.2.tar.gz
LFS
BIN
alembic-1.15.2.tar.gz
LFS
Binary file not shown.
3
alembic-1.17.2.tar.gz
Normal file
3
alembic-1.17.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bbe9751705c5e0f14877f02d46c53d10885e377e3d90eda810a016f9baa19e8e
|
||||||
|
size 1988064
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 3 22:05:51 UTC 2025 - Guang Yee <gyee@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.17.2
|
||||||
|
* [feature] [operations] Added Operations.implementation_for.replace parameter to
|
||||||
|
Operations.implementation_for(), allowing replacement of existing
|
||||||
|
operation implementations. This allows for existing operations such as
|
||||||
|
CreateTableOp to be extended directly.
|
||||||
|
* [bug] [mssql] Fixed issue in SQL Server dialect where the DROP that's automatically
|
||||||
|
emitted for existing default constraints during an ALTER COLUMN needs to
|
||||||
|
take place before not just the modification of the column's default, but
|
||||||
|
also before the column's type is changed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Fri Apr 4 09:43:05 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-alembic
|
# spec file for package python-alembic
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -16,9 +16,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-alembic
|
Name: python-alembic
|
||||||
Version: 1.15.2
|
Version: 1.17.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A database migration tool for SQLAlchemy
|
Summary: A database migration tool for SQLAlchemy
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -27,6 +32,7 @@ Source0: https://files.pythonhosted.org/packages/source/a/alembic/alembic
|
|||||||
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 backports.zoneinfo if %python-base < 3.9}
|
||||||
|
BuildRequires: %{python_module black}
|
||||||
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}
|
||||||
@@ -41,9 +47,14 @@ BuildRequires: python-rpm-macros
|
|||||||
Requires: python-Mako
|
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
|
||||||
|
BuildArch: noarch
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
%endif
|
||||||
%if 0%{?python_version_nodots} < 39
|
%if 0%{?python_version_nodots} < 39
|
||||||
Requires: python-importlib-metadata
|
Requires: python-importlib-metadata
|
||||||
Requires: python-importlib-resources
|
Requires: python-importlib-resources
|
||||||
@@ -77,6 +88,9 @@ offers the following functionality:
|
|||||||
%check
|
%check
|
||||||
%pytest -n auto
|
%pytest -n auto
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative alembic
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative alembic
|
%python_install_alternative alembic
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user