FTBFS 2:2.2.24-1 test_subparser_invalid_option regression with Python 3.9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-django (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
python-django FTBFS due to an error on the test suite (see error log below).
This issue is due to changes in python's argparse code which was backported to python 3.9. This has been fixed upstream [1,2].
The bug has also been fixed in Debian [3], however, Debian unstable has migrated to python-django 3. Hence, we should add a delta for impish, which can be dropped later for the jj series when we move to django 3.
[1] https:/
[2] https:/
[3] https:/
=======
FAIL: test_subparser_
-------
Traceback (most recent call last):
File "/usr/lib/
yield
File "/usr/lib/
self.
File "/usr/lib/
method()
File "/<<PKGBUILDDIR
management.
File "/usr/lib/
self.
File "/<<PKGBUILDDIR
self.
File "/usr/lib/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: "Error: invalid choice: 'test' (choose from 'foo')" not found in "Error: argument {foo}: invalid choice: 'test' (choose from 'foo')"
Related branches
- Sergio Durigan Junior (community): Approve
- Canonical Server: Pending requested
-
Diff: 63 lines (+29/-1)4 files modifieddebian/changelog (+6/-0)
debian/control (+2/-1)
debian/patches/0006-test-subparser-regression.patch (+20/-0)
debian/patches/series (+1/-0)
Changed in python-django (Ubuntu): | |
assignee: | nobody → Athos Ribeiro (athos-ribeiro) |
tags: | added: update-excuse |
While the test change itself is unlikely to be the cause for the lava test suite error. I asked Lucas Kanashiro to re-trigger the tests and I will investigate the issue after I get the results.