ponyorm: FTBFS on Python 3.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ponyorm (Debian) |
Fix Released
|
Unknown
|
|||
ponyorm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: python3-pony
Version: 0.7.14-1
Severity: serious
User: <email address hidden>
Usertags: python3.10
Hello,
It seems the current version of ponyorm is broken on python3.10. If you
look closely at the logs from the latest DebCI run [1], it outputs
(without failing........):
> Sorry, but pony 0.7.14 requires Python of one of the following
> versions: 2.7, 3.3-3.9. You have version 3.10.0+
Actually running pony on 3.10 outputs something like:
=======
ERROR: tests (unittest.
-------
ImportError: Failed to import test module: tests
Traceback (most recent call last):
File "/usr/lib/
loadTestsFromName
module = __import_
File "/<<PKGBUILDDIR
from . import base
File "/<<PKGBUILDDIR
from .test_cli import CLITestCase
File "/<<PKGBUILDDIR
from pony.orm import db_session
File "/usr/lib/
<module>
from pony.orm.core import *
File "/usr/lib/
<module>
from pony.thirdparty
File
"/usr/lib/
line 24, in <module>
from .transformer import parse, parseFile
File
"/usr/lib/
32, in <module>
import parser
ModuleNotFoundE
This is because the parser module has been removed in Python 3.10 in
favor of ast [2].
I'll suggest upstream to fail their testsuite when ran on Python 3.10.
[1]:
https:/
description: | updated |
tags: | added: update-excuse |
Changed in ponyorm (Debian): | |
importance: | Undecided → Unknown |
status: | New → Confirmed |
Changed in ponyorm (Debian): | |
status: | Confirmed → Fix Released |
Changed in ponyorm (Ubuntu): | |
status: | New → Fix Committed |
This has made it in Jammy now.