From 912fd8b45d75696cf4c34668a7a47b89f50a8f2b Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Fri, 8 Dec 2023 02:28:10 +0000 Subject: [PATCH] Make extras strictly compliant with core metadata Provides-Extra spec (hyphens, not underscores) --- ci/cudf_pandas_scripts/pandas-tests/run.sh | 2 +- ci/cudf_pandas_scripts/run_tests.sh | 2 +- dependencies.yaml | 4 ++-- python/cudf/pyproject.toml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/cudf_pandas_scripts/pandas-tests/run.sh b/ci/cudf_pandas_scripts/pandas-tests/run.sh index d36b609799b..be5705a9548 100755 --- a/ci/cudf_pandas_scripts/pandas-tests/run.sh +++ b/ci/cudf_pandas_scripts/pandas-tests/run.sh @@ -23,7 +23,7 @@ manylinux="manylinux_${manylinux_version}" RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" RAPIDS_PY_WHEEL_NAME="cudf_${manylinux}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./local-cudf-dep -python -m pip install $(ls ./local-cudf-dep/cudf*.whl)[test,pandas_tests] +python -m pip install $(ls ./local-cudf-dep/cudf*.whl)[test,pandas-tests] git checkout $COMMIT diff --git a/ci/cudf_pandas_scripts/run_tests.sh b/ci/cudf_pandas_scripts/run_tests.sh index 7eab3221e5e..4f1e4bbf993 100755 --- a/ci/cudf_pandas_scripts/run_tests.sh +++ b/ci/cudf_pandas_scripts/run_tests.sh @@ -46,7 +46,7 @@ else RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" RAPIDS_PY_WHEEL_NAME="cudf_${manylinux}_${RAPIDS_PY_CUDA_SUFFIX}" rapids-download-wheels-from-s3 ./local-cudf-dep - python -m pip install $(ls ./local-cudf-dep/cudf*.whl)[test,cudf_pandas_tests] + python -m pip install $(ls ./local-cudf-dep/cudf*.whl)[test,cudf-pandas-tests] fi python -m pytest -p cudf.pandas ./python/cudf/cudf_pandas_tests/ diff --git a/dependencies.yaml b/dependencies.yaml index 735ca22fbbd..729cfec473b 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -97,7 +97,7 @@ files: pyproject_dir: python/cudf extras: table: project.optional-dependencies - key: pandas_tests + key: pandas-tests includes: - test_python_pandas_cudf py_test_cudf_pandas: @@ -105,7 +105,7 @@ files: pyproject_dir: python/cudf extras: table: project.optional-dependencies - key: cudf_pandas_tests + key: cudf-pandas-tests includes: - test_python_cudf_pandas py_build_dask_cudf: diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index 3840307c6ec..37f00c780e1 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -67,7 +67,7 @@ test = [ "transformers==4.24.0", "tzdata", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. -pandas_tests = [ +pandas-tests = [ "beautifulsoup4", "blosc", "boto3", @@ -110,7 +110,7 @@ pandas_tests = [ "xlwt", "zstandard", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. -cudf_pandas_tests = [ +cudf-pandas-tests = [ "ipython", "openpyxl", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.