Skip to content

Core package includes aiohttp-specific modules under core/integration instead of aiohttp integration package #2241

@anguzo

Description

@anguzo

Version

v4.17.0

Describe the bug

aiohttp-specific modules are included inside the core package under core/integration, which couples botbuilder-core to aiohttp despite having a separate aiohttp integration package.

Affected files:

  • libraries/botbuilder-core/botbuilder/core/integration/aiohttp_channel_service.py
  • libraries/botbuilder-core/botbuilder/core/integration/aiohttp_channel_service_exception_middleware.py

This placement makes the core package framework-specific instead of framework-agnostic and can force unnecessary dependencies or create version conflicts for users not using aiohttp.

To Reproduce

  1. Install botbuilder-core.
  2. Inspect the package contents (e.g., site-packages/botbuilder/core/integration/).
  3. Observe aiohttp-specific modules present in the core package path noted above.

Expected behavior

  • aiohttp-specific code lives in the aiohttp integration package (e.g., integration/aiohttp).
  • botbuilder-core remains transport/framework-agnostic with clear extension points for integrations.

Additional context

Encountered while trying to integrate botbuilder into FastAPI API.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or an unintended behavior.needs-triageThe issue has just been created and it has not been reviewed by the team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions