[Pkg-salt-team] Bug#904654: salt-common: fails to install with Python 3.7

Andreas Beckmann anbe at debian.org
Thu Jul 26 10:21:05 BST 2018


Package: salt-common
Version: 2017.7.4+dfsg1-1
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...):

  Setting up salt-common (2017.7.4+dfsg1-1) ...
    File "/usr/lib/python3/dist-packages/salt/client/mixins.py", line 495
      def async(self, fun, low, user='UNKNOWN', pub=None):
              ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/daemons/masterapi.py", line 1096
      return runner_client.async(fun,
                               ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/master.py", line 1752
      return runner_client.async(fun,
                               ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/minion.py", line 805
      self.io_loop.spawn_callback(self.process_manager.run, async=True)
                                                                ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/modules/cassandra_cql.py", line 340
      def cql_query_with_prepare(query, statement_name, statement_arguments, async=False,
                                                                                 ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/modules/saltutil.py", line 909
      def refresh_modules(async=True):
                              ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/returners/cassandra_cql_return.py", line 208
      async=True)
          ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/runner.py", line 240
      async_pub = self.async(self.opts['fun'],
                           ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/transport/client.py", line 13
      from salt.utils.async import SyncWrapper
                          ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/transport/tcp.py", line 25
      import salt.utils.async
                            ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/utils/async.py", line 60
      self.async = method(*args, **kwargs)
               ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/utils/event.py", line 76
      import salt.utils.async
                            ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/utils/process.py", line 391
      def run(self, async=False):
                        ^
  SyntaxError: invalid syntax
  
    File "/usr/lib/python3/dist-packages/salt/wheel/__init__.py", line 119
      return self.async(fun, low)
                      ^
  SyntaxError: invalid syntax
  
  dpkg: error processing package salt-common (--configure):
   installed salt-common 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: salt-common=2017.7.4+dfsg1-1.log.gz
Type: application/gzip
Size: 9612 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-salt-team/attachments/20180726/b224e030/attachment.gz>


More information about the pkg-salt-team mailing list