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 9 updates #84

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 2024

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

Package From To
fastapi 0.112.0 0.115.0
sqlmodel 0.0.21 0.0.22
typer 0.12.3 0.12.5
mypy 1.11.1 1.11.2
pre-commit 3.8.0 4.0.0
pytest 8.3.2 8.3.3
pytest-env 1.1.3 1.1.5
ruff 0.5.7 0.6.9
commitizen 3.29.0 3.29.1

Updates fastapi from 0.112.0 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 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 pre-commit from 3.8.0 to 4.0.0

Release notes

Sourced from pre-commit's releases.

pre-commit v4.0.0

Features

Migrating

Changelog

Sourced from pre-commit's changelog.

4.0.0 - 2024-10-05

Features

Migrating

Commits
  • dbccd57 v4.0.0
  • d07e529 Merge pull request #3320 from pre-commit/remove-python-venv
  • 801b956 remove deprecated python_venv alias
  • a2f7b80 Merge pull request #3315 from pre-commit/warn-deprecated-stage-names-on-init
  • d317223 add warning for deprecates stages for remote repos on init
  • 7555e11 Merge pull request #3314 from pre-commit/remove-log-info-mock
  • 05e365f Merge pull request #3313 from pre-commit/default-stages-warning
  • 1d2f1c0 replace log_info_mock with pytest's caplog
  • 33e020f add warning for deprecated stages values in default_stages
  • e7cfc0d Merge pull request #3312 from pre-commit/warning-for-old-stage-names
  • Additional commits viewable in compare view

Updates pytest from 8.3.2 to 8.3.3

Release notes

Sourced from pytest's releases.

8.3.3

pytest 8.3.3 (2024-09-09)

Bug fixes

  • #12446: Avoid calling @property (and other instance descriptors) during fixture discovery -- by asottile{.interpreted-text role="user"}

  • #12659: Fixed the issue of not displaying assertion failure differences when using the parameter --import-mode=importlib in pytest>=8.1.

  • #12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.

  • #12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by Avasam{.interpreted-text role="user"}

  • #12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.

  • #6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in assert condition, msg).

  • #9422: Fix bug where disabling the terminal plugin via -p no:terminal would cause crashes related to missing the verbose option.

    -- by GTowers1{.interpreted-text role="user"}

Improved documentation

  • #12663: Clarify that the [pytest_deselected]{.title-ref} hook should be called from [pytest_collection_modifyitems]{.title-ref} hook implementations when items are deselected.
  • #12678: Remove erroneous quotes from [tmp_path_retention_policy]{.title-ref} example in docs.

Miscellaneous internal changes

  • #12769: Fix typos discovered by codespell and add codespell to pre-commit hooks.
Commits

Updates pytest-env from 1.1.3 to 1.1.5

Release notes

Sourced from pytest-env's releases.

1.1.5

What's Changed

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

1.1.4

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

Commits
  • fb88038 Update README.md
  • 438fc5a Improve the CI (#101)
  • 36ba135 [pre-commit.ci] pre-commit autoupdate (#100)
  • e9faa63 [pre-commit.ci] pre-commit autoupdate (#99)
  • 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)
  • Additional commits viewable in compare view

Updates ruff from 0.5.7 to 0.6.9

Release notes

Sourced from ruff's releases.

0.6.9

Release Notes

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

Install ruff 0.6.9

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

Download ruff 0.6.9

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

... (truncated)

Changelog

Sourced from ruff's changelog.

0.6.9

Preview features

  • Fix codeblock dynamic line length calculation for indented docstring examples (#13523)
  • [refurb] Mark FURB118 fix as unsafe (#13613)

Rule changes

  • [pydocstyle] Don't raise D208 when last line is non-empty (#13372)
  • [pylint] Preserve trivia (i.e. comments) in PLR5501 autofix (#13573)

Configuration

  • [pyflakes] Add allow-unused-imports setting for unused-import rule (F401) (#13601)

Bug fixes

  • Support ruff discovery in pip build environments (#13591)
  • [flake8-bugbear] Avoid short circuiting B017 for multiple context managers (#13609)
  • [pylint] Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis (#13527)
  • [pyupgrade] Fix UP043 to apply to collections.abc.Generator and collections.abc.AsyncGenerator (#13611)
  • [refurb] Fix handling of slices in tuples for FURB118, e.g., x[:, 1] (#13518)

Documentation

  • Update GitHub Action link to astral-sh/ruff-action (#13551)

0.6.8

Preview features

  • Remove unnecessary parentheses around match case clauses (#13510)
  • Parenthesize overlong if guards in match..case clauses (#13513)
  • Detect basic wildcard imports in ruff analyze graph (#13486)
  • [pylint] Implement boolean-chained-comparison (R1716) (#13435)

Rule changes

  • [lake8-simplify] Detect SIM910 when using variadic keyword arguments, i.e., **kwargs (#13503)
  • [pyupgrade] Avoid false negatives with non-reference shadowed bindings of loop variables (UP028) (#13504)

Bug fixes

  • Detect tuples bound to variadic positional arguments i.e. *args (#13512)
  • Exit gracefully on broken pipe errors (#13485)
  • Avoid panic when analyze graph hits broken pipe (#13484)

Performance

... (truncated)

Commits
  • 975be9c Bump version to 0.6.9 (#13624)
  • 99e4566 Mark FURB118 fix as unsafe (#13613)
  • 7ad07c2 Add allow-unused-imports setting for unused-import rule (F401) (#13601)
  • 4aefe52 Support ruff discovery in pip build environments (#13591)
  • cc1f766 Preserve trivia (i.e. comments) in PLR5501 (#13573)
  • fdd0a22 Move to maintained mirror of prettier (#13592)
  • 3728d5b [pyupgrade] Fix UP043 to apply to collections.abc.Generator and `collecti...
  • 7e3894f Avoid short circuiting B017 for multiple context managers (#13609)

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

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.112.0` | `0.115.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` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.8.0` | `4.0.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.3.2` | `8.3.3` |
| [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.1.3` | `1.1.5` |
| [ruff](https://github.com/astral-sh/ruff) | `0.5.7` | `0.6.9` |
| [commitizen](https://github.com/commitizen-tools/commitizen) | `3.29.0` | `3.29.1` |



Updates `fastapi` from 0.112.0 to 0.115.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.112.0...0.115.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 `pre-commit` from 3.8.0 to 4.0.0
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md)
- [Commits](pre-commit/pre-commit@v3.8.0...v4.0.0)

Updates `pytest` from 8.3.2 to 8.3.3
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.3.2...8.3.3)

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

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

Updates `commitizen` from 3.29.0 to 3.29.1
- [Release notes](https://github.com/commitizen-tools/commitizen/releases)
- [Changelog](https://github.com/commitizen-tools/commitizen/blob/master/CHANGELOG.md)
- [Commits](commitizen-tools/commitizen@v3.29.0...v3.29.1)

---
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: pre-commit
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pip
- dependency-name: pytest
  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
- dependency-name: commitizen
  dependency-type: direct:development
  update-type: version-update:semver-patch
  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 Oct 7, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 14, 2024

Superseded by #85.

@dependabot dependabot bot closed this Oct 14, 2024
@dependabot dependabot bot deleted the dependabot/pip/pip-1866b1bd8a branch October 14, 2024 09:14
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