<@U04S8PLJWMT> in Airbyte documentation there is t...
# ask-ai
c
@kapa.ai in Airbyte documentation there is this section Packaging Connectors must use Poetry for dependency management Applies to the following connector types: source, destination Applies to the following connector languages: python, low-code Applies to connector with any support level Applies to connector with any internal support level Applies to connector with any Airbyte usage level Connectors must use Poetry for dependency management. This is to ensure that all connectors use a dependency management tool which locks dependencies and ensures reproducible installs. what does this section means for the developer to work on? what should be done here?
k
This section means that, as a developer working on Airbyte connectors (specifically Python or low-code connectors), you are required to use [Poetry](https://python-poetry.org/) as the tool for managing your project's dependencies. Poetry is a dependency management tool for Python that helps lock dependencies and ensures that installs are reproducible across different environments. What you should do: - Initialize your connector project with Poetry: When you start a new connector, use
poetry init
to create a
pyproject.toml
file, which will define your project's dependencies and metadata. - Add dependencies using Poetry: Use
poetry add <package>
to add any required libraries. This ensures all dependencies are tracked and locked. - Install dependencies with Poetry: Use
poetry install
to install all dependencies as defined in your
pyproject.toml
and
poetry.lock
files. - Do not use pip or requirements.txt for dependency management: All dependency management should be handled through Poetry to comply with Airbyte's requirements. This requirement ensures that all Airbyte connectors have consistent, reproducible environments, making it easier to build, test, and deploy connectors reliably. For more details, see the official documentation on [QA checks - Packaging](https://docs.airbyte.com/platform/contributing-to-airbyte/resources/qa-checks#-packaging) and the [custom Python connector environment setup](https://docs.airbyte.com/platform/connector-development/tutorials/custom-python-connector/environment-setup). > "Connectors must use [Poetry](https://python-poetry.org/) for dependency management. This is to ensure that all connectors use a dependency management tool which locks dependencies and ensures reproducible installs." > [QA checks - Packaging](https://docs.airbyte.com/platform/contributing-to-airbyte/resources/qa-checks#-packaging)