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

Advance python minimum version to 3.9 / update dependencies #204

Merged
merged 8 commits into from
Sep 9, 2023
Merged

Conversation

maread99
Copy link
Owner

@maread99 maread99 commented Sep 9, 2023

Advances minimum Python version to 3.9.

Updates dependencies. Implements:

  • required fixes to support latest versions.
  • changes in light of pandas 2.1.0 FutureWarning.

Drops pydantic in favor of valimp for public function input validation.

Migrates from pytz to zoneinfo to represent timezones.

Drops pydantic and migrates to valimp to validate, parse and coerce
input to public functions.

Also:
- Updates project and workflow files to reflect that minimum python
version is now 3.9.
- Migrates to `|` operator from `typing.Union` and `typing.Optional`
(where permitted).
- Uses `functools.cache` as opposed to `functools.lru_cache`
where not limiting cache size.
Migrates codebase and tests (including resources) from `pytz` to
`zoneinfo`.

Drops `pytz` from dependencies and adds `tzdata`.
Updates for use with pandas 2.1.0
* Fixes required to retain behaviors.
* Changes required in light of FutureWarning concerning deprecations.
@maread99 maread99 added maintenance Keeping it all up to date dependencies Pull requests that update a dependency file labels Sep 9, 2023
Updates tutorials following migration from `pytz` to `zoneinfo`
Adds delay mapping for Seoul and Shenzhen exchanges.
@maread99
Copy link
Owner Author

maread99 commented Sep 9, 2023

Closes #9
Closes #177
Closes #185

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 maintenance Keeping it all up to date
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant