py-pytorch-lightning: add conflicts for py-torch~distributed (#33710)

This commit is contained in:
Adam J. Stewart 2022-11-04 16:00:23 -07:00 committed by GitHub
parent 912d544afe
commit 7c0b3f6374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,3 +79,8 @@ class PyPytorchLightning(PythonPackage):
depends_on("py-pydeprecate@0.3.1:0.3", when="@1.6:1.6.3", type=("build", "run"))
depends_on("py-pydeprecate@0.3.1", when="@1.4:1.5", type=("build", "run"))
depends_on("py-pydeprecate@0.3.0", when="@1.3", type=("build", "run"))
# https://github.com/Lightning-AI/lightning/issues/15494
conflicts("^py-torch~distributed", when="@1.8.0")
# https://github.com/Lightning-AI/lightning/issues/10348
conflicts("^py-torch~distributed", when="@1.5.0:1.5.2")