Dependency with msrest between Question Answering and Botbuilder

newbie_developer 6 Reputation points
2022-04-16T16:28:28.027+00:00

Hi,

I'm building a microsoft bot using Python 3.9 wich uses azure-ai-language-questionanswering actual version 1.0.0 and Botbuilder (-schema/core/ai/etc) version 4.14.0.
I found out that question answering requires at least msrest version 0.6.21 but even if I update Botbuilder to the latest version 4.14.2, these two packages won't work together because Botbuilder 4.14.2 requires msrest to be 0.6.19 and question answering requires at least msrest version 0.6.21.

To know my project dependencies I used "pip freeze"

How could I manage this dependency between these two packages?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
837 questions
Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
417 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,476 Reputation points Microsoft Employee
    2022-04-18T10:38:10.027+00:00

    @newbie_developer This issue needs to be reported on the botbuilder-python repo under issues. A recent request to update the version for msrest from 0.6.10 to 0.6.19 caused this dependency.
    It looks like with the new question answering package this also becomes incompatible. Could you please raise an issue to check if the updated package can be published by the owners?

    Also, I think the package can be installed from source by updating the requirements.txt file to msrest 0.6.21
    The steps to install are on the readme file of this repo, if you need to use the package before a new version is published. Thanks!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.