-
Notifications
You must be signed in to change notification settings - Fork 156
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
Enable pytest failures on warnings on FutureWarnings (Replace deprecated geopandas.dataset
module)
#1360
Merged
rapids-bot
merged 10 commits into
rapidsai:branch-24.06
from
mroeschke:testing/future/warnings
Apr 16, 2024
Merged
Enable pytest failures on warnings on FutureWarnings (Replace deprecated geopandas.dataset
module)
#1360
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
86481f3
Enable pytest failures on cudf warnings
mroeschke eada0cc
newline
mroeschke 8bcfc6a
Add xfail reason
mroeschke 8347a0c
replace geopandas.dataset
mroeschke 2ddb6c2
Merge remote-tracking branch 'upstream/branch-24.04' into testing/fut…
mroeschke 8efd9dd
Give mem test its own object, fix datasets usage
mroeschke df3a943
Change mem usage number?
mroeschke 20cbbda
Merge remote-tracking branch 'upstream/branch-24.06' into testing/fut…
mroeschke e706569
Merge remote-tracking branch 'upstream/branch-24.06' into testing/fut…
mroeschke 7a39994
Merge remote-tracking branch 'upstream/branch-24.06' into testing/fut…
mroeschke File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This test is now essentially the same as
test_memory_usage_large
below. Is it OK to deduplicate?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.
It's the same size because there are no geoseries in the geodataframe other than "geometry", right? The logic is different.
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.
Ah yes you're correct.
gpd.read_file(gpd.datasets.get_path("naturalearth_lowres"))
also haspop_est, continent, name, iso_a3, and gdp_md_est
columns. Is it OK if this test no longer has those columns?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.
I don't know. @isVoid @thomcom do you?
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.
This does change the logic, previously the test was also validating that the cudf series are being read with from_geopandas. I don't think another test verifies this.
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.
Sorry coming back to this now.
Did you mean geopandas series? It looks like that may be tested in
python/cuspatial/cuspatial/tests/test_from_geopandas.py
and I don't seecuspatial.from_geopandas
supporting acudf.Series