Skip to content

Commit

Permalink
Prevent typing-extensions from auto-updating to 5.x (#200)
Browse files Browse the repository at this point in the history
The typing-extensions project announced adherence to semver with
4.0.0, which means, at least in theory, 5.0 might include
breaking changes.

Rather than risk user packages auto-updating to backwards-incompatible
versions, we pin this back to ~=4.0, which is equivalent to >=4.0, <5.
  • Loading branch information
tlento committed Nov 3, 2023
1 parent 1a95cc0 commit 9c4c808
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20231026-161207.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Dependencies
body: Restrict typing dependencies to 4.x
time: 2023-10-26T16:12:07.392758-07:00
custom:
Author: tlento
PR: "200"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
"click>=7.0,<9.0",
"python-dateutil~=2.0",
"importlib_metadata~=6.0",
"typing-extensions>=4.4",
"typing-extensions~=4.4",
]

[build-system]
Expand Down

0 comments on commit 9c4c808

Please sign in to comment.