-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies + Sub-class EntryCollection (#252)
Update dependencies: * Update pre-commit requirement from ~=2.12 to ~=2.13 * Update optimade[mongo] requirement from ~=0.14.1 to ~=0.16.0 * Update uvicorn requirement from ~=0.13.4 to ~=0.14.0 * Update invoke requirement from ~=1.5 to ~=1.6 * Update pylint requirement from ~=2.8 to ~=2.9 * Update aiida-core requirement from ~=1.6.3 to ~=1.6.4 Update GH Actions: * Bump codecov/codecov-action from 1.5.0 to 1.5.2 Update pre-commit hooks. Add general --dev option to CLI. It sets the AiiDA profile to `aiida-optimade_test` and forces the `--debug` option for `aiida-optimade run`. Update filtertransformer to v0.15 of `optimade`. It now takes a mapper - so the tests related to this have been un-skipped and the collection initialization has been fixed. Move filter property resolution to mapper. Add top-level "meta" to config file as a non-filterable property. Re-set filter fields and handle special properties. Provider-specific properties coming from unknown providers are now handled "properly", meaning they are converted to `"attributes.something.non.existing"`, which will similar to AiiDA ignoring it, or rather returning `None`, which may result in some weird results depending on how the filter is written. Patch TOP_LEVEL_NON_ATTRIBUTES_FIELDS in mapper. Make AiidaCollection sub-class EntryCollection: Utilize the base `EntryCollection` from `optimade` and its methods. Use `handle_response_fields()` from `optimade` - should be updated to set `by_alias=True`. Add AiidaCollections tests. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information
1 parent
b1e26bf
commit 6090339
Showing
28 changed files
with
608 additions
and
546 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"schemaVersion": 1, | ||
"label": "AiiDA", | ||
"message": "v1.6.3", | ||
"message": "v1.6.4", | ||
"color": "brightgreen" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,14 +106,14 @@ jobs: | |
|
||
- name: Upload coverage to Codecov | ||
if: matrix.python-version == 3.8 | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].2 | ||
with: | ||
flags: aiida | ||
file: ./coverage.xml | ||
|
||
- name: Upload coverage to Codecov | ||
if: matrix.python-version == 3.8 | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].2 | ||
with: | ||
flags: mongo | ||
file: ./mongo_cov.xml | ||
|
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
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.