Fixed AttributeError: 'module' object has no attribute 'disable_warnings' when a version of requests package is less then 2.4.0

This commit is contained in:
Ivan Kravets
2015-02-11 12:59:12 +02:00
parent 2bce970809
commit cf2a7af7e3
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,8 @@
Release History
===============
0.11.0 (2015-?)
---------------
1.0.0 (2015-?)
--------------
* Added support for *ARM*-based credit-card computers: `Raspberry Pi <http://www.raspberrypi.org>`_,
`BeagleBoard <http://beagleboard.org>`_ and `CubieBoard <http://cubieboard.org>`_
@ -20,6 +20,8 @@ Release History
* Allowed to ignore some libs from *Library Dependency Finder* via
`ignore_libs <http://docs.platformio.org/en/latest/projectconf.html#ignore-libs>`_ option
* Fixed an issue with the libraries that are git repositories (`issue #49 <https://github.com/ivankravets/platformio/issues/49>`_)
* Fixed `AttributeError: 'module' object has no attribute 'disable_warnings'`
when a version of `requests` package is less then 2.4.0
0.10.2 (2015-01-06)

View File

@ -20,7 +20,7 @@ setup(
install_requires=[
"click",
"pyserial",
"requests",
"requests>=2.4.0",
# "SCons"
] + (["colorama"] if system() == "Windows" else []),
packages=find_packages(),