Skip to content

Commit

Permalink
Backport PR pandas-dev#60109: CI/TST: Update pyreadstat tests and pin…
Browse files Browse the repository at this point in the history
… xarray on CI
  • Loading branch information
rhshadrach authored and meeseeksmachine committed Oct 26, 2024
1 parent a24a653 commit 2e87bbf
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <=2024.9.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <=2024.9.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <=2024.9.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/actions-312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <=2024.9.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
2 changes: 1 addition & 1 deletion ci/deps/circle-310-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <2024.10.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies:
- scipy>=1.10.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2022.12.0
- xarray>=2022.12.0, <=2024.9.0
- xlrd>=2.0.1
- xlsxwriter>=3.0.5
- zstandard>=0.19.0
Expand Down
4 changes: 3 additions & 1 deletion pandas/tests/io/test_spss.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,6 @@ def test_spss_metadata(datapath):
"modification_time": datetime.datetime(2015, 2, 6, 14, 33, 36),
}
)
assert df.attrs == metadata
if Version(pyreadstat.__version__) >= Version("1.2.8"):
metadata["mr_sets"] = {}
tm.assert_dict_equal(df.attrs, metadata)
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ s3fs>=2022.11.0
scipy>=1.10.0
SQLAlchemy>=2.0.0
tabulate>=0.9.0
xarray>=2022.12.0
xarray>=2022.12.0, <=2024.9.0
xlrd>=2.0.1
xlsxwriter>=3.0.5
zstandard>=0.19.0
Expand Down

0 comments on commit 2e87bbf

Please sign in to comment.