Identifying Python Airbyte-CDK Version in Connector Builder

Summary

Inquiry about determining the version of the python airbyte-cdk used in Connector Builder and identifying the python version utilized in the connector, specifically with Airbyte v1.1.0.


Question

When writing in the Connector Builder, how can we know which version of the python airbyte-cdk is being used? Bonus question, which python version is used in our connector? (our deployment is on Airbyte v1.1.0)



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

['airbyte-cdk-version', 'python-version', 'connector-builder', 'airbyte-v1.1.0']

A bit of reverse engineering.

As I checked version of Python CDK is the same as the version in YAML when creating completely new connector in builder. On Airbyte 1.2.0 I have 6.1.0 and this version I found in airbyte-abctl-connector-builder-server-... pod

Python 3.10.14
[airbyte@airbyte-abctl-connector-builder-server-7bd98d89c8-tk26c app]$ pip list
Package                             Version
----------------------------------- -----------
airbyte-cdk                         6.1.0```
Synchronization uses `airbyte/source-declarative-manifest:6.5.2` Docker image for `source` container

On my local machine I run
`docker run --rm --entrypoint="" -it airbyte/source-declarative-manifest:6.5.2 bash`
then I found
```root@bf1adee71ddd:/airbyte/integration_code# python --version
Python 3.10.14
root@bf1adee71ddd:/airbyte/integration_code# pip list
Package                             Version
----------------------------------- -----------
airbyte-cdk                         6.5.2```
I wasn't able to check it for running container in replication-job pod, but it looks like there might be some differences between build/test and runtime environments

<@U05JENRCF7C> ok really good idea how to find it … thanks so much

for the record i had in my airbyte 1.1.0 install, python 3.10.14 and airbyte-cdk 5.7.5