← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1654315] Re: awscli now depends on python3-botocore >= 1.4

 

This bug was fixed in the package awscli - 1.11.13-1ubuntu1~16.10.0

---------------
awscli (1.11.13-1ubuntu1~16.10.0) yakkety; urgency=high

  * No-change backport to Yakkety for LP: #1654315

awscli (1.11.13-1ubuntu1) zesty; urgency=high

  * debian/control: awscli 1.11.? requires python3-botocore(>=1.4.?)
     - Depend on python3-botocore(>=1.4.70) (LP: #1654315)

awscli (1.11.13-1) unstable; urgency=medium

  * New upstream version 1.11.13 (Closes: #819451)
  * debian/patches: Refresh patches.

 -- Kamal Mostafa <kamal@xxxxxxxxxxxxx>  Tue, 10 Jan 2017 11:53:22 -0800

** Changed in: awscli (Ubuntu Yakkety)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1654315

Title:
  awscli now depends on python3-botocore >= 1.4

Status in awscli package in Ubuntu:
  Fix Released
Status in awscli source package in Xenial:
  Fix Released
Status in awscli source package in Yakkety:
  Fix Released
Status in awscli source package in Zesty:
  Fix Released
Status in awscli package in Debian:
  New

Bug description:
  1)  Description:	Ubuntu 16.04.1 LTS
  Release:	16.04

  2) 1.11.13-1~16.04.0
  3) Run aws (even just for cli help), no crash
  4) Crashes

  More info:

  After the latest update of awscli to 1.11.13-1~16.04.0 on Xenial, aws
  crashes immediately with the following Python trace:

  $ aws
  Traceback (most recent call last):
    File "/usr/bin/aws", line 27, in <module>
      sys.exit(main())
    File "/usr/bin/aws", line 23, in main
      return awscli.clidriver.main()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 50, in main
      return driver.main()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 176, in main
      parser = self._create_parser()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 157, in _create_parser
      command_table = self._get_command_table()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 91, in _get_command_table
      self._command_table = self._build_command_table()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 111, in _build_command_table
      command_object=self)
    File "/usr/lib/python3/dist-packages/botocore/session.py", line 675, in emit
      return self._events.emit(event_name, **kwargs)
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 226, in emit
      return self._emit(event_name, kwargs)
    File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 209, in _emit
      response = handler(**kwargs)
    File "/usr/lib/python3/dist-packages/awscli/customizations/preview.py", line 70, in mark_as_preview
      service_name=original_command.service_model.service_name,
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 351, in service_model
      return self._get_service_model()
    File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 368, in _get_service_model
      api_version = self.session.get_config_variable('api_versions').get(
  AttributeError: 'NoneType' object has no attribute 'get'

  Upgrading to python3-botocore from xenial-updates (currently
  1.4.70-1~16.04.0) solves the problem.  This took out a number of our
  production instances which used the cli for SSH authentication.

  -----------------------------------------

  SRU Xenial/Yakkety justification

  [Impact]

   * awscli (1.11.13-1) and its dependencies including python3-botocore were 
     recently no-change-backported to Yakkety and Xenial.  However, its specified
     python3-botocore versioned dependency is insufficient (needs a newer version
     of python3-botocore than specified).

   * If awscli is updated on Y or X (to version 1.11.13-1~whatever) without also 
     updating python3-botocore, the 'aws' command fails completely.

   * The insufficient versioned dep is a bug in Debian and Zesty too (but don't
     manifest since those only supply the newer python3-botocore version).

   * To fix this, we've bumped up the versioned dep in Zesty's awscli 
     (1.11.13-1ubuntu1), and now that needs no-change-backport back to Y and X.

   * The issue has also been bug reported in Debian.

  [Test Case]

   * On Y or X, manually update awscli to version (1.11.13-1~something), but
     do not update python3-botocore (leave it at version 1.3.23-1).  

     Run 'aws' and observe crash instead of expected command line usage/help 
     message.

  [Regression Potential]

   * None.  This update _only_ increases the versioned dependency, so as to
     force python3-botocore to update along with awscli.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1654315/+subscriptions