@@ -31,7 +31,6 @@ enable = true
3131[tool .poetry .dependencies ]
3232python = " >=3.10,<3.13"
3333airbyte-protocol-models-dataclasses = " ^0.14"
34- anyio = " *" # Transitive dependency used directly in code
3534backoff = " *"
3635cachetools = " *"
3736dpath = " ^2.1.6"
@@ -55,7 +54,7 @@ requests_cache = "*"
5554typing-extensions = " *" # Transitive dependency used directly in code
5655wcmatch = " 10.0"
5756# Extras depedencies
58- avro = { version = " >=1.11.2,<1.13.0" , optional = true }
57+ avro = { version = " >=1.11.2,<1.13.0" , optional = true } # TODO: Remove if unused
5958cohere = { version = " 4.21" , optional = true }
6059fastavro = { version = " ~1.8.0" , optional = true }
6160langchain = { version = " 0.1.16" , optional = true }
@@ -219,14 +218,13 @@ DEP001 = [
219218 " source_declarative_manifest" # Imported only in dynamic import tests, not in main code
220219]
221220
222- # DEP002:
221+ # DEP002: Project should not contain unused dependencies.
223222# https://deptry.com/rules-violations/#missing-dependencies-dep002
224223DEP002 = [
225224 " cryptography" , # Constrained as transitive dependency due to a bug in newer versions
226225
227226 # TODO: Remove these dependencies if not needed:
228- " anyio" ,
229- " avro" ,
227+ " avro" , # Only imported in `unit_tests` code
230228 " psutil" ,
231229 " rapidfuzz" ,
232230 " cohere" ,
@@ -241,18 +239,18 @@ DEP002 = [
241239 " unstructured.pytesseract" ,
242240]
243241
244- # DEP003: Transitive dependencies - packages that are imported directly
242+ # DEP003: Project should not use transitive dependencies.
245243# https://deptry.com/rules-violations/#transitive-dependencies-dep003
246244DEP003 = [
247245 # Transitive dependencies that are imported directly
248246 " pydantic_core" # Pydantic internals, no need to define as separate dependency
249247]
250248
251- # DEP004: Dev dependencies imported in main code - packages that are imported in non-test code but declared as dev dependencies
249+ # DEP004: Project should not use development dependencies in non-development code.
252250# https://deptry.com/rules-violations/#misplaced-development-dependencies-dep004
253251DEP004 = [
254252 # The `airbyte_cdk.test.utils` module is main code.
255- # These should probably be declared in a `tests` extra (TODO) :
253+ # TODO: These should probably be declared within a `tests` extra:
256254 " pytest" ,
257255 " requests_mock" ,
258256]
0 commit comments