<@U04S8PLJWMT> I'm getting `exec /usr/bin/sh: exec...
# ask-ai
s
@kapa.ai I'm getting
exec /usr/bin/sh: exec format error
when trying to add my custom connectors
k
The
exec /usr/bin/sh: exec format error
typically indicates a processor architecture mismatch between your Docker image and the system running it. Based on the knowledge sources, this is a known issue that can occur when: 1. Running on ARM64 architecture: If you're running Airbyte on ARM64 systems (like Apple M1/M2 Macs or ARM-based cloud instances), your custom connector's Docker image must be built for the correct architecture. As mentioned in [Destination Snowflake - Normalization Architecture Exec Issue](https://discuss.airbyte.io/t/2517), this error appears when there's a mismatch between the image architecture and the host system. 2. Using abctl with kind: If you're running Airbyte locally using
abctl
(which uses Kubernetes in Docker), you need to load your custom connector image into the kind cluster. According to the [Loading connector docker containers into kind](https://docs.airbyte.com/platform/operator-guides/using-custom-connectors#loading-connector-docker-containers-into-kind) documentation, you should run:
Copy code
kind load docker-image <image-name>:<image-tag> -n airbyte-abctl
Recommended solutions: 1. Build for the correct architecture: Ensure your Docker image is built for the architecture where Airbyte is running. If you're on ARM64, build your image with
--platform=linux/arm64
, or for AMD64 use
--platform=linux/amd64
. 2. Load the image into kind (if using abctl): After building your custom connector image, load it into the kind cluster using the command above. 3. Verify your Dockerfile: Make sure your Dockerfile's base image supports the target architecture. If you continue experiencing issues, please verify which deployment method you're using (Docker Compose, Kubernetes, or abctl) and ensure your custom connector image matches your system's architecture.
s
@kapa.ai my connector is built for AMD64 and my Airbyte is running on EKS
k
A message from kapa.ai
Based on your situation where your connector is built for AMD64 and Airbyte is running on EKS, the issue is likely that your EKS cluster is running on ARM64 instances (such as AWS Graviton processors). According to [Destination Snowflake - Normalization Architecture Exec Issue](https://discuss.airbyte.io/t/2517), this exact error (
exec format error
) occurs when running on ARM64 instances (like t4g instances in EKS) with AMD64 images. The knowledge sources confirm that "this issue appears to only affect arm64 systems." To resolve this, you have two options: 1. Build a multi-architecture image: According to the [Airbyte Protocol Docker Interface](https://docs.airbyte.com/platform/1.8/understanding-airbyte/airbyte-protocol-docker) documentation, "To run on Airbyte Platform, the image must be valid for
amd64
. Since most developers contribute from (ARM-based) Mac M-series laptops, we recommend creating a multi-arch image that covers both
arm64/amd64
so that the same image tags work on both ARM and AMD runtimes." You can build a multi-arch image using Docker Buildx:
Copy code
docker buildx build --platform linux/amd64,linux/arm64 --push -t repo/image-name:tag .
2. Switch your EKS node group to AMD64 instances: If you're currently using ARM64 instances (like t4g), migrate to AMD64 instances (like t3 or m5) to match your connector's architecture. The first option is recommended as it provides better compatibility across different environments.
s
@kapa.ai I'm building connector with command:
Copy code
airbyte-ci connectors --name=connector-name build
How to modify it?
k
A message from kapa.ai
Based on the knowledge sources, when building connectors with
airbyte-ci
, you can specify the target architecture using the
--architecture
flag. According to the [airbyte-ci failure when building a connector](https://github.com/airbytehq/airbyte/issues/50408) issue, the default behavior is mentioned in the logs: "Building connectors for ['linux/amd64'], use --architecture to change this." To build your connector for multiple architectures (which would resolve your ARM64/AMD64 compatibility issue), you should modify your command to:
Copy code
bash airbyte-ci connectors --name=connector-name build --architecture linux/amd64,linux/arm64
This will create a multi-architecture image that works on both AMD64 and ARM64 platforms, which aligns with the recommendation from the [Airbyte Protocol Docker Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol-docker) documentation that states: "we recommend creating a multi-arch image that covers both
arm64/amd64
so that the same image tags work on both ARM and AMD runtimes." This approach will ensure your connector works correctly on your ARM64 EKS cluster while maintaining compatibility with AMD64 systems.
s
@kapa.ai I'm getting this error:
Copy code
Error: Invalid value for '-a' / '--architecture': 'linux/amd64,linux/arm64' is not one of 'linux/amd64', 'linux/arm64'.
k
A message from kapa.ai
I apologize for the confusion in my previous response. Based on the error message you're receiving, the
--architecture
flag only accepts a single architecture value at a time, not multiple comma-separated values. Unfortunately, the knowledge sources don't provide explicit documentation on how to build multi-architecture images using the
airbyte-ci
command. The error indicates that you need to choose either
linux/amd64
or
linux/arm64
, but not both simultaneously. However, I should note an important update: According to the [airbyte-ci (deprecated)](https://docs.airbyte.com/platform/connector-development/local-connector-development#airbyte-ci-deprecated) documentation, "The Airbyte CI tool is now deprecated and will be phased out shortly. Most airbyte-ci commands have a simpler equivalent in Poe, which you can discover using
poe --help
." Given this deprecation and the limitation you're encountering, I recommend: 1. Check if Poe has multi-arch build support: Run
poe --help
to see if there's a Poe command that supports building multi-architecture images. 2. Use Docker Buildx directly: As an alternative, you could build your connector image directly using Docker Buildx with the multi-platform flag I mentioned earlier, rather than using
airbyte-ci
. The knowledge sources don't contain specific information about building multi-architecture images with the current
airbyte-ci
tool or its Poe replacement. You may need to consult the latest Airbyte documentation or community forums for the current recommended approach.
s
@kapa.ai ok, I can build with docker buildx, but it requires Dockerfile. How should it look like?
k
A message from kapa.ai
Based on the knowledge sources, here's how your Dockerfile should look for an Airbyte Python connector: According to the [Connector Acceptance Tests Reference](https://docs.airbyte.com/platform/connector-development/testing-connectors/connector-acceptance-tests-reference#setting-up-standard-acceptance-tests-for-your-connector), you can create a Dockerfile like this:
Copy code
dockerfile FROM airbyte/python-connector-base:1.1.0  COPY . ./airbyte/integration_code RUN pip install ./airbyte/integration_code  # The entrypoint and default env vars are already set in the base image # ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" # ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
Important notes from the documentation: 1. The example above is noted as "not optimized" - it's a basic template to get started. 2. According to the [Airbyte Protocol Docker Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol-docker), your Dockerfile must include the
AIRBYTE_ENTRYPOINT
environment variable with absolute paths: - ✅ Correct:
ENV AIRBYTE_ENTRYPOINT="python /airbyte/integration_code/main.py"
- ❌ Incorrect:
ENV AIRBYTE_ENTRYPOINT="./main.py"
3. The base image already sets the entrypoint and environment variables, so you typically don't need to add them unless you have specific requirements. Once you have this Dockerfile, you can build your multi-architecture image with:
Copy code
bash docker buildx build --platform linux/amd64,linux/arm64 --push -t repo/image-name:tag .
Note: The documentation mentions that building with a Dockerfile "is not preferred, and is not supported for certified connectors." The preferred method is using
airbyte-ci
, but given your multi-architecture requirements and the limitations you've encountered, using Docker Buildx directly is a valid workaround.
s
@kapa.ai I'm getting
exec /bin/sh: exec format error
when running docker buildx for arm64 architecture. I'm running it on Ubuntu WSL x86_64
k
A message from kapa.ai
The error you're encountering is expected behavior. When you try to build an ARM64 image on an x86_64 (AMD64) system using Docker Buildx, you need to set up QEMU emulation to enable cross-platform builds. Based on the knowledge sources, there are several documented cases of architecture-related issues. According to [Error adding a source (custom connector) to UI](https://discuss.airbyte.io/t/4652), when building on different architectures (specifically mentioned for M1 Macs, but the principle applies), you need to: 1. Enable Docker Buildx experimental features (if not already enabled) 2. Create a buildx builder instance:
Copy code
bash    docker buildx create --use
3. Build and push your multi-architecture image:
Copy code
bash    docker buildx build --platform linux/amd64,linux/arm64 --push -t repo/image-name:tag .
Important notes: - When building for ARM64 on an x86_64 system, Docker uses QEMU emulation, which should be automatically configured when you use
docker buildx
. However, if you're getting the exec format error, you may need to ensure QEMU is properly installed in your WSL environment. - The
--push
flag is required when building multi-platform images because Docker Buildx cannot load multi-platform images into the local Docker daemon directly. - According to [Re-build a connector](https://discuss.airbyte.io/t/952), when working on Windows, it's recommended to "run using WSL2 on Windows OS" for better compatibility with Airbyte connector builds. If you continue to experience issues, you might need to install QEMU manually in your WSL environment, though the knowledge sources don't provide specific instructions for this setup.
s
@kapa.ai ok, I built image with this Dockerfile:
Copy code
FROM airbyte/python-connector-base:1.1.0

COPY . ./airbyte/integration_code
RUN pip install ./airbyte/integration_code

# The entrypoint and default env vars are already set in the base image
# ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
# ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
but I'm getting:
Copy code
Entrypoint was not set! AIRBYTE_ENTRYPOINT must be set in the container.
k
A message from kapa.ai
The error indicates that the
AIRBYTE_ENTRYPOINT
environment variable is not being set in your container. Looking at your Dockerfile, you've commented out the lines that set this variable. According to the [Airbyte Protocol Docker Interface](https://docs.airbyte.com/platform/understanding-airbyte/airbyte-protocol-docker) documentation, "The Docker image must contain an environment variable called
AIRBYTE_ENTRYPOINT
. This must be the same as the
ENTRYPOINT
of the image." The documentation also emphasizes that "The
AIRBYTE_ENTRYPOINT
environment variable must use absolute paths to ensure proper execution." You need to uncomment those lines in your Dockerfile:
Copy code
dockerfile FROM airbyte/python-connector-base:1.1.0  COPY . ./airbyte/integration_code RUN pip install ./airbyte/integration_code  # Uncomment these lines - they are required! ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
The comment in the example Dockerfile stating "The entrypoint and default env vars are already set in the base image" can be misleading - while the base image may have default values, when you're building your own Dockerfile, you need to explicitly set these values for your specific connector. After updating your Dockerfile with the uncommented lines, rebuild your image and the error should be resolved.
s
@kapa.ai now I'm getting this:
Copy code
Using AIRBYTE_ENTRYPOINT: python /airbyte/integration_code/main.py
Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 3, in <module>
    from source_amazon_amp.run import run
  File "/airbyte/integration_code/source_amazon_amp/__init__.py", line 4, in <module>
    from .source_amazon_amp import SourceAmazonAmp
  File "/airbyte/integration_code/source_amazon_amp/source_amazon_amp.py", line 11, in <module>
    from airbyte_cdk.logger import init_logger
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/__init__.py", line 102, in <module>
    from .sources.declarative.declarative_stream import DeclarativeStream
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 16, in <module>
    from airbyte_cdk.sources.declarative.retrievers import SimpleRetriever
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/retrievers/__init__.py", line 5, in <module>
    from airbyte_cdk.sources.declarative.retrievers.async_retriever import AsyncRetriever
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/retrievers/async_retriever.py", line 8, in <module>
    from airbyte_cdk.sources.declarative.extractors.record_selector import RecordSelector
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/extractors/__init__.py", line 9, in <module>
    from airbyte_cdk.sources.declarative.extractors.response_to_file_extractor import (
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py", line 12, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.11/site-packages/pandas/__init__.py", line 19, in <module>
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: cannot import name randbits
k
A message from kapa.ai
The error you're encountering is related to a dependency issue with
numpy
and
pandas
in the Python connector base image. This is a known compatibility issue. Based on the knowledge sources, there are a few relevant points: 1. According to [Building Custom Connector FROM python:3.9.11-alpine3.15 as base](https://discuss.airbyte.io/t/2444), there are known issues with
pandas
and
numpy
on certain base images, particularly Alpine-based images, where "the wheel packages
pandas
and
numpy
are not supported in images based on Alpine platform." 2. The [Pyairbyte failing with
ModuleNotFoundError
](https://github.com/airbytehq/airbyte/issues/65628) issue shows that pinning specific versions of
airbyte-cdk
can resolve import-related issues. One comment mentions: "Pinning airbyte cdk to 6.60 fixes it" and another states "It also works with
airbyte-cdk==6.61
for me." Recommended solutions: 1. Try a different base image version: The base image
airbyte/python-connector-base:1.1.0
you're using may have compatibility issues. You might need to try a different version of the base image that has compatible versions of numpy and pandas. 2. Pin your airbyte-cdk version: In your
setup.py
file, try pinning the
airbyte-cdk
to a specific version that's known to work, such as
6.60.4
or `6.61.0`:
Copy code
python    MAIN_REQUIREMENTS = [        "airbyte-cdk==6.60.4",        # your other dependencies    ]
3. Check your Python version: According to [Creating a python source connector but erroring without doing anything yet](https://discuss.airbyte.io/t/3817), Python 3.11 can cause compatibility issues with the CDK. The recommendation is to "use Python 3.9 not 3.11." Unfortunately, the knowledge sources don't provide a definitive solution for this specific numpy import error with the base image you're using. You may need to experiment with different base image versions or consider using the migration to base image approach documented in [Migration Guide: How to make a python connector use our base image](https://docs.airbyte.com/platform/connector-development/cdk-python/migration-to-base-image), which uses the official Airbyte build process instead of a custom Dockerfile.
s
@kapa.ai when I built this connector with airbyte-ci, it worked well. It's not working only with docker buildx. This is my pyproject.toml:
Copy code
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "0.1.1"
name = "connector-name"
description = ""
authors = [ "Airbyte <contact@airbyte.io>",]
license = "MIT"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/connector-name"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
packages = [ { include = "connector-name" }, {include = "main.py" } ]

[tool.poetry.dependencies]
python = "^3.10,<3.12"
airbyte-cdk = "6.61.6"
numpy = ">=1.26,<2.0"
pydantic = ">=1,<3"
grpcio = ">=1.49.1,<2.0.0"
grpcio-status = ">=1.49.1,<2.0.0"
google-auth = ">=2.14,<3.0"
cachetools = ">=2.0.0,<6.0"
pyasn1-modules = ">=0.2.1"
rsa = ">=3.1.4,<5"

[tool.poetry.scripts]
connector-name = "connector-name.run:run"

[tool.poetry.group.dev.dependencies]
requests-mock = "*"
pytest-mock = "*"
pytest = "*"

[tool.poe]
include = [
    # Shared tasks definition file(s) can be imported here.
    # Run `poe` or `poe --help` to see the list of available tasks.
    "${POE_GIT_DIR}/poe-tasks/poetry-connector-tasks.toml",
]
k
A message from kapa.ai
The issue you're experiencing is likely related to how
airbyte-ci
builds connectors versus using a manual Dockerfile with Docker Buildx. According to the [Migration Guide: How to make a python connector use our base image](https://docs.airbyte.com/platform/connector-development/cdk-python/migration-to-base-image), when using `airbyte-ci`: > "It will not use a Dockerfile but will build the connector image from our [base image](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/base_images/README.md) and use our internal build logic to build an image from your Python connector code." The internal build process is "declared [here](https://github.com/airbytehq/airbyte/blob/master/airbyte-ci/connectors/pipelines/pipelines/airbyte_ci/connectors/build_image/steps/python_connectors.py#L55)." The key difference is that
airbyte-ci
uses a more sophisticated build process than a simple Dockerfile.
Your basic Dockerfile with
RUN pip install ./airbyte/integration_code
may not be handling the Poetry-based dependencies correctly. Recommended solution: Since your connector uses Poetry (as indicated by your
pyproject.toml
), your Dockerfile should properly install Poetry dependencies. Try this updated Dockerfile:
Copy code
dockerfile FROM airbyte/python-connector-base:1.1.0  WORKDIR /airbyte/integration_code  # Copy poetry files first for better caching COPY pyproject.toml poetry.lock* ./  # Install poetry and dependencies RUN pip install poetry && \     poetry config virtualenvs.create false && \     poetry install --no-dev --no-interaction --no-ansi  # Copy the rest of the code COPY . .  ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py" ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]
This approach: 1. Installs Poetry in the container 2. Uses Poetry to install dependencies from your
pyproject.toml
(which will properly handle the numpy and other dependencies) 3. Copies your code after installing dependencies (for better Docker layer caching) However, I should note that the documentation states: "This method is not preferred, and is not supported for certified connectors." The preferred approach would be to use
airbyte-ci
with the appropriate architecture flag, but given the limitations you've encountered with multi-architecture builds, this Dockerfile approach should work as a workaround.
s
@kapa.ai I'm still getting error:
Copy code
Using AIRBYTE_ENTRYPOINT: python /airbyte/integration_code/main.py
Traceback (most recent call last):
  File "/airbyte/integration_code/main.py", line 3, in <module>
    from source_amazon_amp.run import run
  File "/airbyte/integration_code/source_amazon_amp/__init__.py", line 4, in <module>
    from .source_amazon_amp import SourceAmazonAmp
  File "/airbyte/integration_code/source_amazon_amp/source_amazon_amp.py", line 11, in <module>
    from airbyte_cdk.logger import init_logger
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/__init__.py", line 102, in <module>
    from .sources.declarative.declarative_stream import DeclarativeStream
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/declarative_stream.py", line 16, in <module>
    from airbyte_cdk.sources.declarative.retrievers import SimpleRetriever
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/retrievers/__init__.py", line 5, in <module>
    from airbyte_cdk.sources.declarative.retrievers.async_retriever import AsyncRetriever
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/retrievers/async_retriever.py", line 8, in <module>
    from airbyte_cdk.sources.declarative.extractors.record_selector import RecordSelector
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/extractors/__init__.py", line 9, in <module>
    from airbyte_cdk.sources.declarative.extractors.response_to_file_extractor import (
  File "/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py", line 12, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.11/site-packages/pandas/__init__.py", line 19, in <module>
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: cannot import name randbits
stream closed: EOF for airbyte/ce-amazon-amp-spec-5780a32f-e1b2-4b0c-bcaa-d5da43405da4-0-pfmfp (main)
k
A message from kapa.ai
The issue you're experiencing is a fundamental incompatibility between the base image
airbyte/python-connector-base:1.1.0
and the dependencies required by your connector. The error trace shows that the base image is using Python 3.11 (
/usr/local/lib/python3.11/site-packages
), which is causing the numpy import issue. Looking at your
pyproject.toml
, you've specified
python = "^3.10,<3.12"
, which allows Python 3.11. However, according to [Creating a python source connector but erroring without doing anything yet](https://discuss.airbyte.io/t/3817), there are known compatibility issues with Python 3.11 and the CDK, with the recommendation being to "use Python 3.9 not 3.11." Additionally, according to [Can't build image via "airbyte-ci"](https://github.com/airbytehq/airbyte/discussions/48706), the template for source-low-code connectors uses Python 3.11, but this doesn't mean all base images support it properly. The root problem is that you're using an outdated base image (
1.1.0
) that doesn't properly support the dependencies your connector needs.
Recommended solution: Since
airbyte-ci
builds your connector successfully, you should migrate your connector to use the official base image approach instead of maintaining a custom Dockerfile. According to the [Migration Guide: How to make a python connector use our base image](https://docs.airbyte.com/platform/connector-development/cdk-python/migration-to-base-image): 1. Remove your Dockerfile from the connector folder 2. Add the base image reference to your
metadata.yaml
file:
Copy code
yaml connectorBuildOptions:     baseImage: docker.io/airbyte/python-connector-base:3.0.0@sha256:1a0845ff2b30eafa793c6eee4e8f4283c2e52e1bbd44eed6cb9e9abd5d34d844
3. Use
airbyte-ci
to build
your connector, which will use the internal build process that properly handles all dependencies This approach will ensure your connector uses the same build process that works with
airbyte-ci
, eliminating the dependency issues you're encountering with the manual Dockerfile approach. The migration guide states that "declaring the base image in the metadata.yaml file makes the Dockerfile obsolete and the connector will be built using our internal build process." Unfortunately, the knowledge sources don't provide a way to build multi-architecture images using this approach with
airbyte-ci
, so you may need to build separately for each architecture or consult the Airbyte community for the current recommended approach for multi-arch builds.
s
@kapa.ai ok, my mistake. My base image is airbyte/python-connector-base:4.0.2
k
A message from kapa.ai
Thank you for the clarification. With
airbyte/python-connector-base:4.0.2
, the issue is still related to the numpy/pandas dependency compatibility, but the base image version is more recent than I initially thought. The error
ImportError: Unable to import required dependencies: numpy: cannot import name randbits
suggests there's still a version mismatch between numpy and pandas in your environment. Looking at your
pyproject.toml
, you have: -
airbyte-cdk = "6.61.6"
-
numpy = ">=1.26,<2.0"
According to the [Pyairbyte failing with
ModuleNotFoundError
](https://github.com/airbytehq/airbyte/issues/65628) issue, there were known problems with
airbyte-cdk==6.61.6
. The comments mention: "Pinning airbyte cdk to 6.60 fixes it" and "It also works with
airbyte-cdk==6.61
for me." Try downgrading your airbyte-cdk version in your `pyproject.toml`:
Copy code
toml [tool.poetry.dependencies] python = "^3.10,<3.12" airbyte-cdk = "6.60.4"  # or "6.61.0" numpy = ">=1.26,<2.0" # ... rest of your dependencies
After making this change, rebuild your Docker image. The CDK version mismatch could be causing the numpy import issues you're experiencing. However, I should note that the fundamental issue remains: the knowledge sources don't provide a documented way to successfully build multi-architecture Airbyte connectors using Docker Buildx with a custom Dockerfile. The recommended approach is to use
airbyte-ci
with the base image migration approach I mentioned earlier, but that doesn't solve your multi-architecture requirement. If downgrading the CDK version doesn't resolve the issue, you may need to reach out to the Airbyte community for guidance on the current best practices for building multi-architecture connector images.
s
@kapa.ai which numpy version would be compatible with airbyte-cdk 6.61.6?
k
A message from kapa.ai
I apologize, but the knowledge sources do not contain specific information about which numpy version is compatible with
airbyte-cdk 6.61.6
. The knowledge sources only mention: 1. From the [Pyairbyte failing with
ModuleNotFoundError
](https://github.com/airbytehq/airbyte/issues/65628) issue, there were problems with
airbyte-cdk==6.61.6
, and users found that downgrading to version
6.60.4
or
6.61.0
resolved their issues. 2. Your
pyproject.toml
shows you're using
numpy = ">=1.26,<2.0"
, but the knowledge sources don't explicitly state whether this version range is compatible with
airbyte-cdk 6.61.6
. To find the compatible numpy version for
airbyte-cdk 6.61.6
, I recommend: 1. Checking the
airbyte-cdk
package dependencies directly on PyPI or in the [airbyte-python-cdk GitHub repository](https://github.com/airbytehq/airbyte-python-cdk) 2. Considering downgrading to
airbyte-cdk 6.60.4
or
6.61.0
as suggested in the issue, which may have better-documented dependency requirements The knowledge sources don't provide enough information to give you a definitive answer about numpy version compatibility with that specific CDK version.