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-476] Expose kepler & pydeck as extras #1229

Merged
merged 3 commits into from
Feb 1, 2024

Conversation

guilhem-dvr
Copy link
Contributor

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

  • No, this is a documentation update. The PR name follows the format [DOCS] my subject.

What changes were proposed in this PR?

This updates the Sedona python package with three new extras: kepler-map, pydeck-map, and an all extras.

It also moves the import of the optional dependencies kepler and pydeck inside the functions where they are used. This avoids logging unnecessary warnings like those described in #1222.

How was this patch tested?

I tested the addition of the extras by doing local installs of the module in a virtual environment. The changes to SedonaKepler and SedonaPyDeck have been tested in the CI.

Did this PR include necessary documentation updates?

  • Yes, I have updated the documentation.

@jiayuasu jiayuasu changed the title feat(python): expose kepler & pydeck as extras [SEDONA476] Expose kepler & pydeck as extras Feb 1, 2024
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone Feb 1, 2024
@jiayuasu
Copy link
Member

jiayuasu commented Feb 1, 2024

Thank you for your contribution!

@jiayuasu jiayuasu merged commit 08e8a1a into apache:master Feb 1, 2024
22 of 25 checks passed
@jiayuasu jiayuasu changed the title [SEDONA476] Expose kepler & pydeck as extras [SEDONA-476] Expose kepler & pydeck as extras Feb 1, 2024
@jiayuasu jiayuasu linked an issue Feb 1, 2024 that may be closed by this pull request
@guilhem-dvr guilhem-dvr deleted the map-extras branch February 1, 2024 13:05
jiayuasu pushed a commit that referenced this pull request Apr 28, 2024
* feat(python): expose kepler & pydeck optional dependencies in extras

* feat(python): add `all` extras option

* docs: update sql tutorial with new map extras
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.

Noisy warnings on optional imports
2 participants