Closed
Bug 1199020
Opened 10 years ago
Closed 10 years ago
Hide or disable the warning message about InsecurePlatformWarning (python < 2.7.9) spamming the console output
Categories
(Testing :: mozregression, defect)
Testing
mozregression
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: epinal99-bugzilla2, Assigned: parkouss)
Details
Attachments
(1 file)
Warning message when using python < 2.7.9:
C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning
It spams the console output making difficult to read (and copy) the important messages from the mozreg script.
Is it possible to hide/disable this message directly from mozreg without using the hidden command "pip install requests[security]"?
http://stackoverflow.com/questions/29099404/ssl-insecureplatform-error-when-using-requests-package
| Assignee | ||
Comment 1•10 years ago
|
||
Yup, thanks for the bug report!
I agree it is quite annoying, and the default python version on ubuntu is 2.7.8 I think - so it is impacted also.
| Assignee | ||
Comment 2•10 years ago
|
||
I tested with a python 2.7.8, no warnings anymore. :)
Updated•10 years ago
|
Attachment #8654296 -
Flags: review?(wlachance) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
Landed in https://github.com/mozilla/mozregression/commit/cbc90c7e4dafacce138b159d47aee75dcb41b07b.
Will release mozregression this weekend and it will include this fix.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
ty for the bugfix, it will make the console output more easy to read and copy. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•