From 314bfce98b8df87b742a3578379a1df7515b3ca9 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis <36283973+kounelisagis@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:33:40 +0200 Subject: [PATCH 1/2] Revert "Always remove deprecations when building tiledb-py (#152)" This reverts commit 4028edab998bbb3de1710cd8eafc5401744e620d. --- scripts/tiledb-py/update-recipe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/tiledb-py/update-recipe.py b/scripts/tiledb-py/update-recipe.py index 69b3ccb..3ebebb8 100644 --- a/scripts/tiledb-py/update-recipe.py +++ b/scripts/tiledb-py/update-recipe.py @@ -64,7 +64,8 @@ with open(recipe, "w") as f: yaml.dump(updated, f) -remove_deprecations_value = "ON" +# Run with deprecation warnings on Mondays for forward-looking alerts. +remove_deprecations_value = "ON" if datetime.today().weekday() == 0 else "OFF" # Create OS-specific build scripts with open("tiledb-py-feedstock/recipe/build.sh", "w") as f: From 4fbc77c68c69c151b0d974ccb132f380bc14796e Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis <36283973+kounelisagis@users.noreply.github.com> Date: Fri, 22 Nov 2024 16:35:40 +0200 Subject: [PATCH 2/2] Never remove deprecations --- scripts/tiledb-py/update-recipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tiledb-py/update-recipe.py b/scripts/tiledb-py/update-recipe.py index 3ebebb8..fa9c5a3 100644 --- a/scripts/tiledb-py/update-recipe.py +++ b/scripts/tiledb-py/update-recipe.py @@ -64,8 +64,8 @@ with open(recipe, "w") as f: yaml.dump(updated, f) -# Run with deprecation warnings on Mondays for forward-looking alerts. -remove_deprecations_value = "ON" if datetime.today().weekday() == 0 else "OFF" +# Run without deprecation warnings +remove_deprecations_value = "OFF" # Create OS-specific build scripts with open("tiledb-py-feedstock/recipe/build.sh", "w") as f: