FTBFS libcloud does not work or build with py3.7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libcloud (Ubuntu) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
libcloud 2.3.0 fails to build in cosmic currently because the tests fail. It's not compatible with python 3.7.
The last time it was built in the ubuntu archive, python 3.7 was not available, and the tests ran with python 3.6. Now we have both python 3.6 and 3.7.
Additionally, it fails to install if python3.7 is installed:
Setting up python3-libcloud (2.3.0-1) ...
File "/usr/lib/
def _perform_post(self, path, body, response_type=None, async=False):
SyntaxError: invalid syntax
In python 3.7, async is a reserved keyword.
Debian has this bug report about the installation failure: https:/
It also fails to build in debian currently, because, as in ubuntu, now debian has python3.7 available.
I also filed this ticket with upstream about the 3.7 incompatibility: https:/
Also found this one in github: https:/
They seem to have two bugtrackers, I don't know which one is best. Perhaps the github one.
Related branches
- Canonical Server MOTU reviewers: Pending requested
- Canonical Server: Pending requested
-
Diff: 64 lines (+43/-0) (has conflicts)3 files modifieddebian/changelog (+10/-0)
debian/patches/convert-object-size.patch (+29/-0)
debian/patches/series (+4/-0)
- Christian Ehrhardt (community): Approve
- Canonical Server MOTU reviewers: Pending requested
-
Diff: 148 lines (+110/-1)5 files modifieddebian/changelog (+12/-0)
debian/control (+3/-1)
debian/patches/handle-http_proxy-in-tests.patch (+43/-0)
debian/patches/remove-async-due-py37.patch (+50/-0)
debian/patches/series (+2/-0)
tags: | added: ftbfs |
Changed in libcloud (Ubuntu): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
tags: | added: patch |
debdiff attached
Bileto ticket (still running): https:/ /bileto. ubuntu. com/#/ticket/ 3384
I ran the dep8 tests locally: ------- ------- --] @@@@@@@ @@@@@@ summary
(...)
=========== 8988 passed, 32 skipped, 272 warnings in 105.26 seconds ============
autopkgtest [10:29:42]: test upstream: -------
autopkgtest [10:29:43]: test upstream: - - - - - - - - - - results - - - - - - - - - -
upstream PASS
autopkgtest [10:29:44]: @@@@@@@
upstream PASS
qemu-system-x86_64: terminating on signal 15 from pid 13107 (/usr/bin/python3)