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

Update optimade requirement from ~=0.25.3 to ~=1.0.1 in /.aiidalab #581

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Updates the requirements on optimade to permit the latest version.

Release notes

Sourced from optimade's releases.

v1.0.1

This release simply adds a new validator test that will trigger an "optional failure" if any endpoints do not return any results under the data key.

Changelog

v1.0.1 (2023-12-04)

Full Changelog

Closed issues:

  • Validator does not error on empty endpoints #1890
  • Provider fields not served when already prefixed in database #1883
  • Other potential bandaids to pull off before v1.0.0 #1847

Merged pull requests:

  • Add optional test for whether entry endpoints have any actual entries #1891 (ml-evs)

* This Changelog was automatically generated by github_changelog_generator

Changelog

Sourced from optimade's changelog.

v1.0.1 (2023-12-04)

Full Changelog

Closed issues:

  • Validator does not error on empty endpoints #1890
  • Provider fields not served when already prefixed in database #1883
  • Other potential bandaids to pull off before v1.0.0 #1847

Merged pull requests:

  • Add optional test for whether entry endpoints have any actual entries #1891 (ml-evs)

v1.0.0 (2023-11-09)

Full Changelog

optimade-python-tools has reached v1.0.0!

We have decided to make this first major release at this point due to the arduous migration to pydantic v2 between v1.0.0 and v0.25.3. This will allow for improved compatibility with the rest of the ecosystem, plus all of the performance and ergonomics benefits of the new pydantic.

If you are using optimade-python-tools primarily as a library, then you may need to make some code changes to support the new version. For example, the underlying API for dealing with the pydantic models has changed (e.g., model.dict() is now model.model_dump()) -- a full migration guide can be found in the pydantic docs. Additionally, any cases where the underlying JSON schemas were being modified may need to be updated; internally we are pretty much exclusively operating on the pydantic model objects without needing to modify the raw schemas anymore.

Going forward, v1.0.x will be the last series to support v1.1 of the OPTIMADE specification, with future versions of the package v1.x.y adding features from the pre-release of OPTIMADE v1.2.

A branch will be maintained for the v0.25.x series will be maintained for those who are stuck on pydantic v1 and run into bugs. Please make it clear in any bug reports if you are using this version.

Fixed bugs:

  • Deserialization regressions: cannot resolve child databases in client #1843
  • Performance regressions following pydantic update #1835

Closed issues:

  • Fly is using the wrong config file #1869
  • Python 3.12 support #1859
  • Remove nullable from schemas (for OpenAPI 3.1) #1814

Merged pull requests:

v0.25.3 (2023-09-29)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 18, 2023
@CasperWA CasperWA enabled auto-merge (squash) December 18, 2023 05:29
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (11ba279) 35.27% compared to head (f0a3aa5) 33.69%.
Report is 60 commits behind head on ci/dependabot-updates.

❗ Current head f0a3aa5 differs from pull request most recent head c1fb51e. Consider uploading reports for the commit c1fb51e to get more accurate results

Files Patch % Lines
optimade_client/subwidgets/filter_inputs.py 23.07% 10 Missing ⚠️
optimade_client/query_provider.py 33.33% 4 Missing ⚠️
optimade_client/informational.py 50.00% 1 Missing ⚠️
optimade_client/subwidgets/provider_database.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                    Coverage Diff                    @@
##           ci/dependabot-updates     #581      +/-   ##
=========================================================
- Coverage                  35.27%   33.69%   -1.59%     
=========================================================
  Files                         19       20       +1     
  Lines                       2404     2419      +15     
=========================================================
- Hits                         848      815      -33     
- Misses                      1556     1604      +48     
Flag Coverage Δ
optimade-client 33.69% <51.51%> (-1.59%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Updates the requirements on [optimade](https://github.com/Materials-Consortia/optimade-python-tools) to permit the latest version.
- [Release notes](https://github.com/Materials-Consortia/optimade-python-tools/releases)
- [Changelog](https://github.com/Materials-Consortia/optimade-python-tools/blob/master/CHANGELOG.md)
- [Commits](Materials-Consortia/optimade-python-tools@v0.25.3...v1.0.1)

---
updated-dependencies:
- dependency-name: optimade
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/dot-aiidalab/ci/dependabot-updates/optimade-approx-eq-1.0.1 branch from f0a3aa5 to c1fb51e Compare December 18, 2023 05:32
@CasperWA CasperWA merged commit 264034d into ci/dependabot-updates Dec 18, 2023
8 checks passed
@CasperWA CasperWA deleted the dependabot/pip/dot-aiidalab/ci/dependabot-updates/optimade-approx-eq-1.0.1 branch December 18, 2023 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant