Skip to content

Commit

Permalink
Pin pandas < 2 (#7650)
Browse files Browse the repository at this point in the history
* Pin pandas  < 2

Pandas is expecting to release v2 in two weeks (pandas-dev/pandas#46776 (comment)). But we are still incompatible with their main branch: 
- #7441 
- #7420

This PR pins pandas to `<2`

* modify requirements.txt

* Update requirements
  • Loading branch information
dcherian committed Mar 22, 2023
1 parent f1ff956 commit b836851
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ci/requirements/all-but-dask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:
- numbagg
- numpy<1.24
- packaging
- pandas
- pandas<2
- pint
- pip
- pseudonetcdf
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
- numba
- numpy>=1.21,<1.24
- packaging>=21.3
- pandas>=1.4
- pandas>=1.4,<2
- pooch
- pip
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/environment-py311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- numexpr
- numpy
- packaging
- pandas
- pandas<2
- pint
- pip
- pooch
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/environment-windows-py311.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
# - numbagg
- numpy
- packaging
- pandas
- pandas<2
- pint
- pip
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/environment-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- numbagg
- numpy<1.24
- packaging
- pandas
- pandas<2
- pint
- pip
- pre-commit
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies:
- numexpr
- numpy<1.24
- packaging
- pandas
- pandas<2
- pint
- pip
- pooch
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

numpy >= 1.21
packaging >= 21.3
pandas >= 1.4
pandas >= 1.4, <2
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ include_package_data = True
python_requires = >=3.9
install_requires =
numpy >= 1.21 # recommended to use >= 1.22 for full quantile method support
pandas >= 1.4
pandas >= 1.4, <2
packaging >= 21.3

[options.extras_require]
Expand Down

0 comments on commit b836851

Please sign in to comment.