Closed ssolson closed 8 months ago
Pecos has merged a fix to master causing the error seen in the current build. Specifically the error is from pandas index method deprecation which replaced is_montonic
with is_monotinic_increasing
(or decreasing) and will soon release an update to pypi which will allow MHKiT to pass tests with the most recent pandas version.
@akeeste this PR is ready for review.
One discussion point I would suggest adding would be to only test ubuntu
on pulls to the dev
branch and then test windows
and mac
on pull to the master
branch. Doing so would reduce testing time from ~30 minutes to ~15 minutes.
Would you be opposed or have any concerns with this testing setup?
@akeeste I believe I have addressed your changes as well as added the only ubuntu on pulls to develop
. Please, give it a review and lmk what you think.
This PR adds testing support for Python 3.10 and 3.11 and removes all upper bound on required package versions such that users can work with the newest versions of all required packages.
Additionally this PR will now only run on ubuntu on pulls to
develop
and will run windows, macOS, and ubuntu on pulls tomaster
. This reduces runtime by ~15 minutes for development PRs. To make this work a new job was addedset-os
which sets the os matrix based on which branch the PR is made against.Most changes did not require changing the module source code. To update to the latest pandas:
mhkit.power.quality
: change deprecatedget_loc
toget_indexer
(docs)