From 9f478a30d4a2e6cfdf864edc42529e35081846ff Mon Sep 17 00:00:00 2001 From: Thomas Lento Date: Mon, 30 Oct 2023 11:28:42 -0700 Subject: [PATCH] Prevent typing-extensions from auto-updating to 5.x (#200) 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. --- .changes/unreleased/Dependencies-20231026-161207.yaml | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Dependencies-20231026-161207.yaml diff --git a/.changes/unreleased/Dependencies-20231026-161207.yaml b/.changes/unreleased/Dependencies-20231026-161207.yaml new file mode 100644 index 00000000..bb6fa40c --- /dev/null +++ b/.changes/unreleased/Dependencies-20231026-161207.yaml @@ -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" diff --git a/pyproject.toml b/pyproject.toml index 11d419f7..2c40963b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]