diff --git a/pyproject.toml b/pyproject.toml index b34aa4400..1458e3eaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [