Skip to content

fix: Dependabot alerts high and critical - #1155

Merged
Roopan-Microsoft merged 4 commits into
devfrom
FixDependentbot_AK
Sep 10, 2026
Merged

fix: Dependabot alerts high and critical#1155
Roopan-Microsoft merged 4 commits into
devfrom
FixDependentbot_AK

Conversation

@Akhileswara-Microsoft

@Akhileswara-Microsoft Akhileswara-Microsoft commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Purpose

This pull request makes a couple of dependency cleanup changes to the src/backend/pyproject.toml file. The main updates are the removal of two dependencies that are no longer needed.

Dependency removals:

  • Removed the azure-ai-evaluation package, likely because it's no longer used in the project.
  • Removed the nltk package, indicating that natural language processing features depending on it have been removed or replaced.

Does this introduce a breaking change?

  • Yes
  • No

Other Information

This pull request makes some dependency updates to the src/backend/pyproject.toml file, specifically removing unused or unnecessary packages.

Dependency removals:

  • Removed the azure-ai-evaluation package, likely because it is no longer needed in the project.
  • Removed the nltk package, which suggests that natural language processing features relying on this library are no longer required.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL383555285% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
837 0 💤 0 ❌ 0 🔥 9.633s ⏱️

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

azure-ai-evaluation is still pinned in .github/requirements.txt (used by CI workflows), so the dependency cleanup/security remediation is incomplete as implemented.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This pull request aims to address Dependabot high/critical alerts by cleaning up backend Python dependencies, specifically by removing unused packages from src/backend/pyproject.toml.

Changes:

  • Removed azure-ai-evaluation==1.16.6 from backend dependencies.
  • Removed nltk==3.10.0 from backend dependencies.
File summaries
File Description
src/backend/pyproject.toml Removes two pinned dependencies from the backend dependency list to reduce exposure to vulnerable/unused packages.
Review details
  • Files reviewed: 1/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/backend/pyproject.toml
Copilot AI review requested due to automatic review settings September 9, 2026 12:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The removed packages appear unused in the repository and the dependency cleanup is consistently applied to both the backend pyproject and GitHub requirements list.

Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings September 9, 2026 12:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The removed dependencies have no remaining references in the repository, and CI requirements were updated to avoid keeping the removed package pinned.

Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Reverts commits 9b69b94 and 42ac650.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: f1b6197b-2b2e-4d4a-8837-53519434aba6
Copilot AI review requested due to automatic review settings September 9, 2026 13:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The PR description claims azure-ai-evaluation was removed, but it remains pinned in .github/requirements.txt, so the dependency cleanup may be incomplete and alerts may persist.

Review details

Suppressed comments (1)

src/backend/pyproject.toml:10

  • The PR description says azure-ai-evaluation was removed because it’s no longer needed, but it’s still pinned in .github/requirements.txt (line 21). If that file is used by CI or Dependabot, the alert(s) may persist and the dependency removal is incomplete; either remove it there as well (if truly unused) or adjust the PR description/scope accordingly.
dependencies = [
    "azure-ai-inference==1.0.0b9",
    # OLD (restore to revert): "azure-ai-projects==1.0.0",
    "azure-ai-projects==2.1.0",
  • Files reviewed: 1/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@Akhileswara-Microsoft
Akhileswara-Microsoft changed the base branch from main to dev September 10, 2026 08:14
@Roopan-Microsoft
Roopan-Microsoft merged commit ed0c026 into dev Sep 10, 2026
8 checks passed
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.

3 participants