I don't know what I am doing wrong but I am still seing the same error
when executing the aws command even after I installed the python-
botocore (0.29.0+repack-2ubuntu0.1) package from the proposed repo.

Steps
1. Added deb http://archive.ubuntu.com/ubuntu/ trusty-proposed restricted main 
multiverse universe to sources.list
2. apt-get update
3. apt-get install python-botocore, which correctly installed the patched 
versios as far I can see:
Selecting previously unselected package python-ply.
(Reading database ... 94892 files and directories currently installed.)
Preparing to unpack .../python-ply_3.4-3ubuntu2_all.deb ...
Unpacking python-ply (3.4-3ubuntu2) ...
Selecting previously unselected package python-jmespath.
Preparing to unpack .../python-jmespath_0.2.1-1_all.deb ...
Unpacking python-jmespath (0.2.1-1) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-dateutil_1.5+dfsg-1ubuntu1_all.deb ...
Unpacking python-dateutil (1.5+dfsg-1ubuntu1) ...
Selecting previously unselected package python-botocore.
Preparing to unpack .../python-botocore_0.29.0+repack-2ubuntu0.1_all.deb ...
Unpacking python-botocore (0.29.0+repack-2ubuntu0.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-ply (3.4-3ubuntu2) ...
Setting up python-jmespath (0.2.1-1) ...
Setting up python-dateutil (1.5+dfsg-1ubuntu1) ...
Setting up python-botocore (0.29.0+repack-2ubuntu0.1) ...

4. execute aws and still get
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


Or do I have to reinstall awscli for some reason too?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1499075

Title:
  python3.4.3 SRU breaks awscli

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to