From 1a95cc07ffdbfc6778345bcf12f46583ddceea8a Mon Sep 17 00:00:00 2001 From: Alexander Tikhonov Date: Fri, 27 Oct 2023 01:21:42 +0300 Subject: [PATCH 1/2] Update typing-extensions to require versions >=4.4 (#194) Support for the `@override` keyword was added with typing-extensions 4.4, but the previous version spec made it possible for end users to encounter errors when attempting to use dbt or MetricFlow. --- .changes/unreleased/Dependencies-20231026-122748.yaml | 6 ++++++ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Dependencies-20231026-122748.yaml diff --git a/.changes/unreleased/Dependencies-20231026-122748.yaml b/.changes/unreleased/Dependencies-20231026-122748.yaml new file mode 100644 index 00000000..c3ce96ba --- /dev/null +++ b/.changes/unreleased/Dependencies-20231026-122748.yaml @@ -0,0 +1,6 @@ +kind: Dependencies +body: Add typing-extensions>=4.0 requirement +time: 2023-10-26T12:27:48.865653+03:00 +custom: + Author: Fatal1ty + PR: "194" diff --git a/pyproject.toml b/pyproject.toml index c3feda8e..74d105b3 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.0", + "typing-extensions>=4.4", ] [build-system] From 9c4c8089211d80e07b63ab3ade63eac3046b74d2 Mon Sep 17 00:00:00 2001 From: Thomas Lento Date: Mon, 30 Oct 2023 11:28:42 -0700 Subject: [PATCH 2/2] 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 74d105b3..35397698 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]