Skip to content

Commit 35bd9ce

Browse files
committed
Exclude pandas 1.5.0 and 1.5.1 because of pandas-dev/pandas#45725
1 parent 024f25b commit 35bd9ce

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

sdks/python/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,9 @@ def get_portability_package_data():
349349
# with python 3.10 leading to incorrect stacktrace.
350350
# This can be removed once dill is updated to version > 0.3.5.1
351351
# Issue: https://github.com/apache/beam/issues/23566
352-
'dataframe': ['pandas>=1.0,<1.6;python_version<"3.10"',
353-
'pandas>=1.4.3,<1.6;python_version>="3.10"'],
352+
# Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725
353+
'dataframe': ['pandas>=1.0,<1.6,!=1.5.0,!=1.5.1;python_version<"3.10"',
354+
'pandas>=1.4.3,<1.6,!=1.5.0,!=1.5.1;python_version>="3.10"'],
354355
'dask': [
355356
'dask >= 2022.6',
356357
'distributed >= 2022.6',

sdks/python/tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ deps =
268268
12: pandas>=1.2.0,<1.3.0
269269
13: pandas>=1.3.0,<1.4.0
270270
14: pandas>=1.4.0,<1.5.0
271-
15: pandas>=1.5.0,<1.6.0
271+
# Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725
272+
15: pandas>=1.5.2,<1.6.0
272273
commands =
273274
# Log pandas and numpy version for debugging
274275
/bin/sh -c "pip freeze | grep -E '(pandas|numpy)'"

0 commit comments

Comments
 (0)