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

Fix minor deployment warnings #359

Merged
merged 3 commits into from
Jan 13, 2022
Merged

Conversation

jeremyh
Copy link
Collaborator

@jeremyh jeremyh commented Jan 12, 2022

Fix warnings in the newer versions of Shapely and Sqlalchemy.

(There's still a couple of deprecation warnings coming from inside datacube-core's code, though. Already reported)

This also fixes the AttributeError coming from shapely during garbage collection. It was caused by the deprecated method not supporting empty geometry collections, which some datasets trigger. (I could reproduce it by viewing wofs_summary datasets on the NCI instance.)

(Fixes #354)

60 seconds is a little too tight for API usage.
The traceback was coming from datasets with empty
geometry collections. Moving to the non-deprecated
alternative fixed the exception.
@codecov
Copy link

codecov bot commented Jan 12, 2022

Codecov Report

Merging #359 (a3ce478) into develop (67ae07d) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #359   +/-   ##
========================================
  Coverage    86.44%   86.44%           
========================================
  Files           25       25           
  Lines         3107     3107           
========================================
  Hits          2686     2686           
  Misses         421      421           
Impacted Files Coverage Δ
cubedash/_utils.py 86.54% <0.00%> (ø)
cubedash/summary/_stores.py 91.55% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67ae07d...a3ce478. Read the comment docs.

@jeremyh jeremyh marked this pull request as ready for review January 12, 2022 22:47
@jeremyh jeremyh merged commit e8e1243 into opendatacube:develop Jan 13, 2022
@jeremyh jeremyh deleted the deploy-improv branch January 13, 2022 01:43
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.

AttributeError: can't set attribute
1 participant