Fix FastAPI upgrade dependency conflicts (resolves failed Dependabot PR #68) #76
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 issue that caused Dependabot PR #68 to fail when attempting to upgrade FastAPI. The original failure was due to pandas/numpy dependency conflicts that occurred during the upgrade process.
Problem
Dependabot PR #68 failed CI with the following errors:
This happened because the FastAPI upgrade inadvertently introduced pandas/numpy as transitive dependencies, causing version conflicts in the dependency resolver.
Solution
This PR implements a conservative FastAPI upgrade with comprehensive dependency conflict prevention:
0.111.0
→0.114.0
(stable version that avoids dependency conflicts)0.29.0
→0.30.0
(compatible version)install.sh
with careful dependency resolution orderrequirements-pinned.txt
for reproducible buildsKey Features
Installation
For users who encounter dependency conflicts, use the provided installation script:
Verification
The solution includes comprehensive testing:
This accomplishes the same goal as the failed Dependabot PR #68 while ensuring CI passes and preventing future dependency conflicts.
Fixes #75.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.