[Bug 1095041] New: python3-botocore: :'AWSHTTPSConnection' object has no attribute 'ssl_context'
http://bugzilla.suse.com/show_bug.cgi?id=1095041 Bug ID: 1095041 Summary: python3-botocore: :'AWSHTTPSConnection' object has no attribute 'ssl_context' Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.wilck@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Problem:
mwilck@apollon:~> aws ec2 describe-instances
'AWSHTTPSConnection' object has no attribute 'ssl_context'
See https://github.com/boto/botocore/issues/1258 According to https://github.com/boto/botocore/issues/1258#issuecomment-323469132, this is caused by the packaged botocore replacing the vendor-supplied "requests" module with the official release. I've verified this in OBS project home:mwilck:branches:devel:languages:python:aws. Upgrading to the latest botocore version 1.10.28 does not fix the issue unless the code in the spec file that replaces the botocore-shipped requests module with the official requests module is removed. Unfortunately, it's impossible to directly upgrade to the thus modified python3-botocore package, because rpm detects file conflicts caused by the %{$python_sitelib}/requests %{buildroot}%{$python_sitelib}/botocore/vendored/requests symlink in the current package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c1
--- Comment #1 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c2
--- Comment #2 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c3
Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c4
--- Comment #4 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c5
--- Comment #5 from Tomáš Chvátal
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c6
--- Comment #6 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c7
Robert Schweikert
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c8
--- Comment #8 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c10
--- Comment #10 from Martin Wilck
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c11
--- Comment #11 from John Paul Adrian Glaubitz
Upstream has unvendored requests in 1.11.0.
https://github.com/boto/botocore/issues/1258#issuecomment-415928768
So this issue could be solved by updating python-botocore to 1.11.
I have an updated python-botocore package ready but it is blocked by python-urllib3 which is too old in Leap 42.3 and SLE-12-SP3 where I need to update it first. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c14
--- Comment #14 from Martin Wilck
yeah, saw that already. Seriously: We are entering a dependency circle here. The problem described in this bug isn't relevant for SLE-12 and Leap 42, as we still ship python-requests 2.11 there. This is still true for SLE-12-SP4, AFAICS. So, at least as far as this problem here is concerned, we can stay with botocore 1.10 just fine in SLE-12 and Leap 42. OTOH, in factory, SLE15, and Leap15, we have the need to update botocore because it just doesn't work at all with the shipped python-requests (2.19 / 2.18, respectively). So from my point of view it'd make an awful lot of sense to accept botocore 1.11 into factory and SLE15, while going with 1.10 for SLE12. I'm having a bit of a hard time trying to understand why SLE12 needs to get this cutting-edge update at all. Stuff like this ought to go to 15 in my understanding. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Maintenance Robot
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Maintenance Robot
http://bugzilla.suse.com/show_bug.cgi?id=1095041
http://bugzilla.suse.com/show_bug.cgi?id=1095041#c18
--- Comment #18 from Swamp Workflow Management
http://bugzilla.suse.com/show_bug.cgi?id=1095041
Maintenance Robot
https://bugzilla.suse.com/show_bug.cgi?id=1095041
https://bugzilla.suse.com/show_bug.cgi?id=1095041#c19
John Paul Adrian Glaubitz
https://bugzilla.suse.com/show_bug.cgi?id=1095041
https://bugzilla.suse.com/show_bug.cgi?id=1095041#c20
Martin Wilck
https://bugzilla.suse.com/show_bug.cgi?id=1095041
https://bugzilla.suse.com/show_bug.cgi?id=1095041#c21
John Paul Adrian Glaubitz
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com