From 93355412bc5f9754cac26e963cae843f46b9ea0c Mon Sep 17 00:00:00 2001 From: John Kerl Date: Tue, 17 Sep 2024 20:09:47 -0400 Subject: [PATCH] [python] Fix deprecation warnings --- .../python/src/tiledbsoma/options/_soma_tiledb_context.py | 2 +- .../tiledbsoma/options/_tiledb_create_write_options.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/python/src/tiledbsoma/options/_soma_tiledb_context.py b/apis/python/src/tiledbsoma/options/_soma_tiledb_context.py index 85af79410b..e2c554049d 100644 --- a/apis/python/src/tiledbsoma/options/_soma_tiledb_context.py +++ b/apis/python/src/tiledbsoma/options/_soma_tiledb_context.py @@ -25,7 +25,7 @@ def _warn_ctx_deprecation() -> None: - assert_version_before(1, 14) + assert_version_before(1, 15) warnings.warn( "tiledb_ctx is now deprecated for removal in 1.15. " "Use tiledb_config instead by passing " diff --git a/apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py b/apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py index da4a8b1a3e..259e0e9c65 100644 --- a/apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py +++ b/apis/python/src/tiledbsoma/options/_tiledb_create_write_options.py @@ -194,7 +194,7 @@ def cell_tile_orders(self) -> Tuple[Optional[str], Optional[str]]: def offsets_filters_tiledb(self) -> Tuple[tiledb.Filter, ...]: """Constructs the real TileDB Filters to use for offsets.""" - assert_version_before(1, 14) + assert_version_before(1, 15) warnings.warn( "`offsets_filters_tiledb` is now deprecated for removal in 1.15 " "as we no longer support returning tiledb.Filter. " @@ -206,7 +206,7 @@ def offsets_filters_tiledb(self) -> Tuple[tiledb.Filter, ...]: def validity_filters_tiledb(self) -> Optional[Tuple[tiledb.Filter, ...]]: """Constructs the real TileDB Filters to use for the validity map.""" - assert_version_before(1, 14) + assert_version_before(1, 15) warnings.warn( "`validity_filters_tiledb` is now deprecated for removal in 1.15 " "as we no longer support returning tiledb.Filter. " @@ -221,7 +221,7 @@ def dim_filters_tiledb( self, dim: str, default: Sequence[_FilterSpec] = () ) -> Tuple[tiledb.Filter, ...]: """Constructs the real TileDB Filters to use for the named dimension.""" - assert_version_before(1, 14) + assert_version_before(1, 15) warnings.warn( "`dim_filters_tiledb` is now deprecated for removal in 1.15 " "as we no longer support returning tiledb.Filter. " @@ -242,7 +242,7 @@ def attr_filters_tiledb( self, name: str, default: Sequence[_FilterSpec] = () ) -> Tuple[tiledb.Filter, ...]: """Constructs the real TileDB Filters to use for the named attribute.""" - assert_version_before(1, 14) + assert_version_before(1, 15) warnings.warn( "`attr_filters_tiledb` is now deprecated for removal in 1.15 " "as we no longer support returning tiledb.Filter. "