Skip to content

Commit

Permalink
chore: updated versions of dependent libraries (#1352)
Browse files Browse the repository at this point in the history
**Issue number:** ADDON-74804

## Summary
Updated the versions of libraries used in the development and testing of
the framework.

### Changes
> Updated dependencies to the latest version that are compatible with
Python 3.7.

### User experience
> No change to users as only libraries used are being upgraded.

## Checklist

If your change doesn't seem to apply, please leave them unchecked.

* [x] I have performed a self-review of this change
* [x] Changes have been tested
* [ ] Changes are documented
* [x] PR title follows [conventional commit
semantics](https://www.conventionalcommits.org/en/v1.0.0/)

---------

Co-authored-by: Artem Rys <[email protected]>
  • Loading branch information
hetangmodi-crest and artemrys authored Oct 8, 2024
1 parent 9ed9d08 commit 2b69348
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.3.2
hooks:
- id: pyupgrade
args:
Expand All @@ -31,17 +31,17 @@ repos:
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.4.1
hooks:
- id: mypy
exclude: (^docs/|^splunk_add_on_ucc_framework/commands/imports.py)
additional_dependencies: ['types-PyYAML']
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 5.0.4
hooks:
- id: flake8
exclude: (^splunk_add_on_ucc_framework/commands/init_template/|^splunk_add_on_ucc_framework/commands/imports.py)
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
rev: v0.42.0
hooks:
- id: markdownlint
20 changes: 10 additions & 10 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ classifiers = [
python = "^3.7"
jinja2 = ">=2,<4"
addonfactory-splunk-conf-parser-lib = "^0.4.3"
dunamai = "^1.9.0"
dunamai = "^1.22.0"
jsonschema = "^4.4.0"
PyYAML = "^6.0"
defusedxml = "^0.7.1"
Expand All @@ -52,8 +52,8 @@ colorama = "^0.4.6"
mkdocs = "^1.4.2"
importlib-metadata = {version="*", python="<3.8"}
pytest = "^7.2.1"
pytest-splunk-addon = "^5.0.0"
pytest-splunk-addon-ui-smartx = "^5.0.0"
pytest-splunk-addon = "^5.4.0"
pytest-splunk-addon-ui-smartx = "^5.3.0"
pytest-rerunfailures = "^11.1.1"
mkdocs-material = "^9.1.3"
mkdocstrings = {version=">=0", extras=["python"]}
Expand Down
3 changes: 2 additions & 1 deletion tests/ui/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addopts = -vv
--splunk-host=localhost
--splunk-user=admin
--splunk-password=Chang3d!
--splunk-hec-token=9b741d03-43e9-4164-908b-e09102327d22
--splunk-hec-token=4a8a737d-5452-426c-a6f7-106dca4e813f
--browser=chrome
--local
--persist-browser
Expand All @@ -24,3 +24,4 @@ markers =
execute_enterprise_cloud_false: tests not to be executed on enterprise cloud
forwarder: tests to be run on forwarder/standalone
sanity_test: tests for sanity check of addons
configuration: tests related to the configuration tab

0 comments on commit 2b69348

Please sign in to comment.