botbuilder-python icon indicating copy to clipboard operation
botbuilder-python copied to clipboard

Version dependency between Botbuilder and Question Answering

Open sehee-souza opened this issue 2 years ago • 2 comments

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

sehee-souza avatar Apr 19 '22 18:04 sehee-souza

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

msomanathan avatar Apr 20 '22 18:04 msomanathan

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 ?

vijaysaimutyala avatar Jul 05 '22 09:07 vijaysaimutyala