commit:     7749d5163c830125978073d48fad0e400c2c5900
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sat Feb 28 14:55:08 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  3 21:54:54 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7749d516

dev-db/mycli: drop 1.55.0, 1.56.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/170
Merges: https://codeberg.org/gentoo/gentoo/pulls/170
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/mycli/Manifest            |   4 -
 dev-db/mycli/mycli-1.55.0.ebuild | 189 ---------------------------------------
 dev-db/mycli/mycli-1.56.0.ebuild | 189 ---------------------------------------
 3 files changed, 382 deletions(-)

diff --git a/dev-db/mycli/Manifest b/dev-db/mycli/Manifest
index 5be67c7adae7..9ecfc5217601 100644
--- a/dev-db/mycli/Manifest
+++ b/dev-db/mycli/Manifest
@@ -1,8 +1,4 @@
 DIST mycli-1.44.0.tar.gz 316458 BLAKE2B 
d2a2171b0494eb949f9e1ce7c3d7e50f4bc85786d16364f0e023d4d21aaec2e80cc175233e931baff21e6ebd63b7f79a2f0c9d89884ad79c5c1346728c8f14de
 SHA512 
5e2968cfbe8b177925bf57495c8e0416a31f32d2231180e16d06fe642cc7a18dea559f5487b9dfc4efe645a7138978455fcc6022a443371a4fbabd691a13c86b
-DIST mycli-1.55.0.tar.gz 342165 BLAKE2B 
e716a5d8018cfeef0be70c9e4ab7dcbc718fa13263e507d88e902bdeb7709d292acd94aeb55ac88dbfbce10ac7a830a9d7c64ef1722d7a0793856d5c236570dc
 SHA512 
b5d904dc419ccdfbfb534c7cce3d7206591fc1073e1ef51e017c59dd487fd20873988043caeae432ca2afb7a6739bfd758f3f9076496776380ebab414a6ad2b0
-DIST mycli-1.55.0.tar.gz.provenance 9322 BLAKE2B 
7da38b470def325203c8fab344320802591939478f4469d3b245500a70d363e992533be446dfb79bdc85c4ee176bfb5f1a064869ef63a01abf4357b8a37c71d7
 SHA512 
551315a7e4972739dc1039041d54d60aaaa2b8cb46d3a7345306387bd659001cafcab03efd4ec0939f3379e6cc5d4b097025294578f05f73532f461a4a47ff73
-DIST mycli-1.56.0.tar.gz 344635 BLAKE2B 
c066c7517699b70d614a817e361879b4941412756fa84bbd0c4165319c0e72f2cc7c850189482a0ec9f0ec4fff8a6f66be8a6ec04a742f4cd090403fb903e388
 SHA512 
1060cc59e77aee55ceefa53c43afe654689a0579cc932623c36b491a39ed127624df9327cc1a50df0d732917f7505cd1a0109d25f97d164e20903ace762d8d2c
-DIST mycli-1.56.0.tar.gz.provenance 9510 BLAKE2B 
a3c797cc7cdf26c5f4f175bd6da95149f06ec599931a9d8a30b7ff50a846715066596774f99356355a96bde57148fd1bb322dc7697e4ab2fd8873c6ef850b504
 SHA512 
008bb0e5c4e8f5a0bea416458fc6a77593e50a1d4a1faad42d77d0c3c38da8194193ec7bf862abe5e21d1672354f9d53e1be1adafb1f0dde23738e515d25bd18
 DIST mycli-1.57.0.tar.gz 345946 BLAKE2B 
9ffd360e55f68921d637cefb7a848b5e0f3585e0f1b006b1316773e8d5afe2005983ba0eca84c14d7e573c74baabea903e4afaed0a8a60616733082eeb0f790f
 SHA512 
06d23a5d8d3611ef0106a2e50d85254cf80afac2fcfbc6df216d31cfc57c28bfcd4bda7a3168339c971197006d1e6af89d25bf827d82f39bfd5ed73dd56b3693
 DIST mycli-1.57.0.tar.gz.provenance 9526 BLAKE2B 
808d8cee2159492d7db2bf0b9b0a4c34ab721860a7f44197f154fc931fb452d1f177f695368c798b02b26135fefbcce3e05246f60712dd41da6f5500128efdbe
 SHA512 
291832988799b8631c98a17d00ed32f3b00fa1673f56fb1e31c0ba209fa208d19b4856f102fff5b7c716bee455cbc25a99d91de4ed8b822f3b630d420394d0cf
 DIST mycli-1.59.0.tar.gz 350772 BLAKE2B 
ee639a836cee08c71db4da801b9376093422ea2a55074b0816d724157aa3a8ac5d1439d23bb1c4048d5bd90a4b0bf60d1ee66d5dbb1162ff922243a54cffff33
 SHA512 
e9078dfd93c5d9a4a75144013e7390aaf5c0461f129a7ca9cf82c9a67cc38b5f6cc0c1922d043decf6f571fcbca4552dd835a6d11da34fc472fa42debc7532e1

diff --git a/dev-db/mycli/mycli-1.55.0.ebuild b/dev-db/mycli/mycli-1.55.0.ebuild
deleted file mode 100644
index 3fbe29a1fc3e..000000000000
--- a/dev-db/mycli/mycli-1.55.0.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=yes
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{12..14} )
-PYPI_VERIFY_REPO=https://github.com/dbcli/mycli
-inherit distutils-r1 edo eapi9-ver multiprocessing pypi
-
-DESCRIPTION="CLI for MySQL Database with auto-completion and syntax 
highlighting"
-HOMEPAGE="
-       https://www.mycli.net/
-       https://github.com/dbcli/mycli/
-       https://pypi.org/project/mycli/
-"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-# optional llm unpackaged
-IUSE="ssh"
-
-# ~paramiko-3.5.1: Pinned due to breakage. Feature soft deprecated for future 
removal
-# 
https://github.com/dbcli/mycli/commit/82c7d92a16ad15906c46df14cc6e6ee0249609e6
-# https://github.com/dbcli/mycli/issues/1464
-RDEPEND="
-       $(python_gen_cond_dep '
-               >=dev-python/cli-helpers-2.10.1[${PYTHON_USEDEP}]
-               >=dev-python/click-8.3.1[${PYTHON_USEDEP}]
-               >=dev-python/configobj-5.0.9[${PYTHON_USEDEP}]
-               >=dev-python/cryptography-46.0.5[${PYTHON_USEDEP}]
-               >=dev-python/keyring-25.7.0[${PYTHON_USEDEP}]
-               >=dev-python/prompt-toolkit-3.0.6[${PYTHON_USEDEP}]
-               <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
-               >=dev-python/pycryptodome-3.23.0[${PYTHON_USEDEP}]
-               >=dev-python/pyfzf-0.3.1[${PYTHON_USEDEP}]
-               >=dev-python/pygments-2.19.2[${PYTHON_USEDEP}]
-               >=dev-python/pymysql-1.1.2[${PYTHON_USEDEP}]
-               >=dev-python/pyperclip-1.11.0[${PYTHON_USEDEP}]
-               >=dev-python/rapidfuzz-3.14.3[${PYTHON_USEDEP}]
-               =dev-python/sqlglot-27*[${PYTHON_USEDEP}]
-               <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}]
-               >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
-               ssh? (
-                       ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
-                       dev-python/sshtunnel[${PYTHON_USEDEP}]
-               )
-       ')
-"
-BDEPEND="
-       $(python_gen_cond_dep '
-               dev-python/setuptools-scm[${PYTHON_USEDEP}]
-               test? (
-                       dev-db/mysql[server]
-                       >=dev-python/behave-1.3.3[${PYTHON_USEDEP}]
-                       ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
-                       >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
-                       dev-python/sshtunnel[${PYTHON_USEDEP}]
-               )
-       ')
-"
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-
-python_prepare_all() {
-       # no coverage please
-       sed -e 's/import coverage ; coverage.process_startup(); //' \
-               -i test/features/environment.py test/features/steps/wrappers.py 
|| die
-
-       # dont pin dependencies
-       sed -e '/^dependencies = \[/,/^\]$/ s/"\(.*\) ~=/"\1 >=/' \
-               -i pyproject.toml || die
-
-       # convert from pycryptodomex to pycryptodome
-       sed -e 's/pycryptodomex/pycryptodome/' -i pyproject.toml || die
-       sed -e 's/from Cryptodome/from Crypto/' -i mycli/config.py || die
-
-       # network-sandbox messes with these
-       sed -e '/run mycli on localhost without port/i  @gentoo_skip' \
-               -e '/run mycli on TCP host without port/i  @gentoo_skip' \
-               -e '/run mycli without host and port/i  @gentoo_skip' \
-               -i test/features/connection.feature || die
-
-       # Requires an old school vi and the symlink for vi itself messes with 
this
-       sed -e '/edit sql in file with external editor/i  @gentoo_skip' \
-               -i test/features/iocommands.feature || die
-
-       distutils-r1_python_prepare_all
-}
-
-src_test() {
-       # test/utils.py
-       local -x PYTEST_PASSWORD="notsecure"
-       local -x PYTEST_HOST="127.0.0.1"
-       local -x PYTEST_PORT="43307"
-       local -x PYTEST_CHARSET="utf8"
-
-       einfo "Creating mysql test instance ..."
-       mysqld \
-               --no-defaults \
-               --initialize-insecure \
-               --basedir="${EPREFIX}/usr" \
-               --datadir="${T}/mysql" 1>"${T}"/mysql_install.log || die
-
-       einfo "Starting mysql test instance ..."
-       mysqld \
-               --no-defaults \
-               --character-set-server="${PYTEST_CHARSET}" \
-               --bind-address="${PYTEST_HOST}" \
-               --port="${PYTEST_PORT}" \
-               --pid-file="${T}/mysqld.pid" \
-               --socket="${T}/mysqld.sock" \
-               --datadir="${T}/mysql" 1>"${T}/mysqld.log" 2>&1 &
-
-       # wait for it to start
-       local i
-       for (( i = 0; i < 10; i++ )); do
-               [[ -S ${T}/mysqld.sock ]] && break
-               sleep 1
-       done
-       [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
-
-       einfo "Configuring test mysql instance ..."
-       mysql \
-               -u root \
-               --socket="${T}/mysqld.sock" \
-               -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 
'${PYTEST_PASSWORD}'" \
-               || die "Failed to change mysql user password"
-
-       EPYTEST_IGNORE=(
-               # Requires unpackaged llm
-               test/test_llm_special.py
-               # AssertionError: assert 8 in [4, 5, 6, 7]
-               # Per upstream: "...it is a flaky test at best."
-               # 
https://github.com/dbcli/mycli/commit/3d08910a366d4505a40e8a0fb36c210330723f18
-               test/test_special_iocommands.py::test_watch_query_full
-       )
-
-       local failures=()
-       if ! nonfatal distutils-r1_src_test ; then
-               failures+=( pytest )
-       fi
-
-       if ! nonfatal edo behave \
-               --jobs=$(get_makeopts_jobs)  \
-               --summary --verbose \
-               --tags="not @gentoo_skip" \
-               test/features ; then
-               failures+=( behave )
-       fi
-
-       einfo "Stopping mysql test instance ..."
-       pkill -F "${T}"/mysqld.pid || die
-       # wait for it to stop
-       local i
-       for (( i = 0; i < 10; i++ )); do
-               [[ -S ${T}/mysqld.sock ]] || break
-               sleep 1
-       done
-
-       rm -rf "${T}"/mysql || die
-
-       if [[ ${#failures[@]} -gt 0 ]]; then
-               die "Tests failed: ${failures}"
-       fi
-}
-
-pkg_postinst() {
-       if use ssh && ver_replacing -lt 1.49; then
-               elog "The built-in SSH functionality has been soft deprecated 
in mycli."
-               elog "It may be removed upstream in a future release and even 
sooner"
-               elog "downstream in the ebuild due to the pinned paramiko 
dependency."
-               elog "See also https://github.com/dbcli/mycli/issues/1464";
-               elog ""
-       fi
-       if ver_replacing -lt 1.50; then
-               elog "Reading configuration from '.my.cnf' has been deprecated."
-               elog "Configuration should be done in '.myclirc' from now on,"
-               elog "and in the future '.my.cnf' will be ignored."
-               elog "See also https://github.com/dbcli/mycli/issues/1490";
-               elog ""
-       fi
-}

diff --git a/dev-db/mycli/mycli-1.56.0.ebuild b/dev-db/mycli/mycli-1.56.0.ebuild
deleted file mode 100644
index 3fbe29a1fc3e..000000000000
--- a/dev-db/mycli/mycli-1.56.0.ebuild
+++ /dev/null
@@ -1,189 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_SINGLE_IMPL=yes
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{12..14} )
-PYPI_VERIFY_REPO=https://github.com/dbcli/mycli
-inherit distutils-r1 edo eapi9-ver multiprocessing pypi
-
-DESCRIPTION="CLI for MySQL Database with auto-completion and syntax 
highlighting"
-HOMEPAGE="
-       https://www.mycli.net/
-       https://github.com/dbcli/mycli/
-       https://pypi.org/project/mycli/
-"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-# optional llm unpackaged
-IUSE="ssh"
-
-# ~paramiko-3.5.1: Pinned due to breakage. Feature soft deprecated for future 
removal
-# 
https://github.com/dbcli/mycli/commit/82c7d92a16ad15906c46df14cc6e6ee0249609e6
-# https://github.com/dbcli/mycli/issues/1464
-RDEPEND="
-       $(python_gen_cond_dep '
-               >=dev-python/cli-helpers-2.10.1[${PYTHON_USEDEP}]
-               >=dev-python/click-8.3.1[${PYTHON_USEDEP}]
-               >=dev-python/configobj-5.0.9[${PYTHON_USEDEP}]
-               >=dev-python/cryptography-46.0.5[${PYTHON_USEDEP}]
-               >=dev-python/keyring-25.7.0[${PYTHON_USEDEP}]
-               >=dev-python/prompt-toolkit-3.0.6[${PYTHON_USEDEP}]
-               <dev-python/prompt-toolkit-4.0.0[${PYTHON_USEDEP}]
-               >=dev-python/pycryptodome-3.23.0[${PYTHON_USEDEP}]
-               >=dev-python/pyfzf-0.3.1[${PYTHON_USEDEP}]
-               >=dev-python/pygments-2.19.2[${PYTHON_USEDEP}]
-               >=dev-python/pymysql-1.1.2[${PYTHON_USEDEP}]
-               >=dev-python/pyperclip-1.11.0[${PYTHON_USEDEP}]
-               >=dev-python/rapidfuzz-3.14.3[${PYTHON_USEDEP}]
-               =dev-python/sqlglot-27*[${PYTHON_USEDEP}]
-               <dev-python/sqlparse-0.6.0[${PYTHON_USEDEP}]
-               >=dev-python/sqlparse-0.3.0[${PYTHON_USEDEP}]
-               ssh? (
-                       ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
-                       dev-python/sshtunnel[${PYTHON_USEDEP}]
-               )
-       ')
-"
-BDEPEND="
-       $(python_gen_cond_dep '
-               dev-python/setuptools-scm[${PYTHON_USEDEP}]
-               test? (
-                       dev-db/mysql[server]
-                       >=dev-python/behave-1.3.3[${PYTHON_USEDEP}]
-                       ~dev-python/paramiko-3.5.1[${PYTHON_USEDEP}]
-                       >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
-                       dev-python/sshtunnel[${PYTHON_USEDEP}]
-               )
-       ')
-"
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
-
-python_prepare_all() {
-       # no coverage please
-       sed -e 's/import coverage ; coverage.process_startup(); //' \
-               -i test/features/environment.py test/features/steps/wrappers.py 
|| die
-
-       # dont pin dependencies
-       sed -e '/^dependencies = \[/,/^\]$/ s/"\(.*\) ~=/"\1 >=/' \
-               -i pyproject.toml || die
-
-       # convert from pycryptodomex to pycryptodome
-       sed -e 's/pycryptodomex/pycryptodome/' -i pyproject.toml || die
-       sed -e 's/from Cryptodome/from Crypto/' -i mycli/config.py || die
-
-       # network-sandbox messes with these
-       sed -e '/run mycli on localhost without port/i  @gentoo_skip' \
-               -e '/run mycli on TCP host without port/i  @gentoo_skip' \
-               -e '/run mycli without host and port/i  @gentoo_skip' \
-               -i test/features/connection.feature || die
-
-       # Requires an old school vi and the symlink for vi itself messes with 
this
-       sed -e '/edit sql in file with external editor/i  @gentoo_skip' \
-               -i test/features/iocommands.feature || die
-
-       distutils-r1_python_prepare_all
-}
-
-src_test() {
-       # test/utils.py
-       local -x PYTEST_PASSWORD="notsecure"
-       local -x PYTEST_HOST="127.0.0.1"
-       local -x PYTEST_PORT="43307"
-       local -x PYTEST_CHARSET="utf8"
-
-       einfo "Creating mysql test instance ..."
-       mysqld \
-               --no-defaults \
-               --initialize-insecure \
-               --basedir="${EPREFIX}/usr" \
-               --datadir="${T}/mysql" 1>"${T}"/mysql_install.log || die
-
-       einfo "Starting mysql test instance ..."
-       mysqld \
-               --no-defaults \
-               --character-set-server="${PYTEST_CHARSET}" \
-               --bind-address="${PYTEST_HOST}" \
-               --port="${PYTEST_PORT}" \
-               --pid-file="${T}/mysqld.pid" \
-               --socket="${T}/mysqld.sock" \
-               --datadir="${T}/mysql" 1>"${T}/mysqld.log" 2>&1 &
-
-       # wait for it to start
-       local i
-       for (( i = 0; i < 10; i++ )); do
-               [[ -S ${T}/mysqld.sock ]] && break
-               sleep 1
-       done
-       [[ ! -S ${T}/mysqld.sock ]] && die "mysqld failed to start"
-
-       einfo "Configuring test mysql instance ..."
-       mysql \
-               -u root \
-               --socket="${T}/mysqld.sock" \
-               -e "ALTER USER 'root'@'localhost' IDENTIFIED BY 
'${PYTEST_PASSWORD}'" \
-               || die "Failed to change mysql user password"
-
-       EPYTEST_IGNORE=(
-               # Requires unpackaged llm
-               test/test_llm_special.py
-               # AssertionError: assert 8 in [4, 5, 6, 7]
-               # Per upstream: "...it is a flaky test at best."
-               # 
https://github.com/dbcli/mycli/commit/3d08910a366d4505a40e8a0fb36c210330723f18
-               test/test_special_iocommands.py::test_watch_query_full
-       )
-
-       local failures=()
-       if ! nonfatal distutils-r1_src_test ; then
-               failures+=( pytest )
-       fi
-
-       if ! nonfatal edo behave \
-               --jobs=$(get_makeopts_jobs)  \
-               --summary --verbose \
-               --tags="not @gentoo_skip" \
-               test/features ; then
-               failures+=( behave )
-       fi
-
-       einfo "Stopping mysql test instance ..."
-       pkill -F "${T}"/mysqld.pid || die
-       # wait for it to stop
-       local i
-       for (( i = 0; i < 10; i++ )); do
-               [[ -S ${T}/mysqld.sock ]] || break
-               sleep 1
-       done
-
-       rm -rf "${T}"/mysql || die
-
-       if [[ ${#failures[@]} -gt 0 ]]; then
-               die "Tests failed: ${failures}"
-       fi
-}
-
-pkg_postinst() {
-       if use ssh && ver_replacing -lt 1.49; then
-               elog "The built-in SSH functionality has been soft deprecated 
in mycli."
-               elog "It may be removed upstream in a future release and even 
sooner"
-               elog "downstream in the ebuild due to the pinned paramiko 
dependency."
-               elog "See also https://github.com/dbcli/mycli/issues/1464";
-               elog ""
-       fi
-       if ver_replacing -lt 1.50; then
-               elog "Reading configuration from '.my.cnf' has been deprecated."
-               elog "Configuration should be done in '.myclirc' from now on,"
-               elog "and in the future '.my.cnf' will be ignored."
-               elog "See also https://github.com/dbcli/mycli/issues/1490";
-               elog ""
-       fi
-}

Reply via email to