build: Unpin mlflow, constraint dulwich and botocore (#5441)

* Unpin mlflow

* Pin dulwich

* Pin botocore
This commit is contained in:
Silvano Cerza 2023-07-26 12:59:16 +02:00 committed by GitHub
parent 7940ec0482
commit 9ab6298f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,7 +146,12 @@ beir = [
"beir; platform_system != 'Windows'",
]
aws = [
"boto3"
"boto3",
# Costraint botocore to avoid taking to much time to resolve the dependency tree.
# boto3 used to constraint it at this version more than a year ago. To avoid breaking
# people using old versions we use a similar constraint without upper bound.
# https://github.com/boto/boto3/blob/dae73bef223abbedfa7317a783070831febc0c90/setup.py#L16
"botocore>=1.27",
]
crawler = [
"selenium>=4.0.0,!=4.1.4", # Avoid 4.1.4 due to https://github.com/SeleniumHQ/selenium/issues/10612
@ -185,7 +190,7 @@ metrics = [ # for metrics
"scipy>=1.3.2",
"rapidfuzz>=2.0.15,<2.8.0", # FIXME https://github.com/deepset-ai/haystack/pull/3199
"seqeval",
"mlflow<2.4.0",
"mlflow",
]
ray = [
"ray[serve]>=1.9.1,<2; platform_system != 'Windows'",
@ -219,6 +224,10 @@ dev = [
"watchdog",
"toml",
"reno",
# dulwich is a reno dependency, they pin it at >=0.15.0 so pip takes ton of time to resolve the dependency tree.
# We pin it here to avoid taking too much time.
# https://opendev.org/openstack/reno/src/branch/master/requirements.txt#L7
"dulwich>=0.21.0,<1.0.0",
]
formatting = [