Public bug reported:

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/python3/dist-packages/libcloud/compute/drivers/azure.py", line 
1438
    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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903388

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://issues.apache.org/jira/browse/LIBCLOUD-1009

Also found this one in github:
https://github.com/apache/libcloud/pull/1227

They seem to have two bugtrackers, I don't know which one is best.
Perhaps the github one.

** Affects: libcloud (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1788931

Title:
  FTBFS libcloud does not work or build with py3.7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcloud/+bug/1788931/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to