Upgrade azure-identity to 1.17.1 and resolve Flask/Werkzeug dependency conflicts #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR resolves the dependency conflict that caused Dependabot PR #50 to fail CI when attempting to upgrade
azure-identity
.Problem
Dependabot PR #50 attempted to upgrade
azure-identity
but failed with the following dependency conflict:Root Cause
Newer versions of
azure-identity
introduce Flask as a transitive dependency (likely for local authentication flows). Flask 2.2.0+ requireswerkzeug>=2.0.0
, but the environment hadwerkzeug 1.0.1
, creating a version conflict that prevented installation.Solution
werkzeug>=2.0.0
to ensure compatible versions when Flask is pulled in as a dependencypyproject.toml
to use the new ruff configuration formatVerification
To verify the fix works:
python -m venv .venv source .venv/bin/activate pip install -r requirements-dev.txt
This should now install successfully without the Flask/Werkzeug version conflicts that prevented the original Dependabot PR from passing CI.
Changes Made
src/requirements.txt
: Upgradedazure-identity==1.17.1
and addedwerkzeug>=2.0.0
pyproject.toml
: Moved ruff configuration to new[tool.ruff.lint]
section formatThis is a minimal, surgical fix that addresses the specific dependency conflict while allowing the desired azure-identity upgrade to proceed.
Fixes #87.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.