mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Merge branch 'hotfix/v3.3.1'
This commit is contained in:
@ -4,6 +4,11 @@ Release Notes
|
|||||||
PlatformIO 3.0
|
PlatformIO 3.0
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
3.3.1 (2017-05-27)
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Hotfix for recently updated Python Requests package (2.16.0)
|
||||||
|
|
||||||
3.3.0 (2017-03-27)
|
3.3.0 (2017-03-27)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
VERSION = (3, 3, 0)
|
VERSION = (3, 3, 1)
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -89,11 +89,10 @@ def main():
|
|||||||
# https://urllib3.readthedocs.org
|
# https://urllib3.readthedocs.org
|
||||||
# /en/latest/security.html#insecureplatformwarning
|
# /en/latest/security.html#insecureplatformwarning
|
||||||
try:
|
try:
|
||||||
requests.packages.urllib3.disable_warnings()
|
import urllib3
|
||||||
except AttributeError:
|
urllib3.disable_warnings()
|
||||||
raise exception.PlatformioException(
|
except (AttributeError, ImportError):
|
||||||
"Invalid installation of Python `requests` package`. See "
|
pass
|
||||||
"< https://github.com/platformio/platformio-core/issues/252 >")
|
|
||||||
|
|
||||||
# handle PLATFORMIO_FORCE_COLOR
|
# handle PLATFORMIO_FORCE_COLOR
|
||||||
if str(getenv("PLATFORMIO_FORCE_COLOR", "")).lower() == "true":
|
if str(getenv("PLATFORMIO_FORCE_COLOR", "")).lower() == "true":
|
||||||
|
Reference in New Issue
Block a user