Skip to content

Update dependencies to latest versions including sumologic-sdk, pygments, urllib3, sphinx-rtd-theme, and ruff#890

Open
ianhelle wants to merge 26 commits intomainfrom
ianhelle/dependabot-updates
Open

Update dependencies to latest versions including sumologic-sdk, pygments, urllib3, sphinx-rtd-theme, and ruff#890
ianhelle wants to merge 26 commits intomainfrom
ianhelle/dependabot-updates

Conversation

@ianhelle
Copy link
Copy Markdown
Contributor

@ianhelle ianhelle commented Apr 27, 2026

This pull request mainly focuses on code formatting improvements, dependency updates, and minor logic clarifications. The most significant changes are grouped below:

Dependency Updates:

  • Updated ruff-pre-commit linter version in .pre-commit-config.yaml from v0.14.8 to v0.15.12.
  • Bumped sphinx-rtd-theme in docs/requirements.txt to >=3.1.0,<4.0.
  • Updated pygments to >=2.20.0 and urllib3 to >=2.6.3 in requirements-all.txt. [1] [2]

Azure Sentinel error message formatting:

Logic and formatting improvements:

  • Removed redudance parentheses in remove_common_items.
  • Improved robustness of lambda functions extracting ThreatType in Azure Sentinel BYOTI provider. [1] [2]

Code formatting and minor refactoring:

  • In cybereason_driver.py, simplified assignment and error message formatting, and made minor formatting changes for readability. [1] [2] [3] [4]
  • Minor refactorings in resource ID parsing and extraction for Azure Sentinel utilities and workspaces. [1] [2]

These changes improve code consistency, maintainability, and keep dependencies current.

dependabot Bot and others added 12 commits April 27, 2026 17:18
Updates the requirements on [sumologic-sdk](https://github.com/SumoLogic/sumologic-python-sdk) to permit the latest version.
- [Changelog](https://github.com/SumoLogic/sumologic-python-sdk/blob/main/CHANGELOG.md)
- [Commits](SumoLogic/sumologic-python-sdk@0.1.11...v0.1.17)

---
updated-dependencies:
- dependency-name: sumologic-sdk
  dependency-version: 0.1.17
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pygments](https://github.com/pygments/pygments) to permit the latest version.
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.0...2.20.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-version: 2.20.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@1.23...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) to permit the latest version.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](readthedocs/sphinx_rtd_theme@3.0.0...3.1.0)

---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
  dependency-version: 3.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version.
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.6.6...0.15.12)

---
updated-dependencies:
- dependency-name: ruff
  dependency-version: 0.15.12
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates MSTICPy’s dependency constraints and pre-commit tooling while applying small formatting/clarity refactors across several modules (notably Azure Sentinel helpers and the Cybereason driver).

Changes:

  • Bump multiple dependency minimums (e.g., pygments/urllib3, sphinx-rtd-theme) and update ruff-pre-commit rev.
  • Reformat/standardize several Azure Sentinel HTTP error message assignments and a few small utility/comprehension/lambda expressions.
  • Minor readability refactors in Cybereason driver and package download tooling.

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tools/download_python_package.py Safer extras stripping using split(..., maxsplit=1).
requirements.txt Bump pygments and urllib3 minimum versions.
requirements-dev.txt Bump ruff and sphinx-rtd-theme minimum versions.
requirements-all.txt Update pygments/urllib3 minimums and reorder a couple of entries.
msticpy/data/drivers/cybereason_driver.py Formatting-only refactors for readability/consistency.
msticpy/context/tiproviders/azure_sent_byoti.py Parenthesized lambda formatting for clarity.
msticpy/context/azure/sentinel_workspaces.py One-line dict comprehension formatting.
msticpy/context/azure/sentinel_watchlists.py Standardize HTTP error message assignment formatting.
msticpy/context/azure/sentinel_utils.py Standardize HTTP error message assignment + minor cast formatting.
msticpy/context/azure/sentinel_ti.py Standardize HTTP error message assignment formatting.
msticpy/context/azure/sentinel_incidents.py Standardize HTTP error message assignment formatting.
msticpy/context/azure/sentinel_bookmarks.py Simplify HTTP error message assignment formatting.
msticpy/context/azure/sentinel_analytics.py Standardize HTTP error message assignment formatting.
msticpy/analysis/outliers.py Small lambda formatting change in remove_common_items.
docs/requirements.txt Bump sphinx-rtd-theme minimum version for docs.
.pre-commit-config.yaml Update ruff-pre-commit revision.

Comment thread requirements-all.txt Outdated
Comment thread requirements-all.txt Outdated
Comment thread msticpy/analysis/outliers.py
ianhelle and others added 13 commits April 27, 2026 18:32
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Updates the requirements on [ipython](https://github.com/ipython/ipython) to permit the latest version.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](ipython/ipython@7.23.1...9.13.0)

---
updated-dependencies:
- dependency-name: ipython
  dependency-version: 9.13.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [msal-extensions](https://github.com/AzureAD/microsoft-authentication-extensions-for-python) to permit the latest version.
- [Release notes](https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases)
- [Commits](AzureAD/microsoft-authentication-extensions-for-python@0.3.0...1.3.1)

---
updated-dependencies:
- dependency-name: msal-extensions
  dependency-version: 1.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [nest-asyncio](https://github.com/erdewit/nest_asyncio) to permit the latest version.
- [Release notes](https://github.com/erdewit/nest_asyncio/releases)
- [Commits](erdewit/nest_asyncio@v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: nest-asyncio
  dependency-version: 1.6.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [azure-kusto-data](https://github.com/Azure/azure-kusto-python) to permit the latest version.
- [Release notes](https://github.com/Azure/azure-kusto-python/releases)
- [Changelog](https://github.com/Azure/azure-kusto-python/blob/master/CHANGELOG.md)
- [Commits](Azure/azure-kusto-python@v4.4.0...v6.0.3)

---
updated-dependencies:
- dependency-name: azure-kusto-data
  dependency-version: 6.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [bandit](https://github.com/PyCQA/bandit) to permit the latest version.
- [Release notes](https://github.com/PyCQA/bandit/releases)
- [Commits](PyCQA/bandit@1.7.0...1.9.4)

---
updated-dependencies:
- dependency-name: bandit
  dependency-version: 1.9.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…gte-6.0.3-and-lt-7.0.0' into ianhelle/dependabot-updates
Update conda-reqs.txt to match requirements.txt after dependabot merges:
- azure-kusto-data >=6.0.3
- ipython >=9.13.0
- msal_extensions >=1.3.1
- nest_asyncio >=1.6.0 (added)
- packaging >=24.0 (added)
- pygments >=2.20.0
- urllib3 >=2.6.3

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants