Skip to content

Commit b6c900e

Browse files
authored
chore: fixup ci (#3217)
fixup ci
1 parent baabbf4 commit b6c900e

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,16 @@ norecursedirs = ['*.egg', '.*', '_darcs', 'build', 'CVS', 'dist', 'node_modules
243243
testpaths = ["tests"]
244244
filterwarnings = [
245245
"error",
246-
'ignore:.*defaulting to pandas implementation',
247-
'ignore:.*implementation has mismatches with pandas',
246+
'ignore:.*defaulting to pandas implementation:Warning:modin',
247+
'ignore:.*implementation has mismatches with pandas:Warning:modin',
248248
'ignore:.*You are using pyarrow version',
249249
# This warning was temporarily raised by pandas but then reverted.
250250
'ignore:.*Passing a BlockManager to DataFrame:DeprecationWarning',
251251
# This warning was temporarily raised by Polars but then reverted.
252252
'ignore:.*The default coalesce behavior of left join will change:DeprecationWarning',
253253
'ignore: unclosed <socket.socket',
254254
'ignore:.*The distutils package is deprecated and slated for removal in Python 3.12:DeprecationWarning:pyspark',
255-
'ignore:.*distutils Version classes are deprecated. Use packaging.version instead.*:DeprecationWarning:pyspark',
255+
'ignore:.*distutils Version classes are deprecated. Use packaging.version instead.*:DeprecationWarning',
256256
'ignore:.*is_datetime64tz_dtype is deprecated and will be removed in a future version.*:DeprecationWarning:pyspark',
257257
# Warning raised by PyArrow nightly just by importing pandas
258258
'ignore:.*Python binding for RankQuantileOptions not exposed:RuntimeWarning:pyarrow',

utils/generate_random_versions.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,3 @@
5959

6060
reqs = f"pandas=={pandas_version}\nnumpy=={numpy_version}\npolars=={polars_version}\npyarrow=={pyarrow_version}\n"
6161
Path("random-requirements.txt").write_text(reqs, "utf-8")
62-
old_warnings = 'filterwarnings = [\n "error",\n]'
63-
new_warnings = "filterwarnings = [\n \"error\",\n 'ignore:distutils Version classes are deprecated:DeprecationWarning',\n]"
64-
pyproject = Path("pyproject.toml")
65-
content = pyproject.read_text("utf-8").replace(old_warnings, new_warnings)
66-
pyproject.write_text(content, "utf-8")

0 commit comments

Comments
 (0)