Releases: geospace-code/sciencedates
Releases · geospace-code/sciencedates
Python >= 3.7, update type anno
refactor
CI template Github Action
- apply best practices for python projects
- move CI to github actions
Py35 compatible, modularize
- Add PyPy3 and Python 3.5 compatibility
- modularize
- remove mandatory timezone components
Robustness
- improve test coverage and types tested
modernize
Enable arrays
Enable np.ndarray in/out for most functions.
Timezone naive expected
Due to upcoming changes in Numpy deprecating timezone-aware handling by numpy.datetime64, and the numerous essential libraries which depend on Numpy,
we have defaulted to timezone-naive.
The .forceutc() function still allows coercing to UTC if desired, but this is no longer used internally as it used to be.
Also CI now uses flake8
and mypy
type checking. As usual, type checking helped uncover some corner cases.
handle datetime.date correctly too
v1.3.2 handle datetime.datetime vs datetime.date correctly
forceutc returns datetime.time unchanges
allow datetime.date that comes into forceutc() to return unchanged.