Your message dated Sat, 08 Aug 2020 18:03:42 +0000
with message-id <e1k4tc2-000hub...@fasolo.debian.org>
and subject line Bug#960463: fixed in mycli 1.22.2-0.1
has caused the Debian Bug report #960463,
regarding mycli doesn't work the prompt-toolkit >= 3.0.0
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
960463: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960463
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mycli
Version: 1.21.1-1
Severity: important
Tags: patch

Dear Maintainer,

mycli version 1.21.1-1 claims to fix incompatibility with
prompt-toolkit 3.0 but that does not seem to be the case with my
system.  Using prompt-toolkit 3.0.5-2, I get the following traceback.

Traceback (most recent call last):
  File "/usr/bin/mycli", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3259, 
in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3242, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3271, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 586, in 
_build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 599, in 
_build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in 
resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'prompt_toolkit<3.0.0,>=2.0.6' 
distribution was not found and is required by mycli

To get it to work, I had to apply the following patch.

--- setup.py~   2020-05-12 16:01:55.000000000 -0500
+++ setup.py    2020-05-12 16:10:54.314829760 -0500
@@ -19,7 +19,7 @@
 install_requirements = [
     'click >= 7.0',
     'Pygments >= 1.6',
-    'prompt_toolkit>=2.0.6,<3.0.0',
+    'prompt_toolkit>=2.0.6,<4.0.0',
     'PyMySQL >= 0.9.2',
     'sqlparse>=0.3.0,<0.4.0',
     'configobj >= 5.0.5',

This is an adaptation of upstream commit
08d56d8b479111641094f86d324f1ff232451b05.  This version preserves
compatibility with prompt-toolkit 2.x.

David Engel
<da...@istwok.net>

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mycli depends on:
ii  python3                 3.8.2-3
ii  python3-click           7.0-3
ii  python3-configobj       5.0.6-4
ii  python3-cryptography    2.8-4
ii  python3-pkg-resources   46.1.3-1
ii  python3-prompt-toolkit  3.0.5-2
ii  python3-pygments        2.3.1+dfsg-3
ii  python3-pymysql         0.9.3-2
ii  python3-sqlparse        0.3.1-1
ii  python3-tabulate        0.8.2-1.1
ii  python3-terminaltables  3.1.0-3

mycli recommends no packages.

mycli suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: mycli
Source-Version: 1.22.2-0.1
Done: Daniel Baumann <daniel.baum...@progress-linux.org>

We believe that the bug you reported is fixed in the latest version of
mycli, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 960...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel.baum...@progress-linux.org> (supplier of updated mycli 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 08 Aug 2020 17:41:43 +0200
Source: mycli
Architecture: source
Version: 1.22.2-0.1
Distribution: unstable
Urgency: medium
Maintainer: Lennart Weller <l...@ring0.de>
Changed-By: Daniel Baumann <daniel.baum...@progress-linux.org>
Closes: 960463 966385
Changes:
 mycli (1.22.2-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream release (Closes: #966385):
     - compatibility with prompt-toolkit 3 (Closes: #960463)
   * Refreshing 0001-rename-cli-so-it-can-be-moved-to-usr-share-mycli.patch.
Checksums-Sha1:
 0ade5487dbbc298e65b0b2af60e4213f841c6b10 1898 mycli_1.22.2-0.1.dsc
 338eca33898b7d5b6a665f59948e06906afc065e 251664 mycli_1.22.2.orig.tar.xz
 45fb61d305c343a3c8e9571790ff476b120af258 14072 mycli_1.22.2-0.1.debian.tar.xz
 1b35bdc16fa34ebdc406c27d91d6ebcb57e1dcee 6053 mycli_1.22.2-0.1_amd64.buildinfo
Checksums-Sha256:
 83f0c94512297583f2fb687fcef2bca48b04a9253dffd76aa900e9f2e11956ac 1898 
mycli_1.22.2-0.1.dsc
 56d949c1915778c5cb10f7a261a463610d6ed86a7bdcdb591932354cab058eb4 251664 
mycli_1.22.2.orig.tar.xz
 a1dc0aac745a3a41ccb7d7901581b8ddaa1431a2c137e975df82e117dcc01a3f 14072 
mycli_1.22.2-0.1.debian.tar.xz
 0a31690d23128cc7ab8ea27e526cd51632aa312abcb914f4e735923a4a75837e 6053 
mycli_1.22.2-0.1_amd64.buildinfo
Files:
 8c115d8680d3c488e2e4cabe173fc177 1898 database optional mycli_1.22.2-0.1.dsc
 d3fb2106f9b3667a8bb1b1b0390b3eae 251664 database optional 
mycli_1.22.2.orig.tar.xz
 d0b26765314f45e5e12bbe8ee92542fd 14072 database optional 
mycli_1.22.2-0.1.debian.tar.xz
 1df355d93abbd0e84a955491d5f884d5 6053 database optional 
mycli_1.22.2-0.1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgTbtJcfWfpLHSkKSVc8b+YaruccFAl8u5mkACgkQVc8b+Yar
ucc9aQ//UrTct6iNaLXeBxoBUyNRPdMg9KH8mXmk9xB5bbNWU8Vgdsyy/fQdapdv
73k02dB3HjDpBqjZ2fJG7sHjNXEe38qNzX5uz7GQuTio34QKFqItB3y5KyWJr26x
cZwa1Oactg3z9pTFslASl8bukNi25bKpkZZ3RMOS3Zz/uZLk2Tpxy7zotjGlZooH
0kYC7SyGDxlbF6XEp38THicYxtPfeVAWcb8Y6LmgmiUb5xGPEiDMW0lVk9lqFw9n
ZFYPyniXKgpo0zczUW2ZS6frH2vdixPHL/kQzDQv9p0maHDs0DlPYAenNr9rpPi2
krpW7oPpNfqgxCYtTUNQwyllfIwl7CIr+YXiPdN12TqbEOlQn72UZSaCC7NggrlG
59B9sy9d0T2DTOzCcYJjQRh8n8HqJ+Lb3tGkf9PNsG+cHYDv/5dQWprI0nkXe+UK
72yM7lYCrjTdi3C3kXruY14Y3bvYKhPHCxp0f4Tt9H4d4aBKP8pEAY1MTVnIKYUr
SSSXp+zHe8KyQrSLndR3V0SdV9kEh/6TVddjMYjaveCEZDaFJuVAxkQdmfZMQ+CM
nbvgATXUv2BIAiMdMjXn+WvodFFLPKI/7pkwy6AfkVMZMfYZjqKlStW5KU4ZEpVw
XQ3jH4kwiTxGRqZgpKR2G+YU5lSVnqRpkzU3HO0vU4hv2fq6x4k=
=Avb/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to