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

* Unpin mlflow

* Pin dulwich

* Pin botocore
This commit is contained in:
Silvano Cerza
2023-07-26 15:21:58 +02:00
committed by anakin87
parent 79cbc5f600
commit 33479e3760
+12 -2
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'",
@@ -218,6 +223,11 @@ dev = [
"jupytercontrib",
"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 = [