Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin mimesis version in setup.py. #11906

Merged
merged 3 commits into from
Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda/environments/cudf_dev_cuda11.5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions python/cudf/cudf/testing/dataset_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion python/cudf/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"pytest-benchmark",
"pytest-xdist",
"hypothesis",
"mimesis",
"mimesis>=4.1.0",
"fastavro>=0.22.9",
"python-snappy>=0.6.0",
"pyorc",
Expand Down