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 upper pandas version requirement #1182

Merged
merged 3 commits into from
Jan 31, 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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
default: false

orbs:
win: circleci/windows@2.2.0
win: circleci/windows@2.4.1

# No windows executor is listed here since windows builds use win/default and modify
# the Python version through the conda environment.
Expand Down
5 changes: 3 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
* `pipeline` now accepts `tags` and a collection of `Node`s and/or `Pipeline`s rather than just a single `Pipeline` object. `pipeline` should be used in preference to `Pipeline` when creating a Kedro pipeline.

## Bug fixes and other changes
* Added tutorial documentation for experiment tracking in Kedro docs (`03_tutorial/07_set_up_experiment_tracking.md`).
* Added Plotly documentation in Kedro docs (`03_tutorial/06_visualise_pipeline.md`).
* Added tutorial documentation for experiment tracking (`03_tutorial/07_set_up_experiment_tracking.md`).
* Added Plotly dataset documentation (`03_tutorial/06_visualise_pipeline.md`).
* Added the upper limit `pandas<1.4` to maintain compatibility with `xlrd~=1.0`.

## Minor breaking changes to the API

Expand Down
2 changes: 1 addition & 1 deletion features/windows_reqs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# e2e tests on Windows are slow but we don't need to install
# everything, so just this subset will be enough for CI
behave==1.2.6
pandas>=0.24.0, <1.0.4
pandas>=0.24, <1.4
psutil==5.6.7
requests~=2.20
toml~=0.10.1
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
here = path.abspath(path.dirname(__file__))


PANDAS = "pandas>=0.24"
PANDAS = "pandas>=0.24, <1.4"
SPARK = "pyspark>=2.2, <4.0"
HDFS = "hdfs>=2.5.8, <3.0"
S3FS = "s3fs>=0.3.0, <0.5"
Expand Down Expand Up @@ -77,8 +77,11 @@ def _collect_requirements(requires):
"pandas.FeatherDataSet": [PANDAS],
"pandas.GBQTableDataSet": [PANDAS, "pandas-gbq>=0.12.0, <1.0"],
"pandas.GBQQueryDataSet": [PANDAS, "pandas-gbq>=0.12.0, <1.0"],
"pandas.HDFDataSet": [PANDAS, "tables~=3.6.0; platform_system == 'Windows'",
"tables~=3.6; platform_system != 'Windows'"],
"pandas.HDFDataSet": [
PANDAS,
"tables~=3.6.0; platform_system == 'Windows'",
"tables~=3.6; platform_system != 'Windows'",
],
"pandas.JSONDataSet": [PANDAS],
"pandas.ParquetDataSet": [PANDAS, "pyarrow>=1.0, <7.0"],
"pandas.SQLTableDataSet": [PANDAS, "SQLAlchemy~=1.2"],
Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ nbformat~=4.4
networkx~=2.4
openpyxl>=3.0.3, <4.0
pandas-gbq>=0.12.0, <1.0
pandas>=0.24.0 # Needs to be at least 0.24.0 to make use of `pandas.DataFrame.to_numpy` (recommended alternative to `pandas.DataFrame.values`)
pandas>=0.24, <1.4 # Needs to be at least 0.24.0 to make use of `pandas.DataFrame.to_numpy` (recommended alternative to `pandas.DataFrame.values`); needs to be less than 1.4 for compatiblity with xlrd~=1.0.
Pillow~=8.0
plotly>=4.8.0, <6.0
pre-commit~=1.17
Expand Down