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

Cannot install -r .\requirements.txt and botframework-connector==4.14.2 because these package versions have conflicting dependencies.

Open Incedendo opened this issue 3 years ago • 6 comments

Use this query to search for the most popular feature requests.

Is your feature request related to a problem? Please describe. I'm working on building a chatbot for Azure Client Storage team using AzureBotFramework Python SDKs. I'm always frustrated when trying to install the required dependencies specified in requirement.txt with the command "pip install -r requirement.txt". For my use case, I need azure-kusto-data==2.1.3 which support asynchronous io operations (azure-kusto-data[aio]). The issue is: azure-kusto-data 2.1.3 depends on msal~=1.9.0, while botframework-connector 4.14.2 depends on msal==1.6.0

Describe the solution you'd like A clear and concise description of what you want to happen: A new release of botframework python SDK that update msal's required version to 1.9.0 to be compatible with azure-kusto-data >=2.1.3

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here. image

Incedendo avatar Jul 25 '22 15:07 Incedendo

Hi @Incedendo,

I was able to reproduce this issue when using azure-kusto-data==2.1.3 package.

Attached is a minimal repro zip bot project. Failed after running the command pip install -r requirements.txt: 02.echo-bot.zip

ram-xv avatar Jul 25 '22 17:07 ram-xv

Any suggestions on potential solutions?

Incedendo avatar Jul 25 '22 18:07 Incedendo

Closing. Axel is working with engineer.

tracyboehrer avatar Jul 28 '22 15:07 tracyboehrer

I have a similar issue due to the requirement on msal==1.6.0 and was wondering if there was ever a solution to this.

gmichels avatar Aug 16 '22 17:08 gmichels

Scheduling for next patch

tracyboehrer avatar Sep 15 '22 15:09 tracyboehrer

I'm getting similar reports from customers when trying to use botbuilder with the Azure SDKs. Applications can pin dependencies, but libraries should not pin exact dependencies. A library should use a compatible release identifier for the dependency.

edit: the report I received:

ERROR: Cannot install -r requirements.txt (line 10) and botbuilder-integration-aiohttp because these package versions have conflicting dependencies. The conflict is caused by: azure-ai-language-questionanswering 1.0.0 depends on msrest>=0.6.21 botbuilder-schema 4.14.0 depends on msrest==0.6.10 To fix this you could try to: 1. loosen the range of package versions you've specified 2. remove package versions to allow pip attempt to solve the dependency conflict ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

kristapratico avatar Oct 03 '22 17:10 kristapratico