Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (fastapi) (#151)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change | Age | Adoption | Passing |
Confidence |
|---|---|---|---|---|---|---|---|
|
[charliermarsh/ruff-pre-commit](https://redirect.github.com/charliermarsh/ruff-pre-commit)
| repository | patch | `v0.6.3` -> `v0.6.4` |
[![age](https://developer.mend.io/api/mc/badges/age/github-tags/charliermarsh%2fruff-pre-commit/v0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/github-tags/charliermarsh%2fruff-pre-commit/v0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/github-tags/charliermarsh%2fruff-pre-commit/v0.6.3/v0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/charliermarsh%2fruff-pre-commit/v0.6.3/v0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [fastapi](https://redirect.github.com/fastapi/fastapi)
([changelog](https://fastapi.tiangolo.com/release-notes/)) |
dependencies | minor | `^0.112.0` -> `^0.113.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/fastapi/0.113.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/fastapi/0.113.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/fastapi/0.112.3/0.113.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastapi/0.112.3/0.113.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [ruff](https://docs.astral.sh/ruff)
([source](https://redirect.github.com/astral-sh/ruff),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md))
| local | patch | `0.6.3` -> `0.6.4` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/ruff/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/ruff/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/ruff/0.6.3/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ruff/0.6.3/0.6.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>charliermarsh/ruff-pre-commit
(charliermarsh/ruff-pre-commit)</summary>

###
[`v0.6.4`](https://redirect.github.com/astral-sh/ruff-pre-commit/releases/tag/v0.6.4)

[Compare
Source](https://redirect.github.com/charliermarsh/ruff-pre-commit/compare/v0.6.3...v0.6.4)

See: https://github.com/astral-sh/ruff/releases/tag/0.6.4

</details>

<details>
<summary>fastapi/fastapi (fastapi)</summary>

###
[`v0.113.0`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.113.0)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.112.4...0.113.0)

Now you can declare form fields with Pydantic models:

```python
from typing import Annotated

from fastapi import FastAPI, Form
from pydantic import BaseModel

app = FastAPI()

class FormData(BaseModel):
    username: str
    password: str

@&#8203;app.post("/login/")
async def login(data: Annotated[FormData, Form()]):
    return data
```

Read the new docs: [Form
Models](https://fastapi.tiangolo.com/tutorial/request-form-models/).

##### Features

- ✨ Add support for Pydantic models in `Form` parameters. PR
[#&#8203;12129](https://redirect.github.com/fastapi/fastapi/pull/12129)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

##### Internal

- 🔧 Update sponsors: Coherence link. PR
[#&#8203;12130](https://redirect.github.com/fastapi/fastapi/pull/12130)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

###
[`v0.112.4`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.112.4)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.112.3...0.112.4)

This release is mainly a big internal refactor to enable adding support
for Pydantic models for `Form` fields, but that feature comes in the
next release.

This release shouldn't affect apps using FastAPI in any way. You don't
even have to upgrade to this version yet. It's just a checkpoint. 🤓

##### Refactors

- ♻️ Refactor deciding if `embed` body fields, do not overwrite fields,
compute once per router, refactor internals in preparation for Pydantic
models in `Form`, `Query` and others. PR
[#&#8203;12117](https://redirect.github.com/fastapi/fastapi/pull/12117)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

##### Internal

- ⏪️ Temporarily revert "✨ Add support for Pydantic models in `Form`
parameters" to make a checkpoint release. PR
[#&#8203;12128](https://redirect.github.com/fastapi/fastapi/pull/12128)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).
- ✨ Add support for Pydantic models in `Form` parameters. PR
[#&#8203;12127](https://redirect.github.com/fastapi/fastapi/pull/12127)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo). Reverted to
make a checkpoint release with only refactors.

</details>

<details>
<summary>astral-sh/ruff (ruff)</summary>

###
[`v0.6.4`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#064)

[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.3...0.6.4)

##### Preview features

- \[`flake8-builtins`] Use dynamic builtins list based on Python version
([#&#8203;13172](https://redirect.github.com/astral-sh/ruff/pull/13172))
- \[`pydoclint`] Permit yielding `None` in `DOC402` and `DOC403`
([#&#8203;13148](https://redirect.github.com/astral-sh/ruff/pull/13148))
- \[`pylint`] Update diagnostic message for `PLW3201`
([#&#8203;13194](https://redirect.github.com/astral-sh/ruff/pull/13194))
- \[`ruff`] Implement `post-init-default` (`RUF033`)
([#&#8203;13192](https://redirect.github.com/astral-sh/ruff/pull/13192))
- \[`ruff`] Implement useless if-else (`RUF034`)
([#&#8203;13218](https://redirect.github.com/astral-sh/ruff/pull/13218))

##### Rule changes

- \[`flake8-pyi`] Respect `pep8_naming.classmethod-decorators` settings
when determining if a method is a classmethod in
`custom-type-var-return-type` (`PYI019`)
([#&#8203;13162](https://redirect.github.com/astral-sh/ruff/pull/13162))
- \[`flake8-pyi`] Teach various rules that annotations might be
stringized
([#&#8203;12951](https://redirect.github.com/astral-sh/ruff/pull/12951))
- \[`pylint`] Avoid `no-self-use` for `attrs`-style validators
([#&#8203;13166](https://redirect.github.com/astral-sh/ruff/pull/13166))
- \[`pylint`] Recurse into subscript subexpressions when searching for
list/dict lookups (`PLR1733`, `PLR1736`)
([#&#8203;13186](https://redirect.github.com/astral-sh/ruff/pull/13186))
- \[`pyupgrade`] Detect `aiofiles.open` calls in `UP015`
([#&#8203;13173](https://redirect.github.com/astral-sh/ruff/pull/13173))
- \[`pyupgrade`] Mark `sys.version_info[0] < 3` and similar comparisons
as outdated (`UP036`)
([#&#8203;13175](https://redirect.github.com/astral-sh/ruff/pull/13175))

##### CLI

- Enrich messages of SARIF results
([#&#8203;13180](https://redirect.github.com/astral-sh/ruff/pull/13180))
- Handle singular case for incompatible rules warning in `ruff format`
output
([#&#8203;13212](https://redirect.github.com/astral-sh/ruff/pull/13212))

##### Bug fixes

- \[`pydocstyle`] Improve heuristics for detecting Google-style
docstrings
([#&#8203;13142](https://redirect.github.com/astral-sh/ruff/pull/13142))
- \[`refurb`] Treat `sep` arguments with effects as unsafe removals
(`FURB105`)
([#&#8203;13165](https://redirect.github.com/astral-sh/ruff/pull/13165))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/ddoroshev/pylerplate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41OS4yIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6ImZhc3RhcGkiLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Sep 5, 2024
1 parent 438122a commit c9e2bde
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.3
rev: v0.6.4
hooks:
- id: ruff
args:
Expand Down
46 changes: 23 additions & 23 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = ["Dima Doroshev <dima@doroshev.com>"]
python = "^3.12"
sentry-sdk = "^2.0.0"
fastapi-utils = "^0.7.0"
fastapi = "^0.112.0"
fastapi = "^0.113.0"
ujson = "^5.8.0"
requests = "^2.31.0"
aiofiles = "^24.0.0"
Expand Down

1 comment on commit c9e2bde

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
app
   main.py15282%17–18
   views.py13285%21, 25
TOTAL46490% 

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 0 🔥 0.209s ⏱️

Please sign in to comment.