Support for Python 3.12 in Low Code CDK

Summary

Inquiring about the compatibility of Low Code CDK with Python 3.12


Question

Are there plans to have the Low Code CDK (https://docs.airbyte.com/connector-development/config-based/tutorial/install-dependencies) work with Python 3.12?



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

["low-code-cdk", "python-3.12", "connector-builder"]

https://docs.airbyte.com/connector-development/config-based/tutorial/getting-started
> Requirements
> • Python >= 3.10
https://pypi.org/project/airbyte-cdk/
airbyte-cdk supports Python 3.12, 3.13

It looks like a contribution to template https://github.com/airbytehq/airbyte/blob/ecd56e431591663446bf55ba538cc9aee0b15d61/airbyte-integrations/connector-templates/source-low-code/pyproject.toml.hbs#L18|source-low-code/pyproject.toml.hbs#L18 is needed

Not convinced that just changing that template does it…

I tried that… then

- Installing pendulum (2.1.2): Failed

ChefBuildError

Backend subprocess exited when trying to invoke build_wheel

Traceback (most recent call last):
File “/private/var/folders/xc/4xc72rp55jn68vwfgybc4swm0000gn/T/tmpg8rm3nhs/pendulum-2.1.2/build.py”, line 5, in <module>
from distutils.command.build_ext import build_ext
ModuleNotFoundError: No module named ‘distutils’

https://github.com/airbytehq/airbyte/pull/47266
aaronsteers is working on it