Skip to content

Commit

Permalink
[REVIEW] Upgrade clang to 11.1.0 (#9716)
Browse files Browse the repository at this point in the history
* upgrade clang to 11.1.0

* fix pytest
  • Loading branch information
galipremsagar authored Nov 18, 2021
1 parent d623c93 commit 012bfe9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions conda/environments/cudf_dev_cuda11.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ channels:
- rapidsai-nightly
- conda-forge
dependencies:
- clang=11.0.0
- clang-tools=11.0.0
- clang=11.1.0
- clang-tools=11.1.0
- cupy>=9.5.0,<10.0.0a0
- rmm=21.12.*
- cmake>=3.20.1
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/cudf_dev_cuda11.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ channels:
- rapidsai-nightly
- conda-forge
dependencies:
- clang=11.0.0
- clang-tools=11.0.0
- clang=11.1.0
- clang-tools=11.1.0
- cupy>=9.5.0,<10.0.0a0
- rmm=21.12.*
- cmake>=3.20.1
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/cudf_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ channels:
- rapidsai-nightly
- conda-forge
dependencies:
- clang=11.0.0
- clang-tools=11.0.0
- clang=11.1.0
- clang-tools=11.1.0
- cupy>=9.5.0,<10.0.0a0
- rmm=21.12.*
- cmake>=3.20.1
Expand Down
2 changes: 1 addition & 1 deletion cpp/scripts/run-clang-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import sys
import tempfile

EXPECTED_VERSION = "11.0.0"
EXPECTED_VERSION = "11.1.0"
VERSION_REGEX = re.compile(r"clang-format version ([0-9.]+)")
# NOTE: populate this list with more top-level dirs as we add more of them to
# the cudf repo
Expand Down
4 changes: 2 additions & 2 deletions python/cudf/cudf/tests/test_concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def test_concat_empty_dataframes(df, other, ignore_index):
if expected.shape != df.shape:
for key, col in actual[actual.columns].iteritems():
if is_categorical_dtype(col.dtype):
if expected[key].dtype != "category":
if not is_categorical_dtype(expected[key].dtype):
# TODO: Pandas bug:
# https://github.com/pandas-dev/pandas/issues/42840
expected[key] = expected[key].fillna("-1").astype("str")
Expand Down Expand Up @@ -1186,7 +1186,7 @@ def test_concat_join_empty_dataframes(
if axis == 0:
for key, col in actual[actual.columns].iteritems():
if is_categorical_dtype(col.dtype):
if expected[key].dtype != "category":
if not is_categorical_dtype(expected[key].dtype):
# TODO: Pandas bug:
# https://github.com/pandas-dev/pandas/issues/42840
expected[key] = (
Expand Down

0 comments on commit 012bfe9

Please sign in to comment.