diff --git a/alembic-1.11.2.tar.gz b/alembic-1.11.2.tar.gz deleted file mode 100644 index f364043..0000000 --- a/alembic-1.11.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:678f662130dc540dac12de0ea73de9f89caea9dbea138f60ef6263149bf84657 -size 1192900 diff --git a/alembic-1.12.0.tar.gz b/alembic-1.12.0.tar.gz new file mode 100644 index 0000000..5225644 --- /dev/null +++ b/alembic-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8e7645c32e4f200675e69f0745415335eb59a3663f5feb487abfa0b30c45888b +size 1196597 diff --git a/python-alembic.changes b/python-alembic.changes index 11251f4..291c64f 100644 --- a/python-alembic.changes +++ b/python-alembic.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Sep 25 22:38:26 UTC 2023 - Matej Cepl + +- Clean up the SPEC file + +------------------------------------------------------------------- +Mon Sep 25 14:53:14 UTC 2023 - Ondřej Súkup + +- 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 diff --git a/python-alembic.spec b/python-alembic.spec index abdca22..f724b41 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -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