python3.4.3 SRU breaks awscli
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | python-botocore (Ubuntu) |
Critical
|
Unassigned | ||
| | Trusty |
Critical
|
Unassigned | ||
Bug Description
The recently (~6h ago) python3.4.3 SRU update contains backwards-
<email address hidden>:~# aws
Traceback (most recent call last):
File "/usr/bin/aws", line 23, in <module>
sys.
File "/usr/bin/aws", line 19, in main
return awscli.
File "/usr/share/
driver = create_clidriver()
File "/usr/share/
event_
File "/usr/share/
plugin.
File "/usr/share/
register_
File "/usr/share/
'verify-
File "/usr/share/
self.
File "/usr/lib/
self.
File "/usr/lib/
argspec = inspect.
File "/usr/lib/
raise ValueError(
ValueError: Function has keyword-only arguments or annotations, use getfullargspec() API which can support them
This bug has been fixed upstream via https:/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python3.4 3.4.3-1ubuntu1~
ProcVersionSign
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)
Ec2Availability
Ec2InstanceType: c4.8xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: python3.4
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
| Nelson Elhage (nelhage) wrote : | #1 |
| Changed in python-botocore (Ubuntu): | |
| status: | New → Fix Released |
| Launchpad Janitor (janitor) wrote : | #2 |
| Changed in python-botocore (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in python3.4 (Ubuntu Trusty): | |
| status: | New → Confirmed |
| Changed in python3.4 (Ubuntu): | |
| status: | New → Confirmed |
| Evan Broder (broder) wrote : | #5 |
| Changed in python3.4 (Ubuntu Trusty): | |
| importance: | Undecided → Critical |
| Marc Deslauriers (mdeslaur) wrote : | #6 |
ACK on the debdiff, uploaded to queue for the SRU team.
| Changed in python-botocore (Ubuntu Trusty): | |
| status: | Confirmed → In Progress |
| Matthias Klose (doko) wrote : | #7 |
not sure what the best thing to do ... either revert that, or fix the packages affected by this incompatible upstream change.
Hello Nelson, or anyone else affected,
Accepted python-botocore into trusty-proposed. The package will build now and be available at https:/
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in python-botocore (Ubuntu Trusty): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Adrien Siebert (asiebert) wrote : | #9 |
Hi Adam,
just successfully tested out 0.29.0+
We had the exact same issue when using the aws-cli after the python3.4 upgrade, and from our limited testing it appear to be fixed with the proposed package.
| Slobodan Miskovic (slobodan) wrote : | #10 |
0.29.0+
| tags: |
added: verification-done removed: verification-needed |
| Wayne Clancy (wayneclancy80) wrote : | #11 |
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-
Traceback (most recent call last):
File "/usr/bin/aws", line 23, in <module>
sys.
File "/usr/bin/aws", line 19, in main
return awscli.
File "/usr/share/
driver = create_clidriver()
File "/usr/share/
event_
File "/usr/share/
plugin.
File "/usr/share/
register_
File "/usr/share/
'verify-
File "/usr/share/
self.
File "/usr/lib/
self.
File "/usr/lib/
argspec = inspect.
File "/usr/lib/
raise ValueError(
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-
ii libpython-
ii libpython2.7:amd64 2.7.6-8ubuntu0.2 amd64 Shared Python runtime library (version 2.7)
ii libpython2.
ii libpython2.
ii libpython3-
ii libpython3.
ii libpython3.
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 ...
| Silvio SantoZ (pardinilist) wrote : | #12 |
@adconrad: I can confirm that python3-botocore (0.29.0+
@wayne: no, you don't have the updated botocore. Try this:
wget "http://
dpkg -i python3-
| Tom Wills (r-mail-q) wrote : | #13 |
I can run awscli successfully after upgrading to 0.29.0+
| Barry Warsaw (barry) wrote : | #14 |
Since this is fixed in boto, are the Python bugtasks still relevant?
| Matthias Klose (doko) wrote : | #15 |
won't fix in python3.4 for trusty; let's update other packages in the archive if we find them. Third party software is much more likely to expect the 3.4.3 behaviour over the 3.4.0 behaviour.
| no longer affects: | python3.4 (Ubuntu) |
| Changed in python3.4 (Ubuntu Trusty): | |
| status: | Confirmed → Won't Fix |
| Jaap-Andre de Hoop (j-dehoop) wrote : | #16 |
Just update python3-botocore from ubuntu-proposed and aws (awscli) is running without a problem (on two computers) again,
| Stefan Horning (stefan-horning) wrote : | #17 |
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+
Steps
1. Added deb http://
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-
Unpacking python-ply (3.4-3ubuntu2) ...
Selecting previously unselected package python-jmespath.
Preparing to unpack .../python-
Unpacking python-jmespath (0.2.1-1) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-
Unpacking python-dateutil (1.5+dfsg-1ubuntu1) ...
Selecting previously unselected package python-botocore.
Preparing to unpack .../python-
Unpacking python-botocore (0.29.0+
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+
4. execute aws and still get
Traceback (most recent call last):
File "/usr/bin/aws", line 23, in <module>
sys.
File "/usr/bin/aws", line 19, in main
return awscli.
File "/usr/share/
driver = create_clidriver()
File "/usr/share/
event_
File "/usr/share/
plugin.
File "/usr/share/
register_
File "/usr/share/
'verify-
File "/usr/share/
self.
File "/usr/lib/
self.
File "/usr/lib/
argspec = inspect.
File "/usr/lib/
raise ValueError(
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?
| Stefan Horning (stefan-horning) wrote : | #18 |
Here some system information of where I tried it:
Linux ip-172-16-1-173 3.13.0-65-generic #105-Ubuntu SMP Mon Sep 21 18:50:58 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
| Stefan Horning (stefan-horning) wrote : | #19 |
Ok the trick seems to be that you have to activate the proposed repo before installing awscli and any package it brings onto the system. So if you already have awscli installed you should to a apt-get remove awscli AND a apt-get autoclean and then to a fresh install of awscli, afther that the bug is fixed.
| Stefan Horning (stefan-horning) wrote : | #20 |
I of course meant `apt-get autoremove`
| Jeff Hansen (sqrammi) wrote : | #21 |
When will python-botocore hit updates? I still get the error right now on a fresh Ubuntu instance.
| Launchpad Janitor (janitor) wrote : | #22 |
This bug was fixed in the package python-botocore - 0.29.0+
---------------
python-botocore (0.29.0+
* debian/
3.4.1 or later. (LP: #1499075)
-- Evan Broder <email address hidden> Wed, 23 Sep 2015 17:35:34 -0400
| Changed in python-botocore (Ubuntu Trusty): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #23 |
The verification of the Stable Release Update for python-botocore has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.
| no longer affects: | python3.4 (Ubuntu Trusty) |
| Changed in python-botocore (Ubuntu): | |
| importance: | Undecided → Critical |
| Changed in python-botocore (Ubuntu Trusty): | |
| importance: | Undecided → Critical |
| tags: | added: regression-update |


Status changed to 'Confirmed' because the bug affects multiple users.