From e8242cc5abcc8ae43184d9bc33670d3de6684da9 Mon Sep 17 00:00:00 2001 From: tlento Date: Mon, 6 Nov 2023 12:33:45 -0800 Subject: [PATCH] Update typing-extensions version to >= 4.4 With the addition of dbt-semantic-interfaces as a package dependency for dbt-core we added an implicit requirement that the local install of typing-extensions be for a version >= 4.4. This means, effective with dbt-core 1.6, our version minimum for typing-extensions has been updated to 4.4. This change reflects the reality imposed on us by our dependency hierarchy. Happily, mashumaro previously boosted its base version dependency to 4.1 some time ago, and effective with major version 4 the typing-extensions package maintainers have committed to strictly following SemVer, so this should be a low risk minimum version change. --- .changes/unreleased/Dependencies-20231106-130051.yaml | 6 ++++++ core/setup.py | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changes/unreleased/Dependencies-20231106-130051.yaml diff --git a/.changes/unreleased/Dependencies-20231106-130051.yaml b/.changes/unreleased/Dependencies-20231106-130051.yaml new file mode 100644 index 00000000000..8cdb992ab69 --- /dev/null +++ b/.changes/unreleased/Dependencies-20231106-130051.yaml @@ -0,0 +1,6 @@ +kind: Dependencies +body: Update typing-extensions version to >=4.4 +time: 2023-11-06T13:00:51.062386-08:00 +custom: + Author: tlento + PR: "9012" diff --git a/core/setup.py b/core/setup.py index ebda2498483..0cdf83338d6 100644 --- a/core/setup.py +++ b/core/setup.py @@ -73,7 +73,6 @@ # These are major-version-0 packages also maintained by dbt-labs. Accept patches. "dbt-extractor~=0.5.0", "minimal-snowplow-tracker~=0.0.2", - # DSI is under active development, so we're pinning to specific dev versions for now. "dbt-semantic-interfaces~=0.4.0", # ---- # Expect compatibility with all new versions of these packages, so lower bounds only. @@ -82,7 +81,7 @@ "protobuf>=4.0.0", "pytz>=2015.7", "pyyaml>=6.0", - "typing-extensions>=3.7.4", + "typing-extensions>=4.4", # ---- # Match snowflake-connector-python, to ensure compatibility in dbt-snowflake "cffi>=1.9,<2.0.0",