Materials-Consortia / optimade-python-tools

Tools for implementing and consuming OPTIMADE APIs in Python
https://www.optimade.org/optimade-python-tools/
MIT License
68 stars 42 forks source link

Bump the python-dependencies group with 7 updates #2152

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 week ago

Bumps the python-dependencies group with 7 updates:

Package From To
pydantic[email] 2.9.1 2.9.2
elasticsearch 7.17.9 7.17.12
pymongo 4.8.0 4.9.1
fastapi 0.114.2 0.115.0
starlette 0.38.5 0.38.6
pymatgen 2024.8.9 2024.9.17.1
mkdocs-material 9.5.34 9.5.36

Updates pydantic[email] from 2.9.1 to 2.9.2

Release notes

Sourced from pydantic[email]'s releases.

v2.9.2 (2024-09-17)

What's Changed

Fixes

Full Changelog: https://github.com/pydantic/pydantic/compare/v2.9.1...v2.9.2

Changelog

Sourced from pydantic[email]'s changelog.

v2.9.2 (2024-09-17)

GitHub release

What's Changed

Fixes

Commits


Updates elasticsearch from 7.17.9 to 7.17.12

Release notes

Sourced from elasticsearch's releases.

7.17.12

Commits


Updates pymongo from 4.8.0 to 4.9.1

Release notes

Sourced from pymongo's releases.

PyMongo 4.9.1

Community notes: https://www.mongodb.com/community/forums/t/pymongo-4-9-released/297833

Changelog

Sourced from pymongo's changelog.

Changelog

Changes in Version 4.9.0

.. warning:: Driver support for MongoDB 3.6 reached end of life in April 2024. PyMongo 4.9 will be the last release to support MongoDB 3.6.

.. warning:: PyMongo 4.9 refactors a large portion of internal APIs to support the new asynchronous API beta. As a result, versions of Motor older than 3.6 are not compatible with PyMongo 4.9. Existing users of these versions must either upgrade to Motor 3.6 and PyMongo 4.9, or cap their PyMongo version to < 4.9. Any applications that use private APIs may also break as a result of these internal changes.

PyMongo 4.9 brings a number of improvements including:

  • Added support for MongoDB 8.0.
  • Added support for Python 3.13.
  • A new beta asynchronous API with full asyncio support. This new asynchronous API is a work-in-progress that may change during the beta period before the full release.
  • Added support for In-Use Encryption range queries with MongoDB 8.0. Added :attr:~pymongo.encryption.Algorithm.RANGE. sparsity and trim_factor are now optional in :class:~pymongo.encryption_options.RangeOpts.
  • Added support for the "delegated" option for the KMIP master_key in :meth:~pymongo.encryption.ClientEncryption.create_data_key.
  • pymongocrypt>=1.10 is now required for :ref:In-Use Encryption support.
  • Added :meth:~pymongo.cursor.Cursor.to_list to :class:~pymongo.cursor.Cursor, :class:~pymongo.command_cursor.CommandCursor, :class:~pymongo.asynchronous.cursor.AsyncCursor, and :class:~pymongo.asynchronous.command_cursor.AsyncCommandCursor as an asynchronous-friendly alternative to list(cursor).
  • Added :meth:~pymongo.mongo_client.MongoClient.bulk_write to :class:~pymongo.mongo_client.MongoClient and :class:~pymongo.asynchronous.mongo_client.AsyncMongoClient, enabling users to perform insert, update, and delete operations against mixed namespaces in a minimized number of round trips. Please see :doc:examples/client_bulk for more information.
  • Added support for the namespace parameter to the :class:~pymongo.operations.InsertOne, :class:~pymongo.operations.ReplaceOne, :class:~pymongo.operations.UpdateOne, :class:~pymongo.operations.UpdateMany, :class:~pymongo.operations.DeleteOne, and :class:~pymongo.operations.DeleteMany operations, so they can be used in the new :meth:~pymongo.mongo_client.MongoClient.bulk_write.
  • Added :func:repr support to :class:bson.tz_util.FixedOffset.
  • Fixed a bug where PyMongo would raise InvalidBSON: unhashable type: 'tzfile' when using :attr:~bson.codec_options.DatetimeConversion.DATETIME_CLAMP or :attr:~bson.codec_options.DatetimeConversion.DATETIME_AUTO with a timezone from dateutil.
  • Fixed a bug where PyMongo would raise InvalidBSON: date value out of range

... (truncated)

Commits
  • 8b26d4b BUMP 4.9.1
  • d0772f2 PYTHON-4773 - Async PyMongo Beta docs update (#1868)
  • 2ddd16d BUMP 4.10.0.dev0
  • 699d962 BUMP 4.9
  • 2c432b5 PYTHON-4768 - Fix atlas connection tests and cleanup uses of raw MongoClients...
  • 6d472a1 PYTHON-4738 Skip encryption test_fork on PyPy (#1865)
  • 9a71be1 PYTHON-4740 Convert asyncio.TimeoutError to socket.timeout for compat (#1864)
  • c136684 PYTHON-4585 Cursor.to_list does not apply client's timeoutMS setting (#1860)
  • 40ebc16 PYTHON-4764 Update to use current supported EVG hosts (#1858)
  • 163e3d4 PYTHON-4738 - Make test_encryption.TestClientSimple.test_fork sync-only (#1862)
  • Additional commits viewable in compare view


Updates fastapi from 0.114.2 to 0.115.0

Release notes

Sourced from fastapi's releases.

0.115.0

Highlights

Now you can declare Query, Header, and Cookie parameters with Pydantic models. 🎉

Query Parameter Models

Use Pydantic models for Query parameters:

from typing import Annotated, Literal

from fastapi import FastAPI, Query from pydantic import BaseModel, Field

app = FastAPI()

class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = []

@​app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]): return filter_query

Read the new docs: Query Parameter Models.

Header Parameter Models

Use Pydantic models for Header parameters:

from typing import Annotated

from fastapi import FastAPI, Header from pydantic import BaseModel

app = FastAPI()

class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None </tr></table>

... (truncated)

Commits
  • 40e33e4 🔖 Release version 0.115.0
  • b36047b 📝 Update release notes
  • 7eadeb6 📝 Update release notes
  • 55035f4 ✨ Add support for Pydantic models for parameters using Query, Cookie, `He...
  • 0903da7 📝 Update release notes
  • 4b2b14a ⬆ [pre-commit.ci] pre-commit autoupdate (#12204)
  • 35df20c 📝 Update release notes
  • 8eb3c56 🌐 Add Portuguese translation for `docs/pt/docs/advanced/security/http-basic-a...
  • See full diff in compare view


Updates starlette from 0.38.5 to 0.38.6

Release notes

Sourced from starlette's releases.

Version 0.38.6

Fixed

  • Close unclosed MemoryObjectReceiveStream in TestClient #2693.

Full Changelog: https://github.com/encode/starlette/compare/0.38.5...0.38.6

Changelog

Sourced from starlette's changelog.

0.38.6 (September 22, 2024)

Fixed

  • Close unclosed MemoryObjectReceiveStream in TestClient #2693.
Commits


Updates pymatgen from 2024.8.9 to 2024.9.17.1

Release notes

Sourced from pymatgen's releases.

v2024.9.17.1

  • Emergency release No. 2 to fix yet another regression in chempot diagram. (Thanks @​yang-ruoxi for fixing.)

v2024.9.17

  • Emergency release to fix broken phase diagram plotting due to completely unnecessary refactoring. (Thanks @​yang-ruoxi for fixing.)

v2024.9.10

💥 Breaking: NumPy/Cython integer type changed from np.long/np.int_ to int64 on Windows to align with NumPy 2.x, changing the default integer type to int64 on Windows 64-bit systems in favor of the platform-dependent np.int_ type. Recommendation: Please explicitly declare dtype=np.int64 when initializing a NumPy array if it's passed to a Cythonized pymatgen function like find_points_in_spheres. You may also want to test downstream packages with NumPy 1.x on Windows in CI pipelines.

🛠 Enhancements

🐛 Bug Fixes

💥 Breaking Changes

📖 Documentation

🧹 House-Keeping

🚀 Performance

🚧 CI

... (truncated)

Changelog

Sourced from pymatgen's changelog.

v2024.9.17.1

  • Emergency release No. 2 to fix yet another regression in chempot diagram. (Thanks @​yang-ruoxi for fixing.)

v2024.9.17

  • Emergency release to fix broken phase diagram plotting due to completely unnecessary refactoring. (Thanks @​yang-ruoxi for fixing.)

v2024.9.10

💥 Breaking: NumPy/Cython integer type changed from np.long/np.int_ to int64 on Windows to align with NumPy 2.x, changing the default integer type to int64 on Windows 64-bit systems in favor of the platform-dependent np.int_ type. Recommendation: Please explicitly declare dtype=np.int64 when initializing a NumPy array if it's passed to a Cythonized pymatgen function like find_points_in_spheres. You may also want to test downstream packages with NumPy 1.x on Windows in CI pipelines.

🛠 Enhancements

🐛 Bug Fixes

💥 Breaking Changes

📖 Documentation

🧹 House-Keeping

🚀 Performance

... (truncated)

Commits


Updates mkdocs-material from 9.5.34 to 9.5.36

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.36

  • Fixed #7544: Social cards incorrectly rendering HTML entities
  • Fixed #7542: Improved support for setting custom list styles

mkdocs-material-9.5.35

  • Fixed #7498: Search not showing for Vietnamese language
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.36 (2024-09-21)

  • Fixed #7544: Social cards incorrectly rendering HTML entities
  • Fixed #7542: Improved support for setting custom list styles

mkdocs-material-9.5.35 (2024-09-18)

  • Fixed #7498: Search not showing for Vietnamese language

mkdocs-material-9.5.34+insiders-4.53.13 (2024-09-14)

  • Fixed #7520: Social plugin errors for generated files (MkDocs 1.6+)

mkdocs-material-9.5.34 (2024-08-31)

  • Updated Mermaid.js to version 11 (latest)

mkdocs-material-9.5.33 (2024-08-23)

  • Fixed #7453: Incorrect position of tooltip when sorting table

mkdocs-material-9.5.32 (2024-08-19)

  • Fixed RXSS vulnerability via deep link in search results
  • Added support for fetching latest release from GitLab

mkdocs-material-9.5.31+insiders-4.53.12 (2024-08-02)

  • Fixed #7410: Instant previews jump on content tabs with anchor links
  • Fixed #7408: Instant previews jump on content tabs

mkdocs-material-9.5.31 (2024-08-02)

  • Fixed #7405: DockerHub missing images > 9.5.27 due to change in Alpine/APK

mkdocs-material-9.5.30 (2024-07-23)

  • Fixed #7380: Navigation icons disappearing on hover in Safari
  • Fixed #7367: Blog readtime computation includes SVG text content

mkdocs-material-9.5.29 (2024-07-14)

  • Updated Galician translations
  • Fixed #7362: Annotations in figure captions rendering incorrectly

mkdocs-material-9.5.28 (2024-07-02)

  • Fixed #7313: Improved tooltips mounted in sidebar when feature is disabled

mkdocs-material-9.5.27 (2024-06-16)

... (truncated)

Commits


You can trigger a rebase of this PR 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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.79%. Comparing base (8faa9d0) to head (8fe4344). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2152 +/- ## ======================================= Coverage 90.79% 90.79% ======================================= Files 75 75 Lines 4824 4824 ======================================= Hits 4380 4380 Misses 444 444 ``` | [Flag](https://app.codecov.io/gh/Materials-Consortia/optimade-python-tools/pull/2152/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Materials-Consortia) | Coverage Δ | | |---|---|---| | [project](https://app.codecov.io/gh/Materials-Consortia/optimade-python-tools/pull/2152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Materials-Consortia) | `90.79% <ø> (ø)` | | | [validator](https://app.codecov.io/gh/Materials-Consortia/optimade-python-tools/pull/2152/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Materials-Consortia) | `90.79% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Materials-Consortia#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.