Skip to content

botbuilder-integration-aiohttp incompatible with Python 3.11 due to limit on yarl version #2015

@me4502

Description

@me4502

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

botbuilder-integration-aiohttp==4.14.4

Describe the bug

Due to the pinned version of yarl added in #1507, this package cannot be used under Python 3.11. yarl gained Python 3.11 support via this PR, aio-libs/yarl#706 which was released in 1.8.1(?), however the pinned range of yarl prevents versions higher than 1.4.2 from being installed.

To Reproduce

Steps to reproduce the behavior:

  1. Install botbuilder-integration-aiohttp==4.14.4 under Python 3.11
  2. Note the failure when installing the yarl wheel, which is described in _quoting_c.c is not compatible with Python 3.11. aio-libs/yarl#706

Expected behavior

This library can be installed under Python 3.11, or at least doesn't pin packages in a way that prevents working around the compatibility issues.

While the pin here appears to have been so that Python 3.7 will work without having to pin an extra dependency, given this completely breaks 3.11 I feel it would make sense to not have any pinning, and allow Python 3.7 users to pin yarl themselves to resolve any version issues. That way both 3.7 and 3.11 are possible to use with this library, unlike the current setup where 3.11 is impossible to use.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.bugIndicates an unexpected problem or an unintended behavior.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions