Skip to content

Commit 5ca35fb

Browse files
committed
estuary-cdk: make airbyte-cdk optional to unblock nltk security update
Recent versions of `airbyte-cdk` pin `nltk` to 3.9.1, which blocks the update to 3.9.3 needed for CVE-2025-14009. `estuary-cdk` doesn't use `nltk` directly; it was only pulled in transitively. This commit addresses this by: - Making `airbyte-cdk` an optional dependency via "airbyte-shim" extras. - Adding extras = ["requests"] to `google-auth` (it previously was pulled in via airbyte-cdk) - Removing unused `nltk` from `estuary-cdk`'s direct dependencies. - Updating imported connectors using the airbyte shim to specify extras = ["airbyte-shim"] - Regenerating `poetry.lock` for all affected connectors. This removes the `nltk` dependency for all native and imported connectors except `source-brevo`. source-brevo remains blocked because airbyte-cdk ^6 pins `nltk` to 3.9.1. It will need a native rewrite or an upstream airbyte-cdk fix to remove or update the `nltk` dependency.
1 parent 2b38eae commit 5ca35fb

File tree

78 files changed

+5391
-82292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+5391
-82292
lines changed

estuary-cdk/poetry.lock

Lines changed: 101 additions & 236 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

estuary-cdk/pyproject.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,21 @@ ijson = "^3.3.0"
1818
pycron = "^3.1.2"
1919
stream-unzip = "0.0.99"
2020

21-
airbyte-cdk = "<=6.56.0"
22-
google-auth = ">=2.40.3"
21+
google-auth = {version = ">=2.40.3", extras = ["requests"]}
2322
pendulum = "<=2.0.0 | >=3.0.0"
24-
nltk = "^3.9.1"
23+
24+
airbyte-cdk = {version = "<=6.56.0", optional = true}
25+
26+
[tool.poetry.extras]
27+
airbyte-shim = ["airbyte-cdk"]
2528

2629
[tool.poetry.group.dev.dependencies]
2730
debugpy = "^1.8.0"
2831
mypy = "^1.8.0"
2932
pytest = "^7.4.3"
3033
pytest-insta = "^0.3.0"
3134
pytest-asyncio = "0.23.8"
35+
airbyte-cdk = "<=6.56.0"
3236

3337
[build-system]
3438
requires = ["poetry-core"]

source-ada/poetry.lock

Lines changed: 136 additions & 2227 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source-airtable-native/poetry.lock

Lines changed: 14 additions & 2105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source-airtable/poetry.lock

Lines changed: 11 additions & 187 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source-airtable/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Joseph Shearer <joseph@estuary.dev>"]
66

77
[tool.poetry.dependencies]
88
airbyte-cdk = "^0.52"
9-
estuary-cdk = {path="../estuary-cdk", develop = true}
9+
estuary-cdk = {path="../estuary-cdk", develop = true, extras = ["airbyte-shim"]}
1010
python = "^3.11"
1111
types-requests = "^2.31"
1212

source-apple-app-store/poetry.lock

Lines changed: 142 additions & 2066 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source-apple-app-store/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ authors = [
1010
estuary-cdk = { path = "../estuary-cdk", develop = true }
1111
python = "^3.11"
1212
pydantic = "^2"
13+
pyjwt = "^2"
1314

1415
[tool.poetry.group.dev.dependencies]
1516
debugpy = "^1.8.0"

source-asana/poetry.lock

Lines changed: 11 additions & 187 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

source-asana/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Jonathan Wihl <jonathan@estuary.dev>", "Johnny Graettinger <johnny@e
66

77
[tool.poetry.dependencies]
88
airbyte-cdk = "^0.52"
9-
estuary-cdk = {path="../estuary-cdk", develop = true}
9+
estuary-cdk = {path="../estuary-cdk", develop = true, extras = ["airbyte-shim"]}
1010
python = "^3.11"
1111
types-requests = "^2.31"
1212

0 commit comments

Comments
 (0)