From 2548509a56fad536c8ec80332dd7bb06b59a8cb8 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Mon, 30 Oct 2023 09:17:01 -0700 Subject: [PATCH] Add cramjam (#14344) As of fastavro 1.9.0 (released on October 27) [the recommend method for snappy decompression is via the cramjam package](https://github.com/fastavro/fastavro/blob/62ea68fe22e11ff5ff5dc86dfe942c7d51d7c157/ChangeLog#L3). We need to install it [to avoid getting deprecation warnings involving python-snappy usage](https://github.com/fastavro/fastavro/issues/722). Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Ray Douglass (https://github.com/raydouglass) - Lawrence Mitchell (https://github.com/wence-) URL: https://github.com/rapidsai/cudf/pull/14344 --- conda/environments/all_cuda-118_arch-x86_64.yaml | 1 + conda/environments/all_cuda-120_arch-x86_64.yaml | 1 + dependencies.yaml | 1 + python/cudf/pyproject.toml | 1 + 4 files changed, 4 insertions(+) diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index cfcbde71b01..3d3d4f15d05 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -15,6 +15,7 @@ dependencies: - c-compiler - cachetools - cmake>=3.26.4 +- cramjam - cubinlinker - cuda-nvtx=11.8 - cuda-python>=11.7.1,<12.0a0 diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index db19d658b0d..4f39424bbc6 100644 --- a/conda/environments/all_cuda-120_arch-x86_64.yaml +++ b/conda/environments/all_cuda-120_arch-x86_64.yaml @@ -15,6 +15,7 @@ dependencies: - c-compiler - cachetools - cmake>=3.26.4 +- cramjam - cuda-cudart-dev - cuda-gdb - cuda-nvcc diff --git a/dependencies.yaml b/dependencies.yaml index 1f2b42c49c4..cb9ef7a468c 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -557,6 +557,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: + - cramjam - fastavro>=0.22.9 - hypothesis - mimesis>=4.1.0 diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index 90759074750..cc8a67c389f 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -54,6 +54,7 @@ classifiers = [ [project.optional-dependencies] test = [ + "cramjam", "fastavro>=0.22.9", "hypothesis", "mimesis>=4.1.0",