Skip to content
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

[SEDONA-556] Hidden requirement for geopandas in apache-sedona 1.5.2 #1405

Merged
merged 1 commit into from
May 9, 2024

Conversation

jiayuasu
Copy link
Member

@jiayuasu jiayuasu commented May 8, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

#1229 tried to eliminate the warning message of KeplerGL and DeckGL. This was done by removing the try-catch of import error message. This try-catch also hides the GeoPandas error accidentally in the past. The removal of this interception hence makes GeoPandas a required dependency.

This PR moves the import geopandas statement to the function that actually needs.

How was this patch tested?

Passed local tests

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

@jiayuasu jiayuasu linked an issue May 8, 2024 that may be closed by this pull request
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone May 8, 2024
@jiayuasu jiayuasu requested a review from Kontinuation May 8, 2024 23:11
@jiayuasu jiayuasu added the bug label May 9, 2024
Copy link
Member

@Kontinuation Kontinuation left a comment

Choose a reason for hiding this comment

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

I've verified this in a fresh virtual environment. I think now we're good.

@jiayuasu jiayuasu merged commit a8595ff into master May 9, 2024
28 checks passed
@jiayuasu jiayuasu deleted the SEDONA-556 branch May 9, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hidden requirement for geopandas in apache-sedona[spark] 1.5.2
2 participants