From e21e4cf9c5e557957b5a14cf611a81f15e12dc2c Mon Sep 17 00:00:00 2001 From: Skander Moalla <37197319+skandermoalla@users.noreply.github.com> Date: Wed, 21 Jun 2023 22:34:43 +0200 Subject: [PATCH] [BugFix] Fix nightly tensordict dependency (#1302) --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 560b60b8036..e24fdf87247 100644 --- a/setup.py +++ b/setup.py @@ -167,9 +167,9 @@ def _main(argv): name = args.package_name is_nightly = "nightly" in name if is_nightly: - tensordict_dep = "tensordict>=0.1.1" - else: tensordict_dep = "tensordict-nightly" + else: + tensordict_dep = "tensordict>=0.1.1" if is_nightly: version = get_nightly_version()