dilan silva
10/02/2025, 3:16 PMDev Environment
------------------------
OS Windows, using WSL and docker with Airbyte abctl.
Metadata.yaml
------------------------------------------
Metadata.yaml
-------------------------------------------
data:
allowedHosts:
hosts:
- TODO # Please change to the hostname of the source.
registries:
oss:
enabled: true
cloud:
enabled: false
remoteRegistries:
pypi:
enabled: true
packageName: airbyte-source-nexus-datasets
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:3.0.2@sha256:73697fbe1c0e2ebb8ed58e2268484bb4bfb2cb56b653808e1680cbc50bafef75
connectorSubtype: api
connectorType: source
definitionId: 9e1fe63c-80ad-44fe-8927-10e66c9e209b
dockerImageTag: 0.1.0
dockerRepository: airbyte/source-nexus-datasets
githubIssueLabel: source-nexus-datasets
icon: nexus-datasets.svg
license: MIT
name: Nexus Datasets
releaseDate: TODO
releaseStage: alpha
supportLevel: community
documentationUrl: https://docs.airbyte.com/integrations/sources/nexus-datasets
tags:
- language:python
- cdk:low-code
connectorTestSuitesOptions:
- suite: liveTests
testConnections:
- name: nexus_datasets_config_dev_null
id: TODO
- suite: unitTests
- suite: acceptanceTests
#optional: if your acceptance tests need credentials from CI secret store
#testSecrets:
# - name: SECRET_SOURCE-NEXUS-DATASETS__CREDS
# fileName: config.json
# secretStore:
# type: GSM
# alias: airbyte-connector-testing-secret-store
metadataSpecVersion: "1.0"
This is the Pyproject.toml
-------------------------
Pyproject.toml
-------------------------
[build-system]
requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
version = "0.3.21"
name = "source-nexus-datasets"
description = "Source implementation for nexus-datasets."
authors = [ "Airbyte contact@airbyte.io",]
license = "MIT"
readme = "README.md"
documentation = "https://docs.airbyte.com/integrations/sources/nexus-datasets"
homepage = "https://airbyte.com"
repository = "https://github.com/airbytehq/airbyte"
packages = [ { include = "source_nexus_datasets" }, {include = "main.py" } ]
[tool.poetry.dependencies]
python = ">=3.10,<3.12"
airbyte-cdk = "6.60.0"
pyarrow = ">=16.1,<22.0"
pandas = "2.2.2"
[tool.poetry.scripts]
source-nexus-datasets = "source_nexus_datasets.run:run"
[tool.poetry.group.dev.dependencies]
requests-mock = "^1.9.3"
pytest-mock = "^3.6.1"
pytest = "^8.0.0"
So this is the error I can see in the logs,
Traceback (most recent call last):
File "/usr/local/bin/pyab", line 5, in module
from airbyte.cli import cli
File "/usr/local/lib/python3.11/site-packages/airbyte/__init__.py", line 126, in module
from airbyte import (
File "/usr/local/lib/python3.11/site-packages/airbyte/cloud/__init__.py", line 59, in module
from airbyte.cloud import connections, constants, sync_results, workspaces
File "/usr/local/lib/python3.11/site-packages/airbyte/cloud/workspaces.py", line 27, in module
from airbyte.sources.base import Source
File "/usr/local/lib/python3.11/site-packages/airbyte/sources/__init__.py", line 6, in module
from airbyte.sources import base, util
File "/usr/local/lib/python3.11/site-packages/airbyte/sources/util.py", line 10, in module
from airbyte._executors.util import get_connector_executor
File "/usr/local/lib/python3.11/site-packages/airbyte/_executors/util.py", line 13, in module
from airbyte._executors.declarative import DeclarativeExecutor
File "/usr/local/lib/python3.11/site-packages/airbyte/_executors/declarative.py", line 14, in module
from airbyte_cdk.sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
ModuleNotFoundError: No module named 'airbyte_cdk.sources.declarative.manifest_declarative_source'
Can anyone please help me on this ?