forked from pool/python-alembic
Accepting request 1113553 from devel:languages:python
- Clean up the SPEC file - update to 1.12.0 * Added new feature to the "code formatter" function which allows standalone executable tools to be run against code, without going through the Python interpreter. Known as the `exec` runner, it complements the existing `console_scripts` runner by allowing non-Python tools such as `ruff` to be used. * Change the default value of `.EnvironmentContext.configure.compare_type` to `True`. As Alembic's autogenerate for types was dramatically improved in version 1.4 released in 2020, the type comparison feature is now much more reliable so is now enabled by default. * Fixed issue where the `ForeignKeyConstraint.match` parameter would not be rendered in autogenerated migrations. * Fixed issue where the `revision_environment` directive in `alembic.ini` was ignored by the `alembic merge` command, leading to issues when other configurational elements depend upon `env.py` being invoked within the command. * Added support for `op.drop_constraint()` to support PostgreSQL `ExcludeConstraint` objects, as well as other constraint-like objects that may be present in third party dialects, by resolving the `type_` parameter to be `None` for this case. Autogenerate has also been enhanced to exclude the `type_` parameter from rendering within this command when `type_` is `None`. OBS-URL: https://build.opensuse.org/request/show/1113553 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-alembic?expand=0&rev=75
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:678f662130dc540dac12de0ea73de9f89caea9dbea138f60ef6263149bf84657
|
||||
size 1192900
|
||||
3
alembic-1.12.0.tar.gz
Normal file
3
alembic-1.12.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8e7645c32e4f200675e69f0745415335eb59a3663f5feb487abfa0b30c45888b
|
||||
size 1196597
|
||||
@@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 22:38:26 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up the SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 14:53:14 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- update to 1.12.0
|
||||
* Added new feature to the "code formatter" function which allows standalone
|
||||
executable tools to be run against code, without going through the Python
|
||||
interpreter. Known as the `exec` runner, it complements the existing
|
||||
`console_scripts` runner by allowing non-Python tools such as `ruff` to
|
||||
be used.
|
||||
* Change the default value of `.EnvironmentContext.configure.compare_type` to `True`.
|
||||
As Alembic's autogenerate for types was dramatically improved in
|
||||
version 1.4 released in 2020, the type comparison feature is now much
|
||||
more reliable so is now enabled by default.
|
||||
* Fixed issue where the `ForeignKeyConstraint.match` parameter would not be
|
||||
rendered in autogenerated migrations.
|
||||
* Fixed issue where the `revision_environment` directive in `alembic.ini`
|
||||
was ignored by the `alembic merge` command, leading to issues when other
|
||||
configurational elements depend upon `env.py` being invoked within the
|
||||
command.
|
||||
* Added support for `op.drop_constraint()` to support PostgreSQL
|
||||
`ExcludeConstraint` objects, as well as other constraint-like objects
|
||||
that may be present in third party dialects, by resolving the `type_`
|
||||
parameter to be `None` for this case. Autogenerate has also been
|
||||
enhanced to exclude the `type_` parameter from rendering within this
|
||||
command when `type_` is `None`.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 13 19:32:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-alembic
|
||||
Version: 1.11.2
|
||||
Version: 1.12.0
|
||||
Release: 0
|
||||
Summary: A database migration tool for SQLAlchemy
|
||||
License: MIT
|
||||
@@ -28,17 +28,17 @@ BuildRequires: %{python_module Mako}
|
||||
BuildRequires: %{python_module SQLAlchemy >= 2.0.0}
|
||||
BuildRequires: %{python_module importlib-metadata if %python-base < 3.9}
|
||||
BuildRequires: %{python_module importlib-resources if %python-base < 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module typing-extensions >= 4}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{pythons}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Mako
|
||||
Requires: python-SQLAlchemy >= 2.0.0
|
||||
Requires: python-python-dateutil
|
||||
Requires: python-typing-extensions >= 4
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
@@ -67,10 +67,10 @@ offers the following functionality:
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/alembic
|
||||
|
||||
|
||||
Reference in New Issue
Block a user