Closed jklenzing closed 4 years ago
Updates to code: added the conda manager to Travis CI, removed the python 3.8 tests as cannot get pandas to work there.
Part of the conda update went straight to develop, but in a version that doesn't work. This fixes those bugs too.
Description
Numpy 1.18.1 throws a TypeError when trying to interpret floats as integers. Updates the test routines to no longer pass through floats to numpy functions when integers are expected.
Pandas 2.0.0 will no longer carry around datetime, but asks users to import directly from datetime instead. Most of this was fixed in a previous pull, but the demo code was not updated at the time. This brings it in line with code updates.
Also updates demos to use
custom.attach
rather thancustom.add
in line with pysat 3.0.0 changes.Type of change
How Has This Been Tested?
Running demo codes locally. Also, pytest on full package.
Checklist:
develop
(notmaster
) branchCHANGELOG.md
, summarizing the changes