Skip to content

Commit

Permalink
add comment about how to install local cdk once everything is poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing committed Mar 20, 2024
1 parent 3fbd8fa commit b353dfc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ async def apply_python_development_overrides(context: ConnectorContext, connecto

# Install the airbyte-cdk package from the local directory
# We use --no-deps to avoid conflicts with the airbyte-cdk version required by the connector

# Once we enforce that all connectors are built using poetry, we should instead use something
# like `poetry add --path /{path_to_cdk}` to install the local cdk, to ensure we get the same
# dependencies we would get if we were to build the connector on a published version of this local cdk.
connector_container = connector_container.with_mounted_directory(f"/{path_to_cdk}", directory_to_mount).with_exec(
["pip", "install", "--no-deps", f"/{path_to_cdk}"], skip_entrypoint=True
)
Expand Down

0 comments on commit b353dfc

Please sign in to comment.