Skip to content

Conversation

@ueshin
Copy link
Member

@ueshin ueshin commented Dec 25, 2017

What changes were proposed in this pull request?

This is a follow-up pr of #20054 modifying error messages for both pandas and pyarrow to show actual versions.

How was this patch tested?

Existing tests.

Copy link
Member

@HyukjinKwon HyukjinKwon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

import pandas
if LooseVersion(pandas.__version__) < LooseVersion('0.19.2'):
raise ImportError("Pandas >= 0.19.2 must be installed on calling Python process")
raise ImportError("Pandas >= 0.19.2 must be installed on calling Python process: %s"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe, we could make it a bit better like .. .. on calling Python process; however, your version was %s..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. I'll update them. Thanks!

@SparkQA
Copy link

SparkQA commented Dec 25, 2017

Test build #85366 has finished for PR 20074 at commit 07873d7.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Dec 25, 2017

Test build #85367 has finished for PR 20074 at commit ec1c92f.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@ueshin
Copy link
Member Author

ueshin commented Dec 25, 2017

Thanks for reviewing! merging to master.

@asfgit asfgit closed this in 12d20dd Dec 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants