Your message dated Fri, 07 Aug 2020 19:34:07 +0000
with message-id <e1k487z-0004lv...@fasolo.debian.org>
and subject line Bug#966995: fixed in mplcursors 0.3-3
has caused the Debian Bug report #966995,
regarding mplcursors: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p 3.8 returned exit code 13
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.)


-- 
966995: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966995
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mplcursors
Version: 0.3-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
> 
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package mplcursors
> dpkg-buildpackage: info: source version 0.3-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Sudip Mukherjee 
> <sudipm.mukher...@gmail.com>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> dpkg-source: info: using options from mplcursors-0.3/debian/source/options: 
> --extend-diff-ignore=_version.py
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py clean 
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build' (and 
> everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.8' does not exist -- can't clean it
>    dh_autoreconf_clean -O--buildsystem=pybuild
>    dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using options from mplcursors-0.3/debian/source/options: 
> --extend-diff-ignore=_version.py
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building mplcursors using existing 
> ./mplcursors_0.3.orig.tar.gz
> dpkg-source: info: building mplcursors in mplcursors_0.3-2.debian.tar.xz
> dpkg-source: info: building mplcursors in mplcursors_0.3-2.dsc
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:217: python3.8 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build/mplcursors
> copying lib/mplcursors/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build/mplcursors
> copying lib/mplcursors/_mplcursors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build/mplcursors
> copying lib/mplcursors/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build/mplcursors
> copying lib/mplcursors/_pick_info.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build/mplcursors
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build; python3.8 -m pytest 
> tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.8.5, pytest-4.6.11, py-1.8.1, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
> collected 56 items
> 
> tests/test_mplcursors.py .......F..........FF....F...F.F................ [ 
> 83%]
> ........s                                                                
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ______________________________ test_scatter_text 
> _______________________________
> 
> ax = <AxesSubplot:>
> 
>     def test_scatter_text(ax):
>         ax.scatter([0, 1], [0, 1], c=[2, 3])
>         cursor = mplcursors.cursor()
>         _process_event("__mouse_click__", ax, (0, 0), 1)
> >       assert cursor.selections[0].annotation.get_text() == "x=0\ny=0\n[2]"
> E       AssertionError: assert 'x=0.000\ny=0.000\n[2.000]' == 'x=0\ny=0\n[2]'
> E         - x=0.000
> E         - y=0.000
> E         - [2.000]
> E         + x=0
> E         + y=0
> E         + [2]
> 
> tests/test_mplcursors.py:166: AssertionError
> ______________________________ test_image[lower] 
> _______________________________
> 
> ax = <AxesSubplot:>, origin = 'lower'
> 
>     @pytest.mark.parametrize("origin", ["lower", "upper"])
>     def test_image(ax, origin):
>         array = np.arange(6).reshape((3, 2))
>         ax.imshow(array, origin=origin)
>     
>         cursor = mplcursors.cursor()
>         # Annotation text includes image value.
>         _process_event("__mouse_click__", ax, (.25, .25), 1)
>         sel, = cursor.selections
>         assert (_parse_annotation(sel, r"x=(.*)\ny=(.*)\n\[0\]")
>                 == approx((.25, .25)))
>         # Moving around.
>         _process_event("key_press_event", ax, (.123, .456), "shift+right")
>         sel, = cursor.selections
> >       assert sel.annotation.get_text() == "x=1\ny=0\n[1]"
> E       AssertionError: assert 'x=1.000\ny=0.000\n[1]' == 'x=1\ny=0\n[1]'
> E         - x=1.000
> E         - y=0.000
> E         + x=1
> E         + y=0
> E           [1]
> 
> tests/test_mplcursors.py:268: AssertionError
> ______________________________ test_image[upper] 
> _______________________________
> 
> ax = <AxesSubplot:>, origin = 'upper'
> 
>     @pytest.mark.parametrize("origin", ["lower", "upper"])
>     def test_image(ax, origin):
>         array = np.arange(6).reshape((3, 2))
>         ax.imshow(array, origin=origin)
>     
>         cursor = mplcursors.cursor()
>         # Annotation text includes image value.
>         _process_event("__mouse_click__", ax, (.25, .25), 1)
>         sel, = cursor.selections
>         assert (_parse_annotation(sel, r"x=(.*)\ny=(.*)\n\[0\]")
>                 == approx((.25, .25)))
>         # Moving around.
>         _process_event("key_press_event", ax, (.123, .456), "shift+right")
>         sel, = cursor.selections
> >       assert sel.annotation.get_text() == "x=1\ny=0\n[1]"
> E       AssertionError: assert 'x=1.000\ny=0.000\n[1]' == 'x=1\ny=0\n[1]'
> E         - x=1.000
> E         - y=0.000
> E         + x=1
> E         + y=0
> E           [1]
> 
> tests/test_mplcursors.py:268: AssertionError
> ______________________ test_quiver_and_barbs[Axes.quiver] 
> ______________________
> 
> ax = <AxesSubplot:>, plotter = <function Axes.quiver at 0x7f3baefd1310>
> 
>     @pytest.mark.parametrize("plotter", [Axes.quiver, Axes.barbs])
>     def test_quiver_and_barbs(ax, plotter):
>         plotter(ax, range(3), range(3))
>         cursor = mplcursors.cursor()
>         _process_event("__mouse_click__", ax, (.5, 0), 1)
>         assert len(cursor.selections) == 0
>         _process_event("__mouse_click__", ax, (1, 0), 1)
> >       assert cursor.selections[0].annotation.get_text() == "x=1\ny=0\n(1, 
> > 1)"
> E       AssertionError: assert 'x=1.000\ny=0.0000\n(1, 1)' == 'x=1\ny=0\n(1, 
> 1)'
> E         - x=1.000
> E         - y=0.0000
> E         + x=1
> E         + y=0
> E           (1, 1)
> 
> tests/test_mplcursors.py:342: AssertionError
> ________________________________ test_errorbar 
> _________________________________
> 
> ax = <AxesSubplot:>
> 
>     def test_errorbar(ax):
>         ax.errorbar(range(2), range(2), [(1, 1), (1, 2)])
>         cursor = mplcursors.cursor()
>         assert len(cursor.artists) == 1
>         _process_event("__mouse_click__", ax, (0, 2), 1)
>         assert len(cursor.selections) == 0
>         _process_event("__mouse_click__", ax, (.5, .5), 1)
>         assert cursor.selections[0].target == approx((.5, .5))
>         assert (_parse_annotation(cursor.selections[0], "x=(.*)\ny=(.*)")
>                 == approx((.5, .5)))
>         _process_event("__mouse_click__", ax, (0, 1), 1)
>         assert cursor.selections[0].target == approx((0, 0))
> >       assert cursor.selections[0].annotation.get_text() == "x=0\ny=$0\\pm1$"
> E       AssertionError: assert 'x=0.000\ny=$....00}^{+1.00}$' == 
> 'x=0\ny=$0\\pm1$'
> E         - x=0.000
> E         - y=$0.00_{+−1.00}^{+1.00}$
> E         + x=0
> E         + y=$0\pm1$
> 
> tests/test_mplcursors.py:370: AssertionError
> __________________________________ test_stem 
> ___________________________________
> 
> ax = <AxesSubplot:>
> 
>     def test_stem(ax):
>         with pytest.warns(None):  # stem use_line_collection API change.
>             ax.stem([1, 2, 3])
>         cursor = mplcursors.cursor()
>         assert len(cursor.artists) == 1
> >       _process_event("__mouse_click__", ax, (.5, .5), 1)
> 
> tests/test_mplcursors.py:390: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> tests/test_mplcursors.py:63: in _process_event
>     _process_event("button_press_event", ax, coords, *args)
> tests/test_mplcursors.py:74: in _process_event
>     ax.figure.canvas.callbacks.process(name, event)
> /usr/lib/python3/dist-packages/matplotlib/cbook/__init__.py:224: in process
>     func(*args, **kwargs)
> mplcursors/_mplcursors.py:485: in _nonhover_handler
>     self._on_select_button_press(event)
> mplcursors/_mplcursors.py:520: in _on_select_button_press
>     pi = _pick_info.compute_pick(artist, per_axes_event[artist.axes])
> /usr/lib/python3.8/functools.py:875: in wrapper
>     return dispatch(args[0].__class__)(*args, **kw)
> mplcursors/_pick_info.py:419: in _
>     return compute_pick(artist.container, event)
> /usr/lib/python3.8/functools.py:875: in wrapper
>     return dispatch(args[0].__class__)(*args, **kw)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> container = <StemContainer object of 3 artists>
> event = <matplotlib.backend_bases.MouseEvent object at 0x7f3bae3a9340>
> 
>     @compute_pick.register(StemContainer)
>     def _(container, event):
>         sel = compute_pick(container.markerline, event)
>         if sel:
>             return sel
>         idx_sel = min(filter(lambda idx_sel: idx_sel[1] is not None,
>                              ((idx, compute_pick(line, event))
> >                             for idx, line in 
> > enumerate(container.stemlines))),
>                       key=lambda idx_sel: idx_sel[1].dist, default=None)
> E       TypeError: 'LineCollection' object is not iterable
> 
> mplcursors/_pick_info.py:469: TypeError
> =============== 6 failed, 49 passed, 1 skipped in 27.28 seconds 
> ================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_mplcursors/build; python3.8 -m pytest 
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.8 
> returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/mplcursors_0.3-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

--- End Message ---
--- Begin Message ---
Source: mplcursors
Source-Version: 0.3-3
Done: Sudip Mukherjee <sudipm.mukher...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
mplcursors, 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 966...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukher...@gmail.com> (supplier of updated mplcursors 
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: Fri, 07 Aug 2020 20:04:29 +0100
Source: mplcursors
Architecture: source
Version: 0.3-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukher...@gmail.com>
Closes: 966995
Changes:
 mplcursors (0.3-3) unstable; urgency=medium
 .
   * Mark python team as maintainer
   * Move Vcs under python team in salsa.
   * Add salsa-ci.yml file to enable salsa pipelines.
   * Update from upstream master.
     - Updating fixes FTBFS. (Closes: #966995)
   * Use MPLCONFIGDIR to fix an autopkgtest.
Checksums-Sha1:
 86a1ba7ac34db71edd62b3f37787f8bdad18451c 2229 mplcursors_0.3-3.dsc
 0ab1c112c69967fc13818310175a1c3eb561977a 13396 mplcursors_0.3-3.debian.tar.xz
 323b32b4eff5c1edd6835b6318f1eb79ba2f8b8d 7409 mplcursors_0.3-3_amd64.buildinfo
Checksums-Sha256:
 7e8f2a85e13c0c45ba641cd534e8883e3fa9ed905c07ed0165d93a72ed25e620 2229 
mplcursors_0.3-3.dsc
 6716ea4d84534f9568cf4da809b69c0f2b916bf6e4224681dd4f27a45c0e9c33 13396 
mplcursors_0.3-3.debian.tar.xz
 2ecbd8b136fe8fee41b9b31cdeac56a0f7642841e41adac0d69ea0a29146dccb 7409 
mplcursors_0.3-3_amd64.buildinfo
Files:
 9b1070402df72ad7699ba4795f033bdf 2229 python optional mplcursors_0.3-3.dsc
 fab5d253417c57a7372e744d0c70b553 13396 python optional 
mplcursors_0.3-3.debian.tar.xz
 cf9870042521d1b81267235cd6b1407d 7409 python optional 
mplcursors_0.3-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAl8tpvIACgkQR5mjUUbR
KzXQGQ/9E89LGlhPaP5BoJ9rIkbHzQ0qWbugZ9UUYeZqyrsIk5Okj/V4nHmIazI5
hGlTMqWtzrZ1I6bB39qW2qb1vh7VqKOs2ydv9Yo/RS+/wpuPjDatrafY3NIi/vxJ
l4vhV+e+WcXlLQ4Tpa/u3CKbDOQ4OhKQ3dweF0kyfPZDLiJmfUbefHm/oK5+HFhm
wNW3QRbA4vfx6w2irFY7+Jk85VwOTdaIIYKtRdUPu16SJZ0CbV9E4ROFws4Wb3Nu
jHlDdl5L/UlxO29A2xylJYd+W+5crMLRyofPm3vULv7AZ5ECumgP8JbpGpVJPZTi
1Y9MTheyiUWDhEe2JMha1uc2+YwQ1VAMuRuH8pPbNjWcPm56qbRmELdHUM81osKC
o92S70WcdqLw+6lj9Gdf0QPZgGN9Prt8RfoUG8m8dDuBXOaHBZRe8AO5pB6w5irD
c900gIklOiG4uRv9wqbCTkfw63RgXo7dbyCTtOYnxvfJ48jZVWJHDw39olUHn4lz
T/PGeVam1W8v3jflVZvDUDwvcz60V9A7gHTE8PdKdErnzEe1+I4zJT+bVDRddQYJ
QGltZOWcBRJvauT8fEfAg6ncX6DWYQAVE+mHXG4udnx1bwOvjH+bGoHYVeKTkoYd
a8TyvPmgF1uNBqDQa3Tt0WNQlgAwndtXsRyoB5v0nURIoFUa6Ns=
=rcRt
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to