← Back to team overview

touch-packages team mailing list archive

[Bug 1499075] Re: python3.4.3 SRU breaks awscli

 

I'm still seeing the problem. Fully updated version of 14.04 LTS running
in AWS ap-northeast-1. It appears have the latest and greatest
python3-botocore.

Can this ticket please be re-opened?

root@ip-10-0-100-139:~# 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


--Packages installed---

ii  awscli                           1.2.9-2                          all          Universal Command Line Environment for AWS
ii  dh-python                        1.20140128-1ubuntu8.2            all          Debian helper tools for packaging Python libraries and applications
ii  libpython-stdlib:amd64           2.7.5-5ubuntu3                   amd64        interactive high-level object-oriented language (default python version)
ii  libpython2.7:amd64               2.7.6-8ubuntu0.2                 amd64        Shared Python runtime library (version 2.7)
ii  libpython2.7-minimal:amd64       2.7.6-8ubuntu0.2                 amd64        Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:amd64        2.7.6-8ubuntu0.2                 amd64        Interactive high-level object-oriented language (standard library, version 2.7)
ii  libpython3-stdlib:amd64          3.4.0-0ubuntu2                   amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.4-minimal:amd64       3.4.3-1ubuntu1~14.04.1           amd64        Minimal subset of the Python language (version 3.4)
ii  libpython3.4-stdlib:amd64        3.4.3-1ubuntu1~14.04.1           amd64        Interactive high-level object-oriented language (standard library, version 3.4)
ii  python                           2.7.5-5ubuntu3                   amd64        interactive high-level object-oriented language (default version)
ii  python-apt                       0.9.3.5ubuntu1                   amd64        Python interface to libapt-pkg
ii  python-apt-common                0.9.3.5ubuntu1                   all          Python interface to libapt-pkg (locales)
ii  python-chardet                   2.0.1-2build2                    all          universal character encoding detector
ii  python-cheetah                   2.4.4-3.fakesyncbuild1           amd64        text-based template engine and Python code generator
ii  python-colorama                  0.2.5-0.1ubuntu2                 all          Cross-platform colored terminal text in Python - Python 2.x
ii  python-colorama-whl              0.2.5-0.1ubuntu2                 all          Cross-platform colored terminal text in Python - Wheels
ii  python-configobj                 4.7.2+ds-5build1                 all          simple but powerful config file reader and writer for Python
ii  python-debian                    0.1.21+nmu2ubuntu2               all          Python modules to work with Debian-related data formats
ii  python-distlib                   0.1.8-1ubuntu1                   all          low-level components of python distutils2/packaging
ii  python-distlib-whl               0.1.8-1ubuntu1                   all          low-level components of python distutils2/packaging
ii  python-gdbm                      2.7.5-1ubuntu1                   amd64        GNU dbm database support for Python
ii  python-html5lib                  0.999-3~ubuntu1                  all          HTML parser/tokenizer based on the WHATWG HTML5 specification (Python 2)
ii  python-html5lib-whl              0.999-3~ubuntu1                  all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python-json-pointer              1.0-2build1                      all          resolve JSON pointers - python 2.x
ii  python-jsonpatch                 1.3-4                            all          library to apply JSON patches - python 2.x
ii  python-minimal                   2.7.5-5ubuntu3                   amd64        minimal subset of the Python language (default version)
ii  python-newt                      0.52.15-2ubuntu5                 amd64        NEWT module for Python
ii  python-oauth                     1.0.1-3build2                    all          Python library implementing of the OAuth protocol
ii  python-openssl                   0.13-2ubuntu6                    amd64        Python 2 wrapper around the OpenSSL library
ii  python-pam                       0.4.2-13.1ubuntu3                amd64        Python interface to the PAM library
ii  python-pkg-resources             3.3-1ubuntu2                     all          Package Discovery and Resource Access using pkg_resources
ii  python-prettytable               0.7.2-2ubuntu2                   all          library to represent tabular data in visually appealing ASCII tables
ii  python-pycurl                    7.19.3-0ubuntu3                  amd64        Python bindings to libcurl
ii  python-requests                  2.2.1-1ubuntu0.3                 all          elegant and simple HTTP library for Python, built for human beings
ii  python-requests-whl              2.2.1-1ubuntu0.3                 all          elegant and simple HTTP library for Python, built for human beings
ii  python-serial                    2.6-1build1                      all          pyserial - module encapsulating access for the serial port
ii  python-setuptools                3.3-1ubuntu2                     all          Python Distutils Enhancements
ii  python-setuptools-whl            3.3-1ubuntu2                     all          Python Distutils Enhancements (wheel package)
ii  python-six                       1.5.2-1ubuntu1                   all          Python 2 and 3 compatibility library (Python 2 interface)
ii  python-six-whl                   1.5.2-1ubuntu1                   all          Python 2 and 3 compatibility library (universal wheel)
ii  python-twisted-bin               13.2.0-1ubuntu1                  amd64        Event-based framework for internet applications
ii  python-twisted-core              13.2.0-1ubuntu1                  all          Event-based framework for internet applications
ii  python-twisted-names             13.2.0-1ubuntu1                  all          DNS protocol implementation with client and server
ii  python-twisted-web               13.2.0-1ubuntu1                  all          HTTP protocol implementation together with clients and servers
ii  python-urllib3                   1.7.1-1ubuntu3                   all          HTTP library with thread-safe connection pooling for Python
ii  python-urllib3-whl               1.7.1-1ubuntu3                   all          HTTP library with thread-safe connection pooling
ii  python-wheel                     0.24.0-1~ubuntu1                 all          built-package format for Python
ii  python-xapian                    1.2.16-2ubuntu1                  amd64        Xapian search engine interface for Python
ii  python-yaml                      3.10-4ubuntu0.1                  amd64        YAML parser and emitter for Python
ii  python-zope.interface            4.0.5-1ubuntu4                   amd64        Interfaces for Python
ii  python2.7                        2.7.6-8ubuntu0.2                 amd64        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal                2.7.6-8ubuntu0.2                 amd64        Minimal subset of the Python language (version 2.7)
ii  python3                          3.4.0-0ubuntu2                   amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-bcdoc                    0.12.0-2                         all          ReST document generation tools for botocore (Python 3)
ii  python3-botocore                 0.29.0+repack-2                  all          Low-level, data-driven core of boto 3 (Python 3)
ii  python3-chardet                  2.2.1-2~ubuntu1                  all          universal character encoding detector for Python3
ii  python3-colorama                 0.2.5-0.1ubuntu2                 all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-dateutil                 2.0+dfsg1-1                      all          powerful extensions to the standard datetime module in Python 3
ii  python3-docutils                 0.11-3                           all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-jmespath                 0.2.1-1                          all          JSON Matching Expressions (Python 3)
ii  python3-minimal                  3.4.0-0ubuntu2                   amd64        minimal subset of the Python language (default python3 version)
ii  python3-pil                      2.3.0-1ubuntu3                   amd64        Python Imaging Library (Python3)
ii  python3-pkg-resources            3.3-1ubuntu2                     all          Package Discovery and Resource Access using pkg_resources
ii  python3-ply                      3.4-3ubuntu2                     all          Lex and Yacc implementation for Python3
ii  python3-pygments                 1.6+dfsg-1ubuntu1                all          syntax highlighting package written in Python 3
ii  python3-requests                 2.2.1-1ubuntu0.3                 all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-roman                    2.0.0-1                          all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rsa                      3.1.2-1                          all          Pure-Python RSA implementation (Python 3)
ii  python3-six                      1.5.2-1ubuntu1                   all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-urllib3                  1.7.1-1ubuntu3                   all          HTTP library with thread-safe connection pooling for Python3
ii  python3.4                        3.4.3-1ubuntu1~14.04.1           amd64        Interactive high-level object-oriented language (version 3.4)
ii  python3.4-minimal                3.4.3-1ubuntu1~14.04.1           amd64        Minimal subset of the Python language (version 3.4)

-- 
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 python-botocore package in Ubuntu:
  Fix Released
Status in python3.4 package in Ubuntu:
  Confirmed
Status in python-botocore source package in Trusty:
  Fix Committed
Status in python3.4 source package in Trusty:
  Confirmed

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/python-botocore/+bug/1499075/+subscriptions


References