commit:     c9159d2016283af85e85fd783d25588d9a53595f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 29 04:09:27 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 29 04:38:50 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9159d20

dev-python/alembic: Bump to 1.18.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/alembic/Manifest              |  1 +
 dev-python/alembic/alembic-1.18.2.ebuild | 57 ++++++++++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-python/alembic/Manifest b/dev-python/alembic/Manifest
index 60a80ac68778..cda3dc1ad3dd 100644
--- a/dev-python/alembic/Manifest
+++ b/dev-python/alembic/Manifest
@@ -1,3 +1,4 @@
 DIST alembic-1.17.2.tar.gz 1988064 BLAKE2B 
7ad3212322d900b464de8fb7c2fd341dacbb73698fbc471d99f353ebca0da98035c7032a550b7c78dcbdfb85058d456791602a05ac1caa3f34b201e319b8d9a2
 SHA512 
39ac83508b505fb81c26afdbe28edc3b9aeffd536d63f0ba8e8015fde4a815b899d269417a18aa4325a08a97cb74b6c52057960ecec6839fe3dc070a6752b9c5
 DIST alembic-1.18.0.tar.gz 2043788 BLAKE2B 
1e32e82be3d148b437d2648368e1d4f918a50201516939f1c6d3a2d9f283b6df1e331c43661c4783ba15b9acd11684b075b869af138600a247e3ad49783a4f46
 SHA512 
77f9d9e3a1c7179e655176ffb630e8f6c90fc646e6d74172f52e41858ba7ca150eb088e54a57fbe08bcec9109ed61e3bfe10b017ecc42cde9a9adbd82c273d45
 DIST alembic-1.18.1.tar.gz 2044319 BLAKE2B 
cae1cfba98c726dbb62a0118f078775251e3cd36fcafb2a31915273d3ac80642975ba22ec26ec30603f17f29a428e9a8f9055cfdc83c01eb2cd3d3932ac44111
 SHA512 
61badced91f07e0179dd034792133557b6adcc406a478b78960cf59f0a34a409372b7f482de29b581fccc314a8cfd3e493755c716c593d40303d8099646699aa
+DIST alembic-1.18.2.tar.gz 2048272 BLAKE2B 
abbf8db02bf33954506c4abc2b12b8460bebd916413e6a5059893e8903128f2ae863150931e795b18e2a84d63019cfc22f9f48778a5490aab8ae93a521a109cc
 SHA512 
3e9e9a9ca03a3cb93ba127a9566892430eb5619270d6e40ec6a753a9ce77b505b8cc6020f6ea52288ed5347da1fe5c8603dc3b14d4acf23c9947735abcdb43a8

diff --git a/dev-python/alembic/alembic-1.18.2.ebuild 
b/dev-python/alembic/alembic-1.18.2.ebuild
new file mode 100644
index 000000000000..564476ad57c0
--- /dev/null
+++ b/dev-python/alembic/alembic-1.18.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Database migrations tool, written by the author of SQLAlchemy"
+HOMEPAGE="
+       https://github.com/sqlalchemy/alembic/
+       https://pypi.org/project/alembic/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc"
+
+RDEPEND="
+       >=dev-python/sqlalchemy-1.4.0[${PYTHON_USEDEP}]
+       dev-python/mako[${PYTHON_USEDEP}]
+       >=dev-python/typing-extensions-4.12[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               sys-libs/timezone-data
+       )
+"
+
+EPYTEST_PLUGINS=()
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=()
+
+       if ! has_version "dev-python/black[${PYTHON_USEDEP}]"; then
+               EPYTEST_DESELECT+=(
+                       tests/test_post_write.py::RunHookTest::test_module
+                       
tests/test_post_write.py::RunHookTest::test_module_black_with_cwd
+                       
tests/test_post_write.py::RunHookTest::test_module_filename_interpolation
+                       
tests/test_post_write.py::RunHookTest::test_module_path_in_config
+               )
+       fi
+
+       # setup.cfg contains -p no:warnings in addopts which triggers
+       # datetime.utcfromtimestamp() deprecation warning as an error in py3.12
+       epytest -o addopts=
+}
+
+python_install_all() {
+       use doc && local HTML_DOCS=( docs/. )
+       distutils-r1_python_install_all
+}

Reply via email to