Loosen dependency pins: cachetools, aiohttp, requests#129
Open
socketz wants to merge 3 commits intoipinfo:masterfrom
Open
Loosen dependency pins: cachetools, aiohttp, requests#129socketz wants to merge 3 commits intoipinfo:masterfrom
socketz wants to merge 3 commits intoipinfo:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR loosens dependency constraints in the Python package metadata to reduce install-time conflicts for consumers (Fixes #127).
Changes:
- Relax
cachetoolsfrom a hard pin (==4.2.0) to a range (>=4.2,<8). - Correct
aiohttp’s upper bound semantics by switching from<=4(effectively<=4.0.0) to<4. - Add an upper bound for
requests(<3) to avoid potential future breaking changes.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pyproject.toml |
Updates published dependency specifiers for requests, cachetools, and aiohttp. |
uv.lock |
Updates the lockfile’s requires-dist metadata to match the new dependency specifiers. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Author
|
Sorry for the AI-assisted approach — but this is a well-known pain point that's been affecting users for a while, and since the fix is straightforward, it felt worth resolving quickly rather than waiting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Loosens overly strict dependency pins that cause conflicts with other packages in the same environment.
Fixes #127
Changes
cachetools==4.2.0>=4.2,<8cachetools>=5/6/7. Tested compatible with cachetools 7.0.5.aiohttp>=3.12.14,<=4>=3,<4<=4only allowed exactly4.0.0, unintentionally excluding4.0.1+. Changed to<4to correctly express the intent of staying on the v3 series.requests>=2.18.4>=2.18.4,<3Testing
All existing tests pass with cachetools 7.0.5 and the updated constraints.