Bug#1000717: supysonic: FTBFS on Python 3.10

2022-01-12 Thread Louis-Philippe Véronneau
forwarded 1000717 https://github.com/spl0k/supysonic/issues/229
thanks

Pony has been updated to a version that supports python3.10, but using
it, I get this testsuite error, so I can't build:

==
FAIL: test_add_nowait_stop (tests.base.test_watcher.AudioWatcherTestCase)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.9/build/tests/base/test_watcher.py",
line 117, in test_add_nowait_stop
self.assertTrackCountEqual(1)
  File "", line 2, in assertTrackCountEqual
  File "/usr/lib/python3/dist-packages/pony/orm/core.py", line 531, in
new_func
result = func(*args, **kwargs)
  File
"/<>/.pybuild/cpython3_3.9/build/tests/base/test_watcher.py",
line 106, in assertTrackCountEqual
self.assertEqual(Track.select().count(), expected)
AssertionError: 0 != 1


-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄


OpenPGP_signature
Description: OpenPGP digital signature


Bug#1000717: supysonic: FTBFS on Python 3.10

2021-11-27 Thread Louis-Philippe Véronneau
Source: supysonic
Version: 0.6.2+ds-4
Severity: serious
User: debian-pyt...@lists.debian.org
Usertags: python3.10

supysonic FTBFS when using Python 3.10. This is caused by python3-pony
not supporting Python 3.10 yet.

=== python3.10 ===
tests (unittest.loader._FailedTest) ... ERROR

==
ERROR: tests (unittest.loader._FailedTest)
--
ImportError: Failed to import test module: tests
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/loader.py", line 154, in
loadTestsFromName
module = __import__(module_name)
  File
"/tmp/autopkgtest-lxc.l2p5og5f/downtmp/autopkgtest_tmp/tests/__init__.py",
line 11, in 
from . import base
  File
"/tmp/autopkgtest-lxc.l2p5og5f/downtmp/autopkgtest_tmp/tests/base/__init__.py",
line 10, in 
from .test_cli import CLITestCase
  File
"/tmp/autopkgtest-lxc.l2p5og5f/downtmp/autopkgtest_tmp/tests/base/test_cli.py",
line 14, in 
from pony.orm import db_session
  File "/usr/lib/python3/dist-packages/pony/orm/__init__.py", line 3, in

from pony.orm.core import *
  File "/usr/lib/python3/dist-packages/pony/orm/core.py", line 18, in

from pony.thirdparty.compiler import ast, parse
  File
"/usr/lib/python3/dist-packages/pony/thirdparty/compiler/__init__.py",
line 24, in 
from .transformer import parse, parseFile
  File
"/usr/lib/python3/dist-packages/pony/thirdparty/compiler/transformer.py", line
32, in 
import parser
ModuleNotFoundError: No module named 'parser'

-- 
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄


OpenPGP_signature
Description: OpenPGP digital signature