Bug#989660: spyder: When autoformat-on-save is on, the code is duplicated in the code editor

Amr Ibrahim amribrahim1987 at hotmail.com
Wed Jun 9 17:24:17 BST 2021


Package: spyder
Version: 4.2.1+dfsg1-3
Severity: important
X-Debbugs-Cc: amribrahim1987 at hotmail.com

Dear Maintainer,

When autoformat-on-save with black is turned on, the code is duplicated in the code editor by itself when saving.

Upstream issue:
https://github.com/spyder-ide/spyder/issues/14653

Fix:
https://github.com/spyder-ide/spyder/commit/9325d0d7be1a88602b8092d35be309edc876aa38

Please cherry-pick the fix for Debian Bullseye.


-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages spyder depends on:
ii  python3         3.9.2-3
ii  python3-spyder  4.2.1+dfsg1-3

spyder recommends no packages.

spyder suggests no packages.

Versions of packages python3-spyder depends on:
ii  ipython3                  7.20.0-1
ii  libjs-jquery              3.5.1+dfsg+~3.5.5-7
ii  libjs-mathjax             2.7.9+dfsg-1
ii  pylint                    2.7.2-1
ii  python3                   3.9.2-3
ii  python3-atomicwrites      1.4.0-2
ii  python3-chardet           4.0.0-1
ii  python3-cloudpickle       1.6.0-1
ii  python3-diff-match-patch  20200713-1
ii  python3-docutils          0.16+dfsg-4
ii  python3-intervaltree      3.0.2-1.1
ii  python3-ipython           7.20.0-1
ii  python3-jedi              0.18.0-1
ii  python3-jsonschema        3.2.0-3
ii  python3-keyring           22.0.1-1
ii  python3-nbconvert         5.6.1-3
ii  python3-numpydoc          1.1.0-3
ii  python3-parso             0.8.1-1
ii  python3-pexpect           4.8.0-2
ii  python3-pickleshare       0.7.5-3
ii  python3-pkg-resources     52.0.0-3
ii  python3-psutil            5.8.0-1
ii  python3-pygments          2.7.1+dfsg-2
ii  python3-pyls              0.36.2-3
ii  python3-pyls-black        0.4.6-3
ii  python3-pyls-spyder       0.3.0-3
ii  python3-qdarkstyle        2.8.1+ds1-3
ii  python3-qtawesome         1.0.2-1
ii  python3-qtconsole         5.0.2-2
ii  python3-qtpy              1.9.0-3
ii  python3-setuptools        52.0.0-3
ii  python3-sphinx            3.4.3-2
ii  python3-spyder-kernels    1.10.2-1
ii  python3-textdistance      4.2.0-2
ii  python3-three-merge       0.1.1-2
ii  python3-watchdog          1.0.2-2
ii  python3-xdg               0.27-2
ii  python3-zmq               20.0.0-1+b1
ii  spyder-common             4.2.1+dfsg1-3

Versions of packages python3-spyder recommends:
ii  python3-autopep8     1.5.5-1
ii  python3-mccabe       0.6.1-3
ii  python3-pycodestyle  2.6.0-1
pn  python3-pydocstyle   <none>
pn  python3-pyflakes     <none>
pn  python3-rope         <none>
ii  python3-yapf         0.30.0-1

Versions of packages python3-spyder suggests:
pn  cython3             <none>
ii  python3-matplotlib  3.3.4-1
ii  python3-numpy       1:1.19.5-1
ii  python3-pandas      1.1.5+dfsg-2
ii  python3-pil         8.1.2+dfsg-0.1
ii  python3-scipy       1.6.0-2
ii  python3-sympy       1.7.1-3

Versions of packages python3-pyqt5 depends on:
ii  libc6                             2.31-12
ii  libgcc-s1                         10.2.1-6
ii  libpython3.9                      3.9.2-1
ii  libqt5core5a [qtbase-abi-5-15-2]  5.15.2+dfsg-5
ii  libqt5dbus5                       5.15.2+dfsg-5
ii  libqt5designer5                   5.15.2-5
ii  libqt5gui5                        5.15.2+dfsg-5
ii  libqt5help5                       5.15.2-5
ii  libqt5network5                    5.15.2+dfsg-5
ii  libqt5printsupport5               5.15.2+dfsg-5
ii  libqt5test5                       5.15.2+dfsg-5
ii  libqt5widgets5                    5.15.2+dfsg-5
ii  libqt5xml5                        5.15.2+dfsg-5
ii  libstdc++6                        10.2.1-6
ii  python3                           3.9.2-3
ii  python3-pyqt5.sip                 12.8.1-1+b2

Versions of packages python3-pyqt5 suggests:
pn  python3-pyqt5-dbg  <none>

-- no debconf information



More information about the debian-science-maintainers mailing list