Update dependencies and changes for pandas 2.0 #299
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updates dependencies and makes changes to accommodate pandas 2.0.
Changes mainly relate to pandas default timezone changing from
pytz.UTC
todatetime.timezone.utc
. These revisionsretain all timezones in
exchange_calendars
aspytz
.Also:
FutureWarning
to Error whenCustomBusinessDay.apply
was deprecated in pandas 2.0 (i.e. bug fix as XKRX not loading with pandas 2.0).@gerrymanoim - my intention's to merge this tomorrow and cut a new release as anyone currently installing
exchange_calendars
with pandas 2.0 will be experiencing behavior changes with regards to timezones and at least XKRX will be raising an error. Aside from tests for XKRX, 5 tests were failing and the test suite was raising a plethora of Warnings. With this PR there's just one Warning remaining which I'll raise an issue for (#300).