-
Notifications
You must be signed in to change notification settings - Fork 0
Commit c9e2bde
authored
chore(deps): update all non-major dependencies (fastapi) (#151)
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` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](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
@​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
[#​12129](https://redirect.github.com/fastapi/fastapi/pull/12129)
by [@​tiangolo](https://redirect.github.com/tiangolo).
##### Internal
- 🔧 Update sponsors: Coherence link. PR
[#​12130](https://redirect.github.com/fastapi/fastapi/pull/12130)
by [@​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
[#​12117](https://redirect.github.com/fastapi/fastapi/pull/12117)
by [@​tiangolo](https://redirect.github.com/tiangolo).
##### Internal
- ⏪️ Temporarily revert "✨ Add support for Pydantic models in `Form`
parameters" to make a checkpoint release. PR
[#​12128](https://redirect.github.com/fastapi/fastapi/pull/12128)
by [@​tiangolo](https://redirect.github.com/tiangolo).
- ✨ Add support for Pydantic models in `Form` parameters. PR
[#​12127](https://redirect.github.com/fastapi/fastapi/pull/12127)
by [@​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
([#​13172](https://redirect.github.com/astral-sh/ruff/pull/13172))
- \[`pydoclint`] Permit yielding `None` in `DOC402` and `DOC403`
([#​13148](https://redirect.github.com/astral-sh/ruff/pull/13148))
- \[`pylint`] Update diagnostic message for `PLW3201`
([#​13194](https://redirect.github.com/astral-sh/ruff/pull/13194))
- \[`ruff`] Implement `post-init-default` (`RUF033`)
([#​13192](https://redirect.github.com/astral-sh/ruff/pull/13192))
- \[`ruff`] Implement useless if-else (`RUF034`)
([#​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`)
([#​13162](https://redirect.github.com/astral-sh/ruff/pull/13162))
- \[`flake8-pyi`] Teach various rules that annotations might be
stringized
([#​12951](https://redirect.github.com/astral-sh/ruff/pull/12951))
- \[`pylint`] Avoid `no-self-use` for `attrs`-style validators
([#​13166](https://redirect.github.com/astral-sh/ruff/pull/13166))
- \[`pylint`] Recurse into subscript subexpressions when searching for
list/dict lookups (`PLR1733`, `PLR1736`)
([#​13186](https://redirect.github.com/astral-sh/ruff/pull/13186))
- \[`pyupgrade`] Detect `aiofiles.open` calls in `UP015`
([#​13173](https://redirect.github.com/astral-sh/ruff/pull/13173))
- \[`pyupgrade`] Mark `sys.version_info[0] < 3` and similar comparisons
as outdated (`UP036`)
([#​13175](https://redirect.github.com/astral-sh/ruff/pull/13175))
##### CLI
- Enrich messages of SARIF results
([#​13180](https://redirect.github.com/astral-sh/ruff/pull/13180))
- Handle singular case for incompatible rules warning in `ruff format`
output
([#​13212](https://redirect.github.com/astral-sh/ruff/pull/13212))
##### Bug fixes
- \[`pydocstyle`] Improve heuristics for detecting Google-style
docstrings
([#​13142](https://redirect.github.com/astral-sh/ruff/pull/13142))
- \[`refurb`] Treat `sep` arguments with effects as unsafe removals
(`FURB105`)
([#​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>1 parent 438122a commit c9e2bdeCopy full SHA for c9e2bde
File tree
Expand file treeCollapse file tree
3 files changed
+25
-25
lines changedFilter options
Expand file treeCollapse file tree
3 files changed
+25
-25
lines changed+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
|
+23-23Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
0 commit comments