Your message dated Thu, 18 Apr 2024 21:09:59 +0000
with message-id <[email protected]>
and subject line Bug#1067255: fixed in mplcursors 0.5.3-1
has caused the Debian Bug report #1067255,
regarding mplcursors: FTBFS: dh_auto_test: error: pybuild --test --test-pytest 
-i python{version} -p "3.12 3.11" 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 [email protected]
immediately.)


-- 
1067255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067255
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mplcursors
Version: 0.5.2-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  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:305: python3.12 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
> does not contain a tool.setuptools_scm section'
> running config
> I: pybuild base:305: python3.11 setup.py config 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
> does not contain a tool.setuptools_scm section'
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
> does not contain a tool.setuptools_scm section'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_pick_info.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> copying lib/mplcursors/_mplcursors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/mplcursors
> I: pybuild base:305: /usr/bin/python3 setup.py build 
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml 
> does not contain a tool.setuptools_scm section'
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_pick_info.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
> copying lib/mplcursors/_mplcursors.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/mplcursors
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:308: cp -rv /<<PKGBUILDDIR>>/examples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples
> '/<<PKGBUILDDIR>>/examples' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples'
> '/<<PKGBUILDDIR>>/examples/README.txt' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/README.txt'
> '/<<PKGBUILDDIR>>/examples/artist_labels.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/artist_labels.py'
> '/<<PKGBUILDDIR>>/examples/bar.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/bar.py'
> '/<<PKGBUILDDIR>>/examples/basic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/basic.py'
> '/<<PKGBUILDDIR>>/examples/change_popup_color.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/change_popup_color.py'
> '/<<PKGBUILDDIR>>/examples/contour.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/contour.py'
> '/<<PKGBUILDDIR>>/examples/dataframe.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/dataframe.py'
> '/<<PKGBUILDDIR>>/examples/date.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/date.py'
> '/<<PKGBUILDDIR>>/examples/highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/highlight.py'
> '/<<PKGBUILDDIR>>/examples/hover.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/hover.py'
> '/<<PKGBUILDDIR>>/examples/image.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/image.py'
> '/<<PKGBUILDDIR>>/examples/keyboard_shortcuts.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/keyboard_shortcuts.py'
> '/<<PKGBUILDDIR>>/examples/labeled_points.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/labeled_points.py'
> '/<<PKGBUILDDIR>>/examples/nondraggable.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/nondraggable.py'
> '/<<PKGBUILDDIR>>/examples/paired_highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/paired_highlight.py'
> '/<<PKGBUILDDIR>>/examples/scatter.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/scatter.py'
> '/<<PKGBUILDDIR>>/examples/step.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build/examples/step.py'
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build; python3.12 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 73 items
> 
> tests/test_mplcursors.py .................F............FFF.............. [ 
> 64%]
> ..........................                                               
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________________ test_repeated_point 
> ______________________________
> 
> ax = <AxesSubplot: >
> 
>     def test_repeated_point(ax):
>         ax.plot([0, 1, 1, 2], [0, 1, 1, 2])
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:247: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> __________________________________ test_stem 
> ___________________________________
> 
> ax = <AxesSubplot: >
> 
>     def test_stem(ax):
> >       with pytest.warns(None):  # stem use_line_collection API change.
> 
> tests/test_mplcursors.py:390: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> ______________________ test_misc_artists[<lambda>-False] 
> _______________________
> 
> ax = <AxesSubplot: >, plotter = <function <lambda> at 0x7f4f4542bf60>
> warns = False
> 
>     @pytest.mark.parametrize(
>         "plotter,warns",
>         [(lambda ax: ax.text(.5, .5, "foo"), False),
>          (lambda ax: ax.fill_between([0, 1], [0, 1]), True)])
>     def test_misc_artists(ax, plotter, warns):
>         plotter(ax)
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:409: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> _______________________ test_misc_artists[<lambda>-True] 
> _______________________
> 
> ax = <AxesSubplot: >, plotter = <function <lambda> at 0x7f4f4541c040>
> warns = True
> 
>     @pytest.mark.parametrize(
>         "plotter,warns",
>         [(lambda ax: ax.text(.5, .5, "foo"), False),
>          (lambda ax: ax.fill_between([0, 1], [0, 1]), True)])
>     def test_misc_artists(ax, plotter, warns):
>         plotter(ax)
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:409: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> =========================== short test summary info 
> ============================
> FAILED tests/test_mplcursors.py::test_repeated_point - TypeError: exceptions 
> ...
> FAILED tests/test_mplcursors.py::test_stem - TypeError: exceptions must be 
> de...
> FAILED tests/test_mplcursors.py::test_misc_artists[<lambda>-False] - 
> TypeErro...
> FAILED tests/test_mplcursors.py::test_misc_artists[<lambda>-True] - 
> TypeError...
> ======================== 4 failed, 69 passed in 21.87s 
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mplcursors/build; python3.12 -m 
> pytest tests
> I: pybuild pybuild:308: cp -rv /<<PKGBUILDDIR>>/examples 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples
> '/<<PKGBUILDDIR>>/examples' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples'
> '/<<PKGBUILDDIR>>/examples/README.txt' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/README.txt'
> '/<<PKGBUILDDIR>>/examples/artist_labels.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/artist_labels.py'
> '/<<PKGBUILDDIR>>/examples/bar.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/bar.py'
> '/<<PKGBUILDDIR>>/examples/basic.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/basic.py'
> '/<<PKGBUILDDIR>>/examples/change_popup_color.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/change_popup_color.py'
> '/<<PKGBUILDDIR>>/examples/contour.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/contour.py'
> '/<<PKGBUILDDIR>>/examples/dataframe.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/dataframe.py'
> '/<<PKGBUILDDIR>>/examples/date.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/date.py'
> '/<<PKGBUILDDIR>>/examples/highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/highlight.py'
> '/<<PKGBUILDDIR>>/examples/hover.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/hover.py'
> '/<<PKGBUILDDIR>>/examples/image.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/image.py'
> '/<<PKGBUILDDIR>>/examples/keyboard_shortcuts.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/keyboard_shortcuts.py'
> '/<<PKGBUILDDIR>>/examples/labeled_points.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/labeled_points.py'
> '/<<PKGBUILDDIR>>/examples/nondraggable.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/nondraggable.py'
> '/<<PKGBUILDDIR>>/examples/paired_highlight.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/paired_highlight.py'
> '/<<PKGBUILDDIR>>/examples/scatter.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/scatter.py'
> '/<<PKGBUILDDIR>>/examples/step.py' -> 
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build/examples/step.py'
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build; python3.11 -m 
> pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: setup.cfg
> collected 73 items
> 
> tests/test_mplcursors.py .................F............FFF.............. [ 
> 64%]
> ..........................                                               
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _____________________________ test_repeated_point 
> ______________________________
> 
> ax = <AxesSubplot: >
> 
>     def test_repeated_point(ax):
>         ax.plot([0, 1, 1, 2], [0, 1, 1, 2])
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:247: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> __________________________________ test_stem 
> ___________________________________
> 
> ax = <AxesSubplot: >
> 
>     def test_stem(ax):
> >       with pytest.warns(None):  # stem use_line_collection API change.
> 
> tests/test_mplcursors.py:390: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> ______________________ test_misc_artists[<lambda>-False] 
> _______________________
> 
> ax = <AxesSubplot: >, plotter = <function <lambda> at 0x7ff110d832e0>
> warns = False
> 
>     @pytest.mark.parametrize(
>         "plotter,warns",
>         [(lambda ax: ax.text(.5, .5, "foo"), False),
>          (lambda ax: ax.fill_between([0, 1], [0, 1]), True)])
>     def test_misc_artists(ax, plotter, warns):
>         plotter(ax)
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:409: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> _______________________ test_misc_artists[<lambda>-True] 
> _______________________
> 
> ax = <AxesSubplot: >, plotter = <function <lambda> at 0x7ff110d83380>
> warns = True
> 
>     @pytest.mark.parametrize(
>         "plotter,warns",
>         [(lambda ax: ax.text(.5, .5, "foo"), False),
>          (lambda ax: ax.fill_between([0, 1], [0, 1]), True)])
>     def test_misc_artists(ax, plotter, warns):
>         plotter(ax)
>         cursor = mplcursors.cursor()
> >       with pytest.warns(None) as record:
> 
> tests/test_mplcursors.py:409: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = WarningsChecker(record=True), expected_warning = None, match_expr = 
> None
> 
>     def __init__(
>         self,
>         expected_warning: Union[Type[Warning], Tuple[Type[Warning], ...]] = 
> Warning,
>         match_expr: Optional[Union[str, Pattern[str]]] = None,
>         *,
>         _ispytest: bool = False,
>     ) -> None:
>         check_ispytest(_ispytest)
>         super().__init__(_ispytest=True)
>     
>         msg = "exceptions must be derived from Warning, not %s"
>         if isinstance(expected_warning, tuple):
>             for exc in expected_warning:
>                 if not issubclass(exc, Warning):
>                     raise TypeError(msg % type(exc))
>             expected_warning_tup = expected_warning
>         elif isinstance(expected_warning, type) and issubclass(
>             expected_warning, Warning
>         ):
>             expected_warning_tup = (expected_warning,)
>         else:
> >           raise TypeError(msg % type(expected_warning))
> E           TypeError: exceptions must be derived from Warning, not <class 
> 'NoneType'>
> 
> /usr/lib/python3/dist-packages/_pytest/recwarn.py:285: TypeError
> =========================== short test summary info 
> ============================
> FAILED tests/test_mplcursors.py::test_repeated_point - TypeError: exceptions 
> ...
> FAILED tests/test_mplcursors.py::test_stem - TypeError: exceptions must be 
> de...
> FAILED tests/test_mplcursors.py::test_misc_artists[<lambda>-False] - 
> TypeErro...
> FAILED tests/test_mplcursors.py::test_misc_artists[<lambda>-True] - 
> TypeError...
> ======================== 4 failed, 69 passed in 22.47s 
> =========================
> E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mplcursors/build; python3.11 -m 
> pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/mplcursors_0.5.2-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: mplcursors
Source-Version: 0.5.3-1
Done: Sudip Mukherjee <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sudip Mukherjee <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Thu, 18 Apr 2024 20:19:13 +0100
Source: mplcursors
Architecture: source
Version: 0.5.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Sudip Mukherjee <[email protected]>
Closes: 1063979 1067255
Changes:
 mplcursors (0.5.3-1) unstable; urgency=medium
 .
   * New upstream version 0.5.3
     - Remove upstream applied patches.
   * Apply upstream changes to fix tests failure. (Closes: #1063979, #1067255)
Checksums-Sha1:
 1c45c7d7bc07a2ef3753b64f54a9f34f40c0a989 2154 mplcursors_0.5.3-1.dsc
 6f7fb501a68e8fc37b29bf181ed4390cf7732970 85318 mplcursors_0.5.3.orig.tar.gz
 4bba987c350598ed10b67789fb95cbe952da0538 5092 mplcursors_0.5.3-1.debian.tar.xz
 813622f65bb357be665f231fd7338617a742b5cc 9101 
mplcursors_0.5.3-1_amd64.buildinfo
Checksums-Sha256:
 d916e630133fe73f16a27676ff32a7a81c168fdb413c06927565e0a990601d58 2154 
mplcursors_0.5.3-1.dsc
 51ad3fe3184a567637fb44049f59830e3975a271c97dc9ec62d35fceb0b4c19e 85318 
mplcursors_0.5.3.orig.tar.gz
 b777053023cd861b93792e66f2c6a484632227486e2a578ff7f75685c6a6c581 5092 
mplcursors_0.5.3-1.debian.tar.xz
 42609f44bbe3a50175d196b6d780ef2924dbe0059127f139be28a19fad054e53 9101 
mplcursors_0.5.3-1_amd64.buildinfo
Files:
 a7c697b17d46276a6940033c7b059b4e 2154 python optional mplcursors_0.5.3-1.dsc
 09a83ea0aafbba96874929bfbdb55878 85318 python optional 
mplcursors_0.5.3.orig.tar.gz
 b613c16ca93af7da604e8283eeec299f 5092 python optional 
mplcursors_0.5.3-1.debian.tar.xz
 485b3cb823972d867c4aab3e8488bd6e 9101 python optional 
mplcursors_0.5.3-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmYhdKMACgkQR5mjUUbR
KzUSCw/8DBcD3G7Vu+b3uUVKjMP2KANRLttFWQWqNUuDXqgcovGC3xtO7uYYrBl/
iLxcZI9XrKxPOGetsx6hj3YYr3/9659IuokCqK6+SL1xFsPbPlFIhJLWbWeDuK7Z
kNCPUoDQ6ZB3qzYy3gtQceoQPwy7KjJfDbsXEU89sffXLWxXFJdC1LPA1K6tgPV4
hLCChrHDz2jrK1Y7J5qnOOXWpDd2idlT4UrtOZDK3aGGyraIuMihCP2n8C6Nem8h
UGuNYYotquLwmNen+kiLEbjdv4IcclXdpwNtTP2nj9671WApmchq10zzFDFS3e2P
N5HuetGSoI5r5/S58tM8Xidc3u1ace3KibsSjBNBmRwIbO2Xha0W7iNfxhhRqc7O
G46o/G81JrLNzGPRVuh98j/G2ggpVoB9YJz2v3h7sQ0uBOCOpZUfwB8avKUF9yuV
AJos4psX4TeGZyl3bc8ZOW/F/QqDE1g1wilyQa9WWZMZFCobRFLcEnc6c0iLXBKn
7DvDbXpVKqIbhG6Jz7hlehgrFxB2Lh1apKDlkYa9GZLwl1q0cW+YctVN99Vt3RK2
/HklIzNkYGLHDX3O23qdz3yFbmGYxespBBMEu1jwn9uE2D1dhoGPlb2bhof9/+ib
gW8YfWpygcm1beCeSY5OA50MoXB8n4jawAXG9VphuJ7WuqCvzJw=
=QHer
-----END PGP SIGNATURE-----

Attachment: pgpBdl9uyJYRZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to