[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
This bug was fixed in the package libcloud - 2.3.0-1ubuntu1 --- libcloud (2.3.0-1ubuntu1) cosmic; urgency=medium * Address some python 3.7 issues (LP: #1788931): - d/control: add <= 3.6 to X-Python3-Version because python 3.7 is not yet supported by upstream - d/p/remove-async-due-py37.patch: remove 'async' as it's a reserved keyword in python 3.7. * d/p/handle-http_proxy-in-tests.patch: Handle http_proxy variable in tests -- Andreas Hasenack Mon, 27 Aug 2018 14:48:35 + ** Changed in: libcloud (Ubuntu) Status: In Progress => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
** Merge proposal linked: https://code.launchpad.net/~ahasenack/ubuntu/+source/libcloud/+git/libcloud/+merge/353856 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
** Tags added: patch -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
libcloud is fine-ish after this diff, but related dep8 tests will still fail. Namely, fdroidserver's, which installs python 3.7 via its numpy dependency. And then libcloud will hit that SyntaxError again in postinst. I proposed this upstream: https://github.com/apache/libcloud/pull/1235 stay tuned. -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
Local dep8 test run output ** Attachment added: "log" https://bugs.launchpad.net/ubuntu/+source/libcloud/+bug/1788931/+attachment/5181301/+files/log -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
debdiff attached Bileto ticket (still running): https://bileto.ubuntu.com/#/ticket/3384 I ran the dep8 tests locally: (...) === 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]: summary upstream PASS qemu-system-x86_64: terminating on signal 15 from pid 13107 (/usr/bin/python3) ** Patch added: "libcloud-nopy37.debdiff" https://bugs.launchpad.net/ubuntu/+source/libcloud/+bug/1788931/+attachment/5181300/+files/libcloud-nopy37.debdiff -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
** Changed in: libcloud (Ubuntu) Assignee: (unassigned) => Andreas Hasenack (ahasenack) ** Changed in: libcloud (Ubuntu) Status: New => In Progress -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1788931] Re: FTBFS libcloud does not work or build with py3.7
** Attachment added: "libcloud-2.3.0-py3-cosmic-build.log" https://bugs.launchpad.net/ubuntu/+source/libcloud/+bug/1788931/+attachment/5180462/+files/libcloud-2.3.0-py3-cosmic-build.log ** Description changed: 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): - ^ + 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. ** Tags added: 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs