build failure due to failing pytest case
Bug #2036292 reported by
Chris Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-future (Ubuntu) |
Fix Released
|
Undecided
|
Dan Bungert |
Bug Description
This package fails to build on mantic due to a failing pytest case when running Python3.11. This is because Python3.11 changed the thrown error when encountering null bytes in python source code from a ValueError to a SyntaxError, which isn't handle in the test case.
Changed in python-future (Ubuntu): | |
assignee: | nobody → Dan Bungert (dbungert) |
status: | New → In Progress |
To post a comment you must log in.
Thanks for the fix, Chris.
Some notes from review:
* https:/ /ubuntu- packaging- guide.readthedo cs.io/en/ latest/ ubuntu- packaging- guide/tradition al-packaging. html#creating- a-debdiff has some suggestions on naming the debdiff, this is not blocking upload though. patches/ series has a trailing new line, which also would not have blocked upload (I would have just fixed and uploaded) but since I'm asking for the comment fix, would be good to do.
* In the comment there is "# and SyntaxError in 3.11=<:", which looks like it was cut off. Double check the intended text please, and create a new debdiff.
* the debian/