Conversation
* Update cached functions to use migrated functions from latest Solvis pre-release.
- filter_set_logic_operations:
- Graphene type derived from Solvis enum
- _solvis_join() helper to convert filter_set_options to native Solvis enum
- composite_rupture_sections: fixed an easy deprecation warning
- cached:
- get_rupture_ids_for_location_radius calls solvis version with a deprecation warning
- get_rupture_ids_for_fault_names calls solvis version with a deprecation warning
- update calls to both of the above to use their respective solvis versions
* Black+isort on tests too, for tidiness
* Updates for pre-release versions of solvis, solvis-store.
Update nzshm-model to 0.6
Update nzshm-common to 0.7
Update solvis to pre-release branch (0.12.0.alpha.1)
Update solvis-store to pre-release branch
For nzshm-model 0.6: get_rupture_ids_for_location_radius_stored now getting
rupture_set_id values from branch inversion sources
* filter_set_logic_operations: More verbose import for Solvis typing
This makes it clearer in the code that we're not using the native
Python typing module.
(Also filtering out `if TYPE_CHECKING:` blocks from coverage tests,
while I'm here.)
* Documenting deprecation warning fix in composite_rupture_sections.py.
* test_rupture_sorting_function: clearing LRU cache between tests (#55)
* update packages to use solvis@latest; fix API changes;
* remove python 3.9 from tox setup; set serverless runtime python 3.10
* drop python3.9 support; updated dependencies; changelog
* disable use of solvi-store
* skip tests that expect solvis-store
* detox;
---------
Co-authored-by: Chris Chamberlain <chrisbc@artisan.co.nz>
* deployment tweaks WIP * reinstate tests (caching still active);detox; * first implementation of BinaryLargeObject; * added S3 blob attribute to store * remove unneeded modules * refactor compositie_solution * WIP on refactoring; data_store; fixtures; composite solution based tests are broken; * fixed broken test setup; detoxed * defeat caching for all tests; much slower tests for now; * make sure tests do not hit server! * configure services for data layer; * cli and tests for new modelBinaryLargeObject for CompositeSolution objects * fix tests for new get_composite_solution; * add deployment exclusions; configure s3 region_name; update readme and chamgelog; * Bump version: 0.8.6 → 0.9.0 * removed solvis_store caching option; clean up tests; * remove unused data_store modules; * warmer config for dev; * GHA action versions; python version as string; * convert tests to tiny fixture; * refactor indexing on new dynamodb table * smaller test fixture * fix method call * clean up comments; bump release date; * remove python3.9 support; remove backoff dependency; * fix get call in cli * update changelog
… release.yml; updated deployment workflow;
…dd README in `ab_test` describing ab_test usage;
- closes CHORE: solvis-graphql-api is missing a node lock file #72 - closes CHORE: sanity check update to use new solvis 1.0.0 #60 - migrates to ECR style deployment (see DEPLOYMENT.md) - added cli_ab_test script to help verify API stability end-to-end - geojson feature json now includes default values for styling: fill-opacity and fill-stroke.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #75 +/- ##
===========================================
- Coverage 100.00% 95.80% -4.20%
===========================================
Files 2 20 +18
Lines 32 1143 +1111
Branches 0 54 +54
===========================================
+ Hits 32 1095 +1063
- Misses 0 34 +34
- Partials 0 14 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This will merge and deploy latest API changes to production
Main changes: