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[server] requirement from ~=0.19 to ~=0.22 #109

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2023

Updates the requirements on optimade[server] to permit the latest version.

Release notes

Sourced from optimade[server]'s releases.

v0.22.1

Changelog

v0.22.1 (2023-02-28)

Full Changelog

This patch release changes the synchronous functionality of OptimadeClient to use "vanilla" requests rather than httpx. This enables easier use inside of Jupyter notebooks.

Closed issues:

  • Add docs examples for client callbacks #1527
  • Cannot use the OptimadeClient in async mode with an existing event loop #1195

Merged pull requests:

  • Replace httpx usage in synchronous OptimadeClient with requests #1536 (ml-evs)

* This Changelog was automatically generated by github_changelog_generator

Changelog

Sourced from optimade[server]'s changelog.

v0.22.1 (2023-02-28)

Full Changelog

This patch release changes the synchronous functionality of OptimadeClient to use "vanilla" requests rather than httpx. This enables easier use inside of Jupyter notebooks.

Merged pull requests:

  • Replace httpx usage in synchronous OptimadeClient with requests #1536 (ml-evs)

v0.22.0 (2023-02-27)

Full Changelog

This release adds a new feature to the reference server for avoiding validating data on the way out of the API (useful in cases where a small amount of leniency is desirable, and will have a minor performance bump). It also fixes a bug in the schema where page_below and page_above were codified as integers rather than strings.

Implemented enhancements:

  • Add server config option to disable validation of outgoing data #1530 (ml-evs)

Fixed bugs:

  • Make page_above/below strings rather than ints #1529 (ml-evs)

v0.21.0 (2023-02-20)

Full Changelog

This minor release contains new client functionality and improved support for ASE.

New features:

  • Ability to specify async callback functions that are called after every client response. This can be used for e.g., iteratively saving to file or a database. For example:

    from optimade.client import OptimadeClient
    DATABASE = pymongo.MongoClient().database.collection
    def save_callback(url, results) -> None:
    for structure in results["data"]:
    DATABASE.insert_one(structure)
    client = OptimadeClient(callbacks=[save_callback])
    client.get()

  • Ability to create OPTIMADE structure objects from ASE atoms:

... (truncated)

Commits
  • 9829905 Release v0.22.1 - Changelog
  • c997f37 Add docs section on client callbacks
  • 1f0da20 Replace synchronous httpx calls with requests
  • 364bc2a Release v0.22.0 - Changelog
  • 27f38e7 Make page_above/below strings rather than ints (#1529)
  • a22cddb Add server config option validate_api_response to disable validation of out...
  • c3ed95d Release v0.21.0 - Changelog
  • eee40df Update dockerfile manifest
  • 81620ac Replace flake8, isort etc. with ruff
  • 8a19957 Add ability to specify callbacks to run after each client request (#1519)
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [optimade[server]](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.19.0...v0.22.1)

---
updated-dependencies:
- dependency-name: optimade[server]
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 15, 2024

Superseded by #116.

@dependabot dependabot bot closed this Jul 15, 2024
@dependabot dependabot bot deleted the dependabot/pip/main/optimade-server--approx-eq-0.22 branch July 15, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants