Bug 40089

Summary: Не запускается с matplotlib 3.4.2
Product: Sisyphus Reporter: Антон Мидюков <antohami>
Component: rtlsdr-scannerAssignee: Антон Мидюков <antohami>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: antohami
Version: unstable   
Hardware: all   
OS: Linux   

Description Антон Мидюков 2021-05-25 05:34:25 MSK
Похоже, нет поддержки matplotlib 3.4.2 (слишком новая):

rtlsdr-scanner 
09:32:34: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1013,STL containers,compatible with 2.6,compatible with 2.8),
and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1014,STL containers,compatible with 2.6,compatible with 2.8).
Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/site-packages/rtlsdr_scanner/__main__.py", line 48, in <module>
    from rtlsdr_scanner.cli import Cli
  File "/usr/lib/python3/site-packages/rtlsdr_scanner/cli.py", line 38, in <module>
    from rtlsdr_scanner.file import save_plot, export_plot, ScanInfo, File
  File "/usr/lib/python3/site-packages/rtlsdr_scanner/file.py", line 46, in <module>
    from rtlsdr_scanner.spectrum import create_mesh, sort_spectrum
  File "/usr/lib/python3/site-packages/rtlsdr_scanner/spectrum.py", line 29, in <module>
    from matplotlib.dates import seconds
ImportError: cannot import name 'seconds' from 'matplotlib.dates' (/usr/lib64/python3/site-packages/matplotlib/dates.py)

Аналогичная бага в fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1901488
Comment 1 Repository Robot 2021-06-25 20:42:50 MSK
rtlsdr-scanner-1.3.2-alt3 -> sisyphus:

 Fri Jun 25 2021 Anton Midyukov <antohami@altlinux> 1.3.2-alt3
 - fix run with python3, python3-module-matplotlib >= 3.3.0 (Closes: 40089)