Skip to content

Dependency mismatch #1070

Closed
Closed
@laxas

Description

@laxas

Version

4.9.0

Describe the bug

Some of the packages require requests exactly in version 2.22.0. Cookiecutter requires requests >= 2.23.0. The installation described in https://docs.microsoft.com/en-us/azure/bot-service/python/bot-builder-python-quickstart?view=azure-bot-service-4.0 is not possible in a singe venv.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Linux terminal
  2. Write
cd /tmp
mkdir teamsbot
cd teamsbot
poetry init
# answer poetry init questions with defaults 
poetry add botbuilder-core 
poetry add asyncip
poetry add cookiecutter
  1. See error

Expected behavior

Coplete installation

Screenshots

[SolverProblemError]
Because no versions of botframework-connector match >4.7.1,<4.8.0 || >4.8.0,<4.9.0 || >4.9.0
and botframework-connector (4.7.1) depends on requests (2.22.0), botframework-connector (>=4.7.1,<4.8.0 || >4.8.0,<4.9.0 || >4.9.0) requires requests (2.22.0).
And because botframework-connector (4.8.0) depends on requests (2.22.0)
and botframework-connector (4.9.0) depends on requests (2.22.0), botframework-connector (>=4.7.1) requires requests (2.22.0).
Because no versions of botbuilder-core match >4.9.0,<5.0.0
and botbuilder-core (4.9.0) depends on botframework-connector (>=4.7.1), botbuilder-core (>=4.9.0,<5.0.0) requires botframework-connector (>=4.7.1).
Thus, botbuilder-core (>=4.9.0,<5.0.0) requires requests (2.22.0).
So, because demo depends on both requests (^2.23.0) and botbuilder-core (^4.9.0), version solving failed.

[bug]

Metadata

Metadata

Assignees

Labels

Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.R10Release 10 - August 17th, 2020bugIndicates an unexpected problem or an unintended behavior.customer-replied-toIndicates that the team has replied to the issue reported by the customer. Do not delete.customer-reportedIssue is created by anyone that is not a collaborator in the repository.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions