[PKG-Openstack-devel] Bug#904587: python3-nova: fails to install with Python 3.7
Andreas Beckmann
anbe at debian.org
Wed Jul 25 13:01:46 BST 2018
Package: python3-nova
Version: 2:17.0.3-12
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: block 902788 with -1
Hi,
during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.
>From the attached log (scroll to the bottom...):
File "/usr/lib/python3/dist-packages/nova/api/openstack/compute/migrate_server.py", line 85
async = api_version_request.is_supported(req, min_version='2.34')
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/compute/api.py", line 4196
disk_over_commit, host_name, force=None, async=False):
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/conductor/api.py", line 102
request_spec=None, async=False):
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/db/sqlalchemy/api.py", line 220
reader_mode = get_context_manager(context).async
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/tests/unit/api/openstack/compute/test_migrate_server.py", line 39
async = False
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/tests/unit/compute/test_compute.py", line 11095
force=force, async=False)
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/tests/unit/compute/test_compute_api.py", line 2531
async=False)
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/tests/unit/virt/libvirt/test_guest.py", line 690
self.gblock.abort_job(async=True)
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/nova/virt/libvirt/guest.py", line 744
def abort_job(self, async=False, pivot=False):
^
SyntaxError: invalid syntax
dpkg: error processing package python3-nova (--configure):
installed python3-nova package post-installation script subprocess returned error exit status 1
"async" has become a reserved keyword in Python 3.7
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3-nova=2%17.0.3-12.log.gz
Type: application/gzip
Size: 39074 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/openstack-devel/attachments/20180725/f7ecf2f4/attachment-0001.gz>
More information about the Openstack-devel
mailing list