From 4fdec025fac33136d80c460769e3e0b006c20edb Mon Sep 17 00:00:00 2001 From: Guy Lichtman <1395797+glicht@users.noreply.github.com> Date: Fri, 11 Oct 2019 18:36:17 +0300 Subject: [PATCH 1/2] fix missing dependency --- CHANGELOG.md | 3 +++ requirements.txt | 6 ++++-- setup.py | 5 +++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56c6ae97..49d1dbd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ [1]: https://pypi.org/project/demisto-py/#history +## 2.0.4 +Fix missing dependency (tzlocal). + ## 2.0.3 * Fix issue in `generic_request` where body was being ignored ([#20](https://github.com/demisto/demisto-py/issues/20)) . * Add `content_type` and `accept` parameters to `generic_request`. diff --git a/requirements.txt b/requirements.txt index a513661b..2f03c369 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,8 @@ -certifi >= 14.05.14 +# NOTE: any requirements added here should also be added to setup.py REQUIRES list +certifi >= 2017.4.17 six >= 1.10 python_dateutil >= 2.5.3 setuptools >= 21.0.0 -urllib3 >= 1.15.1 +urllib3 >= 1.23 tzlocal >= 2.0.0 +# NOTE: any requirements added here should also be added to setup.py REQUIRES list \ No newline at end of file diff --git a/setup.py b/setup.py index e79a3360..a7493889 100644 --- a/setup.py +++ b/setup.py @@ -18,9 +18,10 @@ REQUIRES = [ "certifi>=2017.4.17", - "python-dateutil>=2.1", + "python-dateutil>=2.5.3", "six>=1.10", - "urllib3>=1.23" + "urllib3>=1.23", + "tzlocal>=2.0.0", ] with open('README.md', 'r') as f: From 2fb0a4ed11e694cfc3ee660812ab423d5204a169 Mon Sep 17 00:00:00 2001 From: Guy Lichtman <1395797+glicht@users.noreply.github.com> Date: Fri, 11 Oct 2019 18:40:26 +0300 Subject: [PATCH 2/2] add note about examples --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6c9b06f9..94750158 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ except ApiException as e: ``` +Additional examples available in the [docs](docs/README.md) and under the [examples folder](examples/). + ## API Documentation API Documentation based upon the Demisto Server Swagger API is available [here](docs/README.md)