Skip to content

Commit

Permalink
Exclude pandas 1.5.0 and 1.5.1 because of pandas-dev/pandas#45725
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed Nov 28, 2022
1 parent 024f25b commit 35bd9ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,9 @@ def get_portability_package_data():
# with python 3.10 leading to incorrect stacktrace.
# This can be removed once dill is updated to version > 0.3.5.1
# Issue: https://github.com/apache/beam/issues/23566
'dataframe': ['pandas>=1.0,<1.6;python_version<"3.10"',
'pandas>=1.4.3,<1.6;python_version>="3.10"'],
# Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725
'dataframe': ['pandas>=1.0,<1.6,!=1.5.0,!=1.5.1;python_version<"3.10"',
'pandas>=1.4.3,<1.6,!=1.5.0,!=1.5.1;python_version>="3.10"'],
'dask': [
'dask >= 2022.6',
'distributed >= 2022.6',
Expand Down
3 changes: 2 additions & 1 deletion sdks/python/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ deps =
12: pandas>=1.2.0,<1.3.0
13: pandas>=1.3.0,<1.4.0
14: pandas>=1.4.0,<1.5.0
15: pandas>=1.5.0,<1.6.0
# Exclude 1.5.0 and 1.5.1 because of https://github.com/pandas-dev/pandas/issues/45725
15: pandas>=1.5.2,<1.6.0
commands =
# Log pandas and numpy version for debugging
/bin/sh -c "pip freeze | grep -E '(pandas|numpy)'"
Expand Down

0 comments on commit 35bd9ce

Please sign in to comment.