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(pip): bump the pip group across 1 directory with 6 updates #80

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the pip group with 6 updates in the / directory:

Package From To
fastapi 0.112.0 0.114.0
sqlmodel 0.0.21 0.0.22
typer 0.12.3 0.12.5
mypy 1.11.1 1.11.2
pytest-env 1.1.3 1.1.4
ruff 0.5.7 0.6.4

Updates fastapi from 0.112.0 to 0.114.0

Release notes

Sourced from fastapi's releases.

0.114.0

You can restrict form fields to only include those declared in a Pydantic model and forbid any extra field sent in the request using Pydantic's model_config = {"extra": "forbid"}:

from typing import Annotated
from fastapi import FastAPI, Form
from pydantic import BaseModel
app = FastAPI()
class FormData(BaseModel):
username: str
password: str
model_config = {"extra": "forbid"}
@​app.post("/login/")
async def login(data: Annotated[FormData, Form()]):
return data

Read the new docs: Form Models - Forbid Extra Form Fields.

Features

  • ✨ Add support for forbidding extra form fields with Pydantic models. PR #12134 by @​tiangolo.

Docs

  • 📝 Update docs, Form Models section title, to match config name. PR #12152 by @​tiangolo.

Internal

  • ✅ Update internal tests for latest Pydantic, including CI tweaks to install the latest Pydantic. PR #12147 by @​tiangolo.

0.113.0

Now you can declare form fields with Pydantic models:

from typing import Annotated
from fastapi import FastAPI, Form
from pydantic import BaseModel
app = FastAPI()
class FormData(BaseModel):
</tr></table>

... (truncated)

Commits
  • bde12fa 🔖 Release version 0.114.0
  • 74842f0 📝 Update release notes
  • e68d8c6 📝 Update release notes
  • 4ff22a0 📝 Update docs, Form Models section title, to match config name (#12152)
  • a11e392 📝 Update release notes
  • 4633b1b ✨ Add support for forbidding extra form fields with Pydantic models (#12134)
  • 1b06b53 📝 Update release notes
  • c411b81 ✅ Update internal tests for latest Pydantic, including CI tweaks to install t...
  • d86f660 🔖 Release version 0.113.0
  • 179f838 📝 Update release notes
  • Additional commits viewable in compare view

Updates sqlmodel from 0.0.21 to 0.0.22

Release notes

Sourced from sqlmodel's releases.

0.0.22

Fixes

  • 🐛 Fix support for types with Optional[Annoated[x, f()]], e.g. id: Optional[pydantic.UUID4]. PR #1093 by @​tiangolo.

Docs

Internal

Changelog

Sourced from sqlmodel's changelog.

0.0.22

Fixes

  • 🐛 Fix support for types with Optional[Annoated[x, f()]], e.g. id: Optional[pydantic.UUID4]. PR #1093 by @​tiangolo.

Docs

Internal

Commits
  • 016b2ba 🔖 Release version 0.0.22
  • 5930fb0 📝 Update release notes
  • feb5ff1 📝 Update release notes
  • a14ab0b 🐛 Fix support for types with Optional[Annoated[x, f()]], e.g. `id: Optional...
  • 4eaf8b9 📝 Update release notes
  • e4f3ec7 ✅ Refactor test_enums to make them independent of previous imports (#1095)
  • 9acd934 📝 Update release notes
  • ed6cf35 👷 Update latest-changes GitHub Action (#1087)
  • 711693e 📝 Update release notes
  • 20859a4 ⬆ [pre-commit.ci] pre-commit autoupdate (#1028)
  • Additional commits viewable in compare view

Updates typer from 0.12.3 to 0.12.5

Release notes

Sourced from typer's releases.

0.12.5

Features

  • 💄 Unify the width of the Rich console for help and errors. PR #788 by @​racinmat.
  • 🚸 Improve assertion error message if a group is not a valid subclass. PR #425 by @​chrisburr.

Fixes

Refactors

Docs

Internal

0.12.4

Features

Fixes

  • 🐛 Fix support for UnionType (e.g. str | None) with Python 3.11. PR #548 by @​jonaslb.

... (truncated)

Changelog

Sourced from typer's changelog.

0.12.5

Features

  • 💄 Unify the width of the Rich console for help and errors. PR #788 by @​racinmat.
  • 🚸 Improve assertion error message if a group is not a valid subclass. PR #425 by @​chrisburr.

Fixes

Refactors

Docs

Internal

0.12.4

Features

Fixes

... (truncated)

Commits
  • 88aefd4 🔖 Release version 0.12.5
  • 3ac3644 📝 Update release notes
  • d93c0ac 🔨 Pre-install dependencies in Docker so that testing in Docker is faster (#954)
  • a337850 📝 Update release notes
  • a5b7557 ✅ Add needs_bash test fixture (#888)
  • 6cc1f9a 📝 Update release notes
  • fc2c54f 🐛 Ensure rich_markup_mode=None disables Rich formatting (#859)
  • f17bb06 📝 Update release notes
  • afac2b8 🐛 Fix sourcing of completion path for Git Bash (#801)
  • 6b35a70 📝 Update release notes
  • Additional commits viewable in compare view

Updates mypy from 1.11.1 to 1.11.2

Commits
  • 789f02c Bump version to 1.11.2
  • 917cc75 An alternative fix for a union-like literal string (#17639)
  • 7d805b3 Unwrap TypedDict item types before storing (#17640)
  • 32675dd Revert "Fix Literal strings containing pipe characters" (#17638)
  • 778542b Revert "Fix RawExpressionType.accept crash with --cache-fine-grained" (#1...
  • 14ab742 Bump version to 1.11.2+dev
  • See full diff in compare view

Updates pytest-env from 1.1.3 to 1.1.4

Release notes

Sourced from pytest-env's releases.

1.1.4

Full Changelog: pytest-dev/pytest-env@1.1.3...1.1.4

Commits
  • 4d5015b Bump tools and dependencies and support 3.13
  • e95bd81 Bump tools and dependencies and support 3.13
  • 880f318 [pre-commit.ci] pre-commit autoupdate (#96)
  • da9b992 Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#98)
  • b398758 [pre-commit.ci] pre-commit autoupdate (#95)
  • edf092e [pre-commit.ci] pre-commit autoupdate (#94)
  • 476f5e2 [pre-commit.ci] pre-commit autoupdate (#93)
  • 8413e95 [pre-commit.ci] pre-commit autoupdate (#92)
  • 7af6ff8 [pre-commit.ci] pre-commit autoupdate (#91)
  • 66a96b1 Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#90)
  • Additional commits viewable in compare view

Updates ruff from 0.5.7 to 0.6.4

Release notes

Sourced from ruff's releases.

0.6.4

Release Notes

Preview features

  • [flake8-builtins] Use dynamic builtins list based on Python version (#13172)
  • [pydoclint] Permit yielding None in DOC402 and DOC403 (#13148)
  • [pylint] Update diagnostic message for PLW3201 (#13194)
  • [ruff] Implement post-init-default (RUF033) (#13192)
  • [ruff] Implement useless if-else (RUF034) (#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)
  • [flake8-pyi] Teach various rules that annotations might be stringized (#12951)
  • [pylint] Avoid no-self-use for attrs-style validators (#13166)
  • [pylint] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733, PLR1736) (#13186)
  • [pyupgrade] Detect aiofiles.open calls in UP015 (#13173)
  • [pyupgrade] Mark sys.version_info[0] < 3 and similar comparisons as outdated (UP036) (#13175)

CLI

  • Enrich messages of SARIF results (#13180)
  • Handle singular case for incompatible rules warning in ruff format output (#13212)

Bug fixes

  • [pydocstyle] Improve heuristics for detecting Google-style docstrings (#13142)
  • [refurb] Treat sep arguments with effects as unsafe removals (FURB105) (#13165)

Contributors

Install ruff 0.6.4

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.4

Preview features

  • [flake8-builtins] Use dynamic builtins list based on Python version (#13172)
  • [pydoclint] Permit yielding None in DOC402 and DOC403 (#13148)
  • [pylint] Update diagnostic message for PLW3201 (#13194)
  • [ruff] Implement post-init-default (RUF033) (#13192)
  • [ruff] Implement useless if-else (RUF034) (#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)
  • [flake8-pyi] Teach various rules that annotations might be stringized (#12951)
  • [pylint] Avoid no-self-use for attrs-style validators (#13166)
  • [pylint] Recurse into subscript subexpressions when searching for list/dict lookups (PLR1733, PLR1736) (#13186)
  • [pyupgrade] Detect aiofiles.open calls in UP015 (#13173)
  • [pyupgrade] Mark sys.version_info[0] < 3 and similar comparisons as outdated (UP036) (#13175)

CLI

  • Enrich messages of SARIF results (#13180)
  • Handle singular case for incompatible rules warning in ruff format output (#13212)

Bug fixes

  • [pydocstyle] Improve heuristics for detecting Google-style docstrings (#13142)
  • [refurb] Treat sep arguments with effects as unsafe removals (FURB105) (#13165)

0.6.3

Preview features

  • [flake8-simplify] Extend open-file-with-context-handler to work with dbm.sqlite3 (SIM115) (#13104)
  • [pycodestyle] Disable E741 in stub files (.pyi) (#13119)
  • [pydoclint] Avoid DOC201 on explicit returns in functions that only return None (#13064)

Rule changes

  • [flake8-async] Disable check for asyncio before Python 3.11 (ASYNC109) (#13023)

Bug fixes

  • [FastAPI] Avoid introducing invalid syntax in fix for fast-api-non-annotated-dependency (FAST002) (#13133)
  • [flake8-implicit-str-concat] Normalize octals before merging concatenated strings in single-line-implicit-string-concatenation (ISC001) (#13118)
  • [flake8-pytest-style] Improve help message for pytest-incorrect-mark-parentheses-style (PT023) (#13092)
  • [pylint] Avoid autofix for calls that aren't min or max as starred expression (PLW3301) (#13089)
  • [ruff] Add datetime.time, datetime.tzinfo, and datetime.timezone as immutable function calls (RUF009) (#13109)
  • [ruff] Extend comment deletion for RUF100 to include trailing text from noqa directives while preserving any following comments on the same line, if any (#13105)
  • Fix dark theme on initial page load for the Ruff playground (#13077)

... (truncated)

Commits
  • 65cc6ec Bump version to 0.6.4 (#13253)
  • 66fe226 [red-knot] fix lookup of nonlocal names in deferred annotations (#13236)
  • e965f9c [red-knot] Infer Unknown for the loop var in async for loops (#13243)
  • 0512428 [red-knot] Emit a diagnostic if the value of a starred expression or a `yield...
  • 46a4573 [red-knot] Add type inference for basic for loops (#13195)
  • 5728909 Make mypy pass on black in knot_benchmark (#13235)
  • 9d1bd7a [pylint] removed dunder methods in Python 3 (PLW3201) (#13194)
  • e37bde4 [ruff] implement useless if-else (RUF034) (#13218)
  • 862bd0c [red-knot] Add debug assert to check for duplicate definitions (#13214)
  • e1e9143 [red-knot] Handle multiple comprehension targets (#13213)
  • 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 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

Bumps the pip group with 6 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.112.0` | `0.114.0` |
| [sqlmodel](https://github.com/fastapi/sqlmodel) | `0.0.21` | `0.0.22` |
| [typer](https://github.com/fastapi/typer) | `0.12.3` | `0.12.5` |
| [mypy](https://github.com/python/mypy) | `1.11.1` | `1.11.2` |
| [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.1.3` | `1.1.4` |
| [ruff](https://github.com/astral-sh/ruff) | `0.5.7` | `0.6.4` |



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

Updates `sqlmodel` from 0.0.21 to 0.0.22
- [Release notes](https://github.com/fastapi/sqlmodel/releases)
- [Changelog](https://github.com/fastapi/sqlmodel/blob/main/docs/release-notes.md)
- [Commits](fastapi/sqlmodel@0.0.21...0.0.22)

Updates `typer` from 0.12.3 to 0.12.5
- [Release notes](https://github.com/fastapi/typer/releases)
- [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md)
- [Commits](fastapi/typer@0.12.3...0.12.5)

Updates `mypy` from 1.11.1 to 1.11.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.1...v1.11.2)

Updates `pytest-env` from 1.1.3 to 1.1.4
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Commits](pytest-dev/pytest-env@1.1.3...1.1.4)

Updates `ruff` from 0.5.7 to 0.6.4
- [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.4)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: sqlmodel
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: typer
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: mypy
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: pytest-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: ruff
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pip
...

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 9, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 16, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Sep 16, 2024
@dependabot dependabot bot deleted the dependabot/pip/pip-450f050028 branch September 16, 2024 09:37
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 size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants