Skip to content

Commit 8e43d42

Browse files
cavenesstfx-copybara
caveness
authored andcommitted
Update version range for Pandas dependency to pandas>=0.24,<2.
PiperOrigin-RevId: 317689601
1 parent 06d7b82 commit 8e43d42

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
being displayed.
1818
* Trigger anomalies when a feature has a number of unique values that does not
1919
conform to the specified minimum/maximum.
20+
* Depends on `pandas>=0.24,<2`.
2021

2122
## Known Issues
2223

setup.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,25 +96,24 @@ def _make_all_extra_requirements():
9696
# Make sure to sync the versions of common dependencies (absl-py, numpy,
9797
# six, and protobuf) with TF.
9898
install_requires=[
99+
'absl-py>=0.7,<0.9',
100+
'apache-beam[gcp]>=2.20,<3',
99101
# avro-python3 1.9.2.1 still does not work for MacOS + Py3.5.
100102
# TODO(b/149841057): remove once avro has a healthy release.
101103
'avro-python3>=1.8.1,!=1.9.2.*,<2.0.0; python_version=="3.5" and platform_system=="Darwin"',
102-
'absl-py>=0.7,<0.9',
103-
'apache-beam[gcp]>=2.20,<3',
104+
# TODO(b/139941423): Consider using multi-processing provided by
105+
# Beam's DirectRunner.
106+
# Dependency for multi-processing.
107+
'joblib>=0.12,<0.15',
104108
'numpy>=1.16,<2',
109+
'pandas>=0.24,<2',
105110
'protobuf>=3.7,<4',
106111
'pyarrow>=0.16,<0.17',
107112
'six>=1.12,<2',
108113
'tensorflow>=1.15,!=2.0.*,<3',
109114
'tensorflow-metadata>=0.22,<0.23',
110115
'tensorflow-transform>=0.22,<0.23',
111116
'tfx-bsl>=0.22,<0.23',
112-
113-
'pandas>=0.24,<1',
114-
# TODO(b/139941423): Consider using multi-processing provided by
115-
# Beam's DirectRunner.
116-
# Dependency for multi-processing.
117-
'joblib>=0.12,<0.15',
118117
],
119118
extras_require={
120119
'mutual-information': _make_mutual_information_requirements(),

0 commit comments

Comments
 (0)