Skip to content

Commit b836851

Browse files
authored
Pin pandas < 2 (#7650)
* 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
1 parent f1ff956 commit b836851

8 files changed

+8
-8
lines changed

ci/requirements/all-but-dask.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies:
2626
- numbagg
2727
- numpy<1.24
2828
- packaging
29-
- pandas
29+
- pandas<2
3030
- pint
3131
- pip
3232
- pseudonetcdf

ci/requirements/doc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
- numba
2121
- numpy>=1.21,<1.24
2222
- packaging>=21.3
23-
- pandas>=1.4
23+
- pandas>=1.4,<2
2424
- pooch
2525
- pip
2626
- pre-commit

ci/requirements/environment-py311.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies:
2828
- numexpr
2929
- numpy
3030
- packaging
31-
- pandas
31+
- pandas<2
3232
- pint
3333
- pip
3434
- pooch

ci/requirements/environment-windows-py311.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
# - numbagg
2626
- numpy
2727
- packaging
28-
- pandas
28+
- pandas<2
2929
- pint
3030
- pip
3131
- pre-commit

ci/requirements/environment-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- numbagg
2626
- numpy<1.24
2727
- packaging
28-
- pandas
28+
- pandas<2
2929
- pint
3030
- pip
3131
- pre-commit

ci/requirements/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies:
2828
- numexpr
2929
- numpy<1.24
3030
- packaging
31-
- pandas
31+
- pandas<2
3232
- pint
3333
- pip
3434
- pooch

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
numpy >= 1.21
66
packaging >= 21.3
7-
pandas >= 1.4
7+
pandas >= 1.4, <2

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ include_package_data = True
7676
python_requires = >=3.9
7777
install_requires =
7878
numpy >= 1.21 # recommended to use >= 1.22 for full quantile method support
79-
pandas >= 1.4
79+
pandas >= 1.4, <2
8080
packaging >= 21.3
8181

8282
[options.extras_require]

0 commit comments

Comments
 (0)