-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: removing requests and urllib3 dependencies (#413)
BREAKING CHANGE: removing requests and urllib3 dependencies
- Loading branch information
1 parent
97d8c06
commit a6fa555
Showing
4 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Removed requests and urllib3 from solnlib | ||
The `requests` and `urllib3` libraries has been removed from solnlib, so solnlib now depends on the `requests` and `urllib3` libraries from the running environment. | ||
By default, Splunk delivers the above libraries and their version depends on the Splunk version. More information [here](https://docs.splunk.com/Documentation/Splunk/9.2.3/ReleaseNotes/Credits). | ||
|
||
**IMPORTANT**: `urllib3` is available in Splunk `v8.1.0` and later | ||
|
||
Please note that if `requests` or `urllib3` are installed in `<Add-on>/lib` e.g. as a dependency of another library, that version will be taken first. | ||
If `requests` or `urllib3` is missing in the add-on's `lib` directory, the version provided by Splunk will be used. | ||
|
||
## Custom Version of requests and urllib3 | ||
In case the Splunk's `requests` or `urllib3` version is not sufficient for you, | ||
you can deliver version you need by simply adding it to the `requirements.txt` or `pyproject.toml` file in your add-on. | ||
|
||
## Use solnlib outside the Splunk | ||
**Solnlib** no longer provides `requests` and `urllib3` so if you want to use **solnlib** outside the Splunk, please note that you will need to | ||
provide these libraries yourself in the environment where **solnlib** is used. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters