microsoft / botbuilder-python

The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
http://botframework.com
MIT License
718 stars 286 forks source link

Version dependency between Botbuilder and Question Answering #1933

Closed sehee-souza closed 2 years ago

sehee-souza commented 2 years ago

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

Version

Botbuilder 4.14.0 azure-ai-language-questionanswering 1.0.0

Describe the bug

When building a Python bot using Question Answering and Botbuilder: The package azure-ai-language-questionanswering actual version 1.0.0 requires at least msrest version 0.6.21 but the actual version of Botbuilder (-schema/core/ai/etc) 4.14.2 requires msrest to be 0.6.19 (though I'm using 4.14.0 and the version doesn't match either). There's no way these two packages work together right now because of the msrest version dependency.

To Reproduce

  1. Create a requirements.txt file with these dependencies azure-ai-language-questionanswering==1.0.0 botbuilder-ai==4.14.0 botbuilder-core==4.14.0 botbuilder-dialogs==4.14.0 botbuilder-integration-aiohttp==4.14.0 botbuilder-schema==4.14.0

  2. Install dependencies of a bot project with pip install -r requirements.txt

Expected behavior

Upgrade Botbuilder to work with msrest version 0.6.21 OR Decrease Question Answering version dependency of msrest to 0.6.19 or lower

msomanathan commented 2 years ago

@axelsrz Does this issue need a fix to botbuilder-python dependency on msrest package? Thanks!

vijaysaimutyala commented 2 years ago

Hi @tracyboehrer @axelsrz..do you suggest any workaround until this is fixed ? I've a bot that uses question answering and I'm not able to deploy to azure as it fails whiles trying to resolve the dependencies. If its a simple update of the requirements, do you suggest submitting a PR ?