-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bump minimum pandas version to 0.22.0, switch from pd.util.testing to pd.testing #1003
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
Conversation
The python 3.5 checks are failing, I suppose because the latest pandas version available for 3.5 doesn't have
|
my preference |
It appears that none of the test failures are due to pandas min dependency not being increased, and it appears that we've lost the test configuration that used https://github.com/pvlib/pvlib-python/blob/master/ci/requirements-py35-min.yml I think we need to get that working again before we can take action on this PR. |
Do I understand correctly that py35-min is used on Travis but not Azure? It seems like Travis is still running those tests, despite not posting the results to the PR: https://travis-ci.org/github/pvlib/pvlib-python/builds/708201652. This same thing happened with RdTools too: NREL/rdtools#138 (comment) -- maybe the travis yaml is out of date or something. |
Possibly relevant, but I think only someone with admin access to pvlib can do this: https://travis-ci.community/t/github-status-not-posted-on-commits-on-repositories-using-legacy-service-integration/7798 |
After merging master so that python35-min is included, we do get failures on pandas 0.18.1: https://dev.azure.com/solararbiter/pvlib%20python/_build/results?buildId=3817&view=logs&j=b0b9a916-ca36-5efa-d29b-53c06cc9f57e&t=4c652da1-4a81-5d6f-5221-c0e955e0fbca&l=31 Should we bump pandas to 0.22 in this PR? |
That works for me.
…On Sat, Jul 18, 2020 at 11:09 AM Kevin Anderson ***@***.***> wrote:
After merging master so that python35-min is included, we do get failures
on pandas 0.18.1:
https://dev.azure.com/solararbiter/pvlib%20python/_build/results?buildId=3817&view=logs&j=b0b9a916-ca36-5efa-d29b-53c06cc9f57e&t=4c652da1-4a81-5d6f-5221-c0e955e0fbca&l=31
Should we bump pandas to 0.22 in this PR?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1003 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBOERYB4G7GSECUPPKUFTDR4HQNNANCNFSM4O2CBE2Q>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor doc suggestion below. Test failures are unrelated, so we can go ahead and merge.
Co-authored-by: Will Holmgren <[email protected]>
Tests addedUpdates entries todocs/sphinx/source/api.rst
for API changes.Adds description and name entries in the appropriate "what's new" file indocs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.Only the
assert_*
functions are exposed in the public modulepandas.testing
, so I had to import thenetwork
decorator frompandas._testing
instead. I'm not sure why it isn't public, but its docstring example imports from_testing
so I guess that's the way to do it.git grep -n 'util\.test'
only shows one remaining instance, an output cell in the tracking tutorial notebook that should be taken care of by #999.FYI there is a new deprecation warning:
Looks like it only gets raised in our tests from netCDF4 calls. See Unidata/netcdf4-python#1023