Skip to content

Commit

Permalink
Merge pull request #154 from jorenham/pandas-2.2
Browse files Browse the repository at this point in the history
Fix failing tests with `pandas>=2.2`
  • Loading branch information
jorenham authored Jan 23, 2024
2 parents 60da8bc + a106bfa commit ee12830
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 49 deletions.
100 changes: 52 additions & 48 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ typing_extensions = { version = "^4.1", python = "<3.11"}
# https://numpy.org/neps/nep-0029-deprecation_policy.html
numpy = "^1.23.4"
scipy = "^1.9.3"
pandas = { version = ">=1.4,<2.2", optional = true }
pandas = { version = ">=1.4,<3.0", optional = true }

[tool.poetry.group.dev.dependencies]
pytest = "^7.4"
Expand Down Expand Up @@ -89,6 +89,8 @@ filterwarnings = [
"error",
# https://github.com/dateutil/dateutil/issues/1314
"ignore::DeprecationWarning:dateutil",
# https://github.com/pandas-dev/pandas/issues/54466
"ignore:(?s).*Pyarrow will become a required dependency of pandas:DeprecationWarning",
]
log_cli_level = "info"
testpaths = ["tests", "lmo"]
Expand Down

0 comments on commit ee12830

Please sign in to comment.