diff --git a/conda/environments/cudf_dev_cuda11.5.yml b/conda/environments/cudf_dev_cuda11.5.yml index 142d3c7d9cb..e27e8557c80 100644 --- a/conda/environments/cudf_dev_cuda11.5.yml +++ b/conda/environments/cudf_dev_cuda11.5.yml @@ -63,7 +63,7 @@ dependencies: - myst-nb - scipy - dask-cuda=22.12.* - - mimesis<4.1 + - mimesis>=4.1.0 - packaging - protobuf>=3.20.1,<3.21.0a0 - nvtx>=0.2.1 diff --git a/python/cudf/cudf/testing/dataset_generator.py b/python/cudf/cudf/testing/dataset_generator.py index 4d24e7ff2a2..2867c4d10eb 100644 --- a/python/cudf/cudf/testing/dataset_generator.py +++ b/python/cudf/cudf/testing/dataset_generator.py @@ -502,7 +502,7 @@ def rand_dataframe( cardinality=cardinality, null_frequency=null_frequency, generator=lambda cardinality=cardinality: [ - mimesis.random.random.schoice( + mimesis.random.random.generate_string( string.printable, np.random.randint( low=0, @@ -684,7 +684,7 @@ def get_values_for_nested_data(dtype, lists_max_length=None, size=None): values = float_generator(dtype=dtype, size=cardinality)() elif dtype.kind in ("U", "O"): values = [ - mimesis.random.random.schoice( + mimesis.random.random.generate_string( string.printable, 100, ) diff --git a/python/cudf/setup.py b/python/cudf/setup.py index 93948afc0f6..3ebb66cb0ad 100644 --- a/python/cudf/setup.py +++ b/python/cudf/setup.py @@ -31,7 +31,7 @@ "pytest-benchmark", "pytest-xdist", "hypothesis", - "mimesis", + "mimesis>=4.1.0", "fastavro>=0.22.9", "python-snappy>=0.6.0", "pyorc",