From f4b3ea136d08ff5928bb587161bf31bb24d84dfa Mon Sep 17 00:00:00 2001 From: Scott Odle Date: Mon, 4 Dec 2023 14:00:09 -0700 Subject: [PATCH] Fix linting and dependencies --- release_notes/unreleased.md | 1 + requirements.txt | 1 - winrm_connector.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release_notes/unreleased.md b/release_notes/unreleased.md index 241d67c..5bee17a 100644 --- a/release_notes/unreleased.md +++ b/release_notes/unreleased.md @@ -1,3 +1,4 @@ **Unreleased** * Use the Vault API to create temporary files, instead of manual filesystem access [PAPP-32449] * Update `min_phantom_version` to 6.1.1 +* Remove `requests` dependency, instead using the one built into the platform diff --git a/requirements.txt b/requirements.txt index 3a164f5..b23840b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ beautifulsoup4==4.9.1 ntlm_auth==1.5.0 pywinrm==0.4.1 -requests==2.25.0 requests_ntlm==1.1.0 six==1.15.0 xmltodict==0.12.0 diff --git a/winrm_connector.py b/winrm_connector.py index 04febd0..589820b 100644 --- a/winrm_connector.py +++ b/winrm_connector.py @@ -33,13 +33,13 @@ import phantom.rules as phantom_rules import requests import six +import winrm from bs4 import UnicodeDammit from phantom.action_result import ActionResult from phantom.base_connector import BaseConnector # Local imports import parse_callbacks as pc -import winrm import winrm_consts as consts