← Back to team overview

touch-packages team mailing list archive

[Bug 1499075] [NEW] python3.4.3 SRU breaks awscli

 

Public bug reported:

The recently (~6h ago) python3.4.3 SRU update contains backwards-
incompatible changes to the Python language, which in particular break
the version of `awscli` packaged in Ubuntu Trusty. From a fully-updated
Trusty machine:

root@xxxxxxxxxxxxxxxxxx:~# aws
Traceback (most recent call last):
  File "/usr/bin/aws", line 23, in <module>
    sys.exit(main())
  File "/usr/bin/aws", line 19, in main
    return awscli.clidriver.main()
  File "/usr/share/awscli/awscli/clidriver.py", line 44, in main
    driver = create_clidriver()
  File "/usr/share/awscli/awscli/clidriver.py", line 53, in create_clidriver
    event_hooks=emitter)
  File "/usr/share/awscli/awscli/plugin.py", line 49, in load_plugins
    plugin.awscli_initialize(event_hooks)
  File "/usr/share/awscli/awscli/handlers.py", line 73, in awscli_initialize
    register_removals(event_handlers)
  File "/usr/share/awscli/awscli/customizations/removals.py", line 32, in register_removals
    'verify-email-address'])
  File "/usr/share/awscli/awscli/customizations/removals.py", line 45, in remove
    self._create_remover(remove_commands))
  File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 64, in register
    self._verify_accept_kwargs(handler)
  File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 84, in _verify_accept_kwargs
    argspec = inspect.getargspec(func)
  File "/usr/lib/python3.4/inspect.py", line 936, in getargspec
    raise ValueError("Function has keyword-only arguments or annotations"
ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them


This bug has been fixed upstream via https://github.com/aws/aws-cli/issues/800, but the version in Ubuntu hasn't been updated.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3.4 3.4.3-1ubuntu1~14.04.1
ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
Uname: Linux 3.13.0-63-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.13
Architecture: amd64
Date: Wed Sep 23 21:06:39 2015
Ec2AMI: ami-8d5b5dbd
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-west-2c
Ec2InstanceType: c4.8xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python3.4
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python3.4 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images trusty

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3.4 in Ubuntu.
https://bugs.launchpad.net/bugs/1499075

Title:
  python3.4.3 SRU breaks awscli

Status in python3.4 package in Ubuntu:
  New

Bug description:
  The recently (~6h ago) python3.4.3 SRU update contains backwards-
  incompatible changes to the Python language, which in particular break
  the version of `awscli` packaged in Ubuntu Trusty. From a fully-
  updated Trusty machine:

  root@xxxxxxxxxxxxxxxxxx:~# aws
  Traceback (most recent call last):
    File "/usr/bin/aws", line 23, in <module>
      sys.exit(main())
    File "/usr/bin/aws", line 19, in main
      return awscli.clidriver.main()
    File "/usr/share/awscli/awscli/clidriver.py", line 44, in main
      driver = create_clidriver()
    File "/usr/share/awscli/awscli/clidriver.py", line 53, in create_clidriver
      event_hooks=emitter)
    File "/usr/share/awscli/awscli/plugin.py", line 49, in load_plugins
      plugin.awscli_initialize(event_hooks)
    File "/usr/share/awscli/awscli/handlers.py", line 73, in awscli_initialize
      register_removals(event_handlers)
    File "/usr/share/awscli/awscli/customizations/removals.py", line 32, in register_removals
      'verify-email-address'])
    File "/usr/share/awscli/awscli/customizations/removals.py", line 45, in remove
      self._create_remover(remove_commands))
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 64, in register
      self._verify_accept_kwargs(handler)
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 84, in _verify_accept_kwargs
      argspec = inspect.getargspec(func)
    File "/usr/lib/python3.4/inspect.py", line 936, in getargspec
      raise ValueError("Function has keyword-only arguments or annotations"
  ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them

  
  This bug has been fixed upstream via https://github.com/aws/aws-cli/issues/800, but the version in Ubuntu hasn't been updated.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python3.4 3.4.3-1ubuntu1~14.04.1
  ProcVersionSignature: Ubuntu 3.13.0-63.103-generic 3.13.11-ckt25
  Uname: Linux 3.13.0-63-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.13
  Architecture: amd64
  Date: Wed Sep 23 21:06:39 2015
  Ec2AMI: ami-8d5b5dbd
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: us-west-2c
  Ec2InstanceType: c4.8xlarge
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python3.4
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.4/+bug/1499075/+subscriptions


Follow ups