[Python-modules-team] Bug#972484: ponyorm doesn't support python 3.9
Louis-Philippe Véronneau
pollo at debian.org
Mon Oct 19 07:17:26 BST 2020
Package: src:ponyorm
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9
Control: forwarded -1 https://github.com/ponyorm/pony/pull/565
Dear maintainer,
It seem ponyORM isn't completely compatible with Python 3.9 yet!
Running the testsuite for supysonic, I hit this kind of bug multiple times:
ERROR: test_unstar (tests.api.test_annotation.AnnotationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/tests/api/test_annotation.py", line 132, in
test_unstar
"starred", Album[self.albumid].as_subsonic_album(self.user)
File "/<<PKGBUILDDIR>>/supysonic/db.py", line 203, in
as_subsonic_album
track_with_cover = self.tracks.select(
File "/usr/lib/python3/dist-packages/pony/orm/core.py", line 3582, in
select
query = query.filter(func, globals, locals)
File "/usr/lib/python3/dist-packages/pony/orm/core.py", line 6114, in
filter
return query._process_lambda(func, globals, locals, order_by=False)
File "/usr/lib/python3/dist-packages/pony/orm/core.py", line 6048, in
_process_lambda
func_ast, external_names, cells = decompile(func)
File "/usr/lib/python3/dist-packages/pony/orm/decompiling.py", line
36, in decompile
decompiler = Decompiler(codeobject)
File "/usr/lib/python3/dist-packages/pony/orm/decompiling.py", line
81, in __init__
decompiler.decompile()
File "/usr/lib/python3/dist-packages/pony/orm/decompiling.py", line
171, in decompile
throw(DecompileError('Unsupported operation: %s' % opname))
File "/usr/lib/python3/dist-packages/pony/utils/utils.py", line 106,
in throw
raise exc
pony.orm.decompiling.DecompileError: Unsupported operation: IS_OP
It seems upstream is working on it, but the patch isn't ready yet. When
it's merged and released, it would be appreciated if you could upload
the new version quickly :)
Cheers,
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau
⢿⡄⠘⠷⠚⠋ pollo at debian.org / veronneau.org
⠈⠳⣄
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20201019/f52e409d/attachment.sig>
More information about the Python-modules-team
mailing list