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

Update dependencies and fix pandas 2.2 deprecation warnings #358

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Conversation

maread99
Copy link
Collaborator

Updates dependencies.

Fixes pandas 2.2 deprecation warnings concerning deprecation of frequency units "T", "H" and "S" in favor of "min", "h" and "s".

Preemptively constrains numpy dependency to <2 in anticipation of breaking changes with the upcoming major release 2.0. (make changes to accommodate numpy 2.0 post its release, keep exchange_calendars working in the meantime).

Removes python-dateutil from pyproject.toml dependencies (library is a dependency of pandas, not a direct dependency of
exchange_calendars).

Also, fixes #355 by removing superfluous kwarg from call in ecal to pd.date_range.

Preemptively constrains numpy dependency to <2 in anticipation of
breaking changes with the upcoming major release 2.0.  (make changes
to accommodate numpy 2.0 post its release, keep `exchange_calendars`
working in the meantme).

Removes `python-dateutil` from pyproject.toml dependencies (library
is a dependency of `pandas`, not a direct dependency of
`exchange_calendars`).

Also, fixes #355 by removing superfluous kwarg from call in `ecal` to
`pd.date_range`.
Fixes pandas 2.2 deprecation warnings concerning deprecation of
frequency units "T", "H" and "S" in favor of "min", "h" and "s".
@maread99 maread99 added dependencies Pull requests that update a dependency file fix Bug fix labels Jan 31, 2024
@maread99 maread99 merged commit 597c9fb into master Jan 31, 2024
8 checks passed
@maread99 maread99 deleted the deps branch January 31, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ecal: TypeError: DatetimeArray._generate_range() got an unexpected keyword argument 'closed'
1 participant