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

build(deps): bump the dependencies group across 1 directory with 3 updates #213

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 20, 2024

Bumps the dependencies group with 3 updates in the / directory: fastapi, uvloop and ruff.

Updates fastapi from 0.111.1 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...
  • 2ada161 🔖 Release version 0.114.2
  • 3a5fd71 📝 Update release notes
  • Additional commits viewable in compare view

Updates uvloop from 0.19.0 to 0.20.0

Release notes

Sourced from uvloop's releases.

v0.20.0

Changes

Fixes

Commits

Updates ruff from 0.5.7 to 0.6.6

Release notes

Sourced from ruff's releases.

0.6.6

Release Notes

Preview features

  • [refurb] Skip slice-to-remove-prefix-or-suffix (FURB188) when non-trivial slice steps are present (#13405)
  • Add a subcommand to generate dependency graphs (#13402)

Formatter

  • Fix placement of inline parameter comments (#13379)

Server

  • Fix off-by one error in the LineIndex::offset calculation (#13407)

Bug fixes

  • [fastapi] Respect FastAPI aliases in route definitions (#13394)
  • [pydocstyle] Respect word boundaries when detecting function signature in docs (#13388)

Documentation

  • Add backlinks to rule overview linter (#13368)
  • Fix documentation for editor vim plugin ALE (#13348)
  • Fix rendering of FURB188 docs (#13406)

Install ruff 0.6.6

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/ruff/releases/download/0.6.6/ruff-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/astral-sh/ruff/releases/download/0.6.6/ruff-installer.ps1 | iex"

Download ruff 0.6.6

File Platform Checksum
ruff-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
ruff-x86_64-apple-darwin.tar.gz Intel macOS checksum
ruff-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
ruff-i686-pc-windows-msvc.zip x86 Windows checksum
ruff-x86_64-pc-windows-msvc.zip x64 Windows checksum

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.6

Preview features

  • [refurb] Skip slice-to-remove-prefix-or-suffix (FURB188) when non-trivial slice steps are present (#13405)
  • Add a subcommand to generate dependency graphs (#13402)

Formatter

  • Fix placement of inline parameter comments (#13379)

Server

  • Fix off-by one error in the LineIndex::offset calculation (#13407)

Bug fixes

  • [fastapi] Respect FastAPI aliases in route definitions (#13394)
  • [pydocstyle] Respect word boundaries when detecting function signature in docs (#13388)

Documentation

  • Add backlinks to rule overview linter (#13368)
  • Fix documentation for editor vim plugin ALE (#13348)
  • Fix rendering of FURB188 docs (#13406)

0.6.5

Preview features

  • [pydoclint] Ignore DOC201 when function name is "new" (#13300)
  • [refurb] Implement slice-to-remove-prefix-or-suffix (FURB188) (#13256)

Rule changes

  • [eradicate] Ignore script-comments with multiple end-tags (ERA001) (#13283)
  • [pyflakes] Improve error message for UndefinedName when a builtin was added in a newer version than specified in Ruff config (F821) (#13293)

Server

  • Add support for extensionless Python files for server (#13326)
  • Fix configuration inheritance for configurations specified in the LSP settings (#13285)

Bug fixes

  • [ruff] Handle unary operators in decimal-from-float-literal (RUF032) (#13275)

CLI

  • Only include rules with diagnostics in SARIF metadata (#13268)

... (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 <dependency name> 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 <dependency name> 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 <dependency name> 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 <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

…dates

Bumps the dependencies group with 3 updates in the / directory: [fastapi](https://github.com/fastapi/fastapi), [uvloop](https://github.com/MagicStack/uvloop) and [ruff](https://github.com/astral-sh/ruff).


Updates `fastapi` from 0.111.1 to 0.115.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.111.1...0.115.0)

Updates `uvloop` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/MagicStack/uvloop/releases)
- [Commits](MagicStack/uvloop@v0.19.0...v0.20.0)

Updates `ruff` from 0.5.7 to 0.6.6
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](astral-sh/ruff@0.5.7...0.6.6)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: uvloop
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 20, 2024
@github-actions github-actions bot merged commit fb82096 into main Sep 20, 2024
12 checks passed
@dependabot dependabot bot deleted the dependabot/pip/dependencies-fc2d49f91b branch September 20, 2024 10:15
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants