Skip to content

Commit ae5cecb

Browse files
committed
BREAKING CHANGE: removed requests from solnlib dependencies
1 parent e0d4b15 commit ae5cecb

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

docs/release_6_0_0.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Removed requests from solnlib
2+
3+
The `requests` library has been removed from solnlib, so solnlib now depends on the `requests` library from the running environment.
4+
By default, splunk delivers `requests` whose version depends on the splunk version. More information [here](https://docs.splunk.com/Documentation/Splunk/9.2.3/ReleaseNotes/Credits).
5+
6+
Please note that if `requests` are installed in `<Add-on>/lib` e.g. as a dependency of another library, that version will be taken first.
7+
If `requests` are missing from the add-on's `lib` directory, then `requests` provided from splunk will be used. In case the splunk `requests` version is not sufficient for you,
8+
you can deliver version you need by simply adding it to the `requirements.txt` or `pyproject.toml` file in your add-on.

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ plugins:
3030

3131
nav:
3232
- Home: index.md
33+
- Release 6.0.0: release_6_0_0.md
3334
- References:
3435
- modular_input:
3536
- "checkpointer.py": modular_input/checkpointer.md

poetry.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ classifiers = [
4040

4141
[tool.poetry.dependencies]
4242
python = ">=3.7,<3.14"
43-
requests = "^2.31.0"
4443
urllib3 = "<2"
4544
sortedcontainers = ">=2"
4645
defusedxml = ">=0.7"

0 commit comments

Comments
 (0)