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

pip(deps): bump the pip group with 7 updates #508

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps the pip group with 7 updates:

Package From To
fastapi 0.105.0 0.106.0
uvicorn 0.24.0.post1 0.25.0
boto3-stubs 1.34.2 1.34.7
mkdocs-material 9.5.2 9.5.3
pyright 1.1.341 1.1.342
black 23.12.0 23.12.1
ruff 0.1.8 0.1.9

Updates fastapi from 0.105.0 to 0.106.0

Release notes

Sourced from fastapi's releases.

0.106.0

Breaking Changes

Using resources from dependencies with yield in background tasks is no longer supported.

This change is what supports the new features, read below. 🤓

Dependencies with yield, HTTPException and Background Tasks

Dependencies with yield now can raise HTTPException and other exceptions after yield. 🎉

Read the new docs here: Dependencies with yield and HTTPException.

from fastapi import Depends, FastAPI, HTTPException
from typing_extensions import Annotated
app = FastAPI()
data = {
"plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
"portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
}
class OwnerError(Exception):
pass
def get_username():
try:
yield "Rick"
except OwnerError as e:
raise HTTPException(status_code=400, detail=f"Onwer error: {e}")
@​app.get("/items/{item_id}")
def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
if item_id not in data:
raise HTTPException(status_code=404, detail="Item not found")
item = data[item_id]
if item["owner"] != username:
raise OwnerError(username)
return item


Before FastAPI 0.106.0, raising exceptions after yield was not possible, the exit code in dependencies with yield was executed after the response was sent, so Exception Handlers would have already run.

... (truncated)

Commits
  • 5826c4f 📝 Tweak release notes
  • 91510db 🔖 Release version 0.106.0
  • bcd5a42 📝 Update release notes
  • 678bed2 📝 Update release notes
  • a4aa79e ✨ Add support for raising exceptions (including HTTPException) in dependenc...
  • e7756ae 📝 Update release notes
  • dc2fdd5 👥 Update FastAPI People (#10567)
  • See full diff in compare view

Updates uvicorn from 0.24.0.post1 to 0.25.0

Release notes

Sourced from uvicorn's releases.

Version 0.25.0

Added

  • Support the WebSocket Denial Response ASGI extension (#1916) 17/12/23

Fixed

  • Allow explicit hidden file paths on --reload-include (#2176) 08/12/23
  • Properly annotate uvicorn.run() (#2158) 22/11/23

Full Changelog: encode/uvicorn@0.24.0...0.25.0

Changelog

Sourced from uvicorn's changelog.

0.25.0 - 2023-12-17

Added

  • Support the WebSocket Denial Response ASGI extension (#1916) 17/12/23

Fixed

  • Allow explicit hidden file paths on --reload-include (#2176) 08/12/23
  • Properly annotate uvicorn.run() (#2158) 22/11/23
Commits

Updates boto3-stubs from 1.34.2 to 1.34.7

Commits

Updates mkdocs-material from 9.5.2 to 9.5.3

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.3

  • Limited version range of MkDocs to < 1.6
  • Updated Macedonian translations
  • Fixed #6520: Group plugin crashes when using mike
  • Fixed #6494: Hide author's email address if disabled in git-authors plugin
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.3+insiders-4.48.0 (2023-12-23)

  • Rewrite of tags plugin, now much more powerful
  • Added support for nested tags (tag hierarchies, e.g. foo/bar)
  • Added support for shadow tags (by list, prefix or suffix)
  • Added support for custom tag layouts and templates
  • Added support for hiding tags in table of contents
  • Added support for configurable inline tag listings
  • Added support for automatically linking to closest tag listing
  • Added support for scoped listings (limit to subsection of site)
  • Added support for multiple instances of tags plugin
  • Added support for changing front matter property and template variable
  • Added support for tag slugification format strings
  • Fixed #6510: Projects plugin out of memory on Linux (4.47.1 regression)
  • Fixed projects plugin not notifying plugins about serve mode
  • Fixed projects plugin skipping projects on prefix match
  • Deprecated tags_file and tags_extra_files settings
  • Modernized tags plugin code base

mkdocs-material-9.5.3 (2023-12-23)

  • Limited version range of MkDocs to < 1.6
  • Updated Macedonian translations
  • Fixed #6520: Group plugin crashes when using mike
  • Fixed #6494: Hide author's email address if disabled in git-authors plugin

mkdocs-material-9.5.2+insiders-4.47.1 (2023-12-11)

  • Improved editing experience for projects plugin
  • Improved resilience of optimize and social plugin
  • Fixed race condition when writing manifest in optimize and social plugin
  • Fixed #6475: Logo not taking precedence over icon in social card
  • Fixed #6399: Projects plugin doesn't pick up added/removed projects
  • Fixed #6306: Projects plugin cache not correctly updated

mkdocs-material-9.5.2 (2023-12-11)

  • Fixed types for slugify settings in blog plugin config
  • Fixed #6469: Horizontal scrollbars on MathJax containers

mkdocs-material-9.5.1+insiders-4.47.0 (2023-12-08)

  • Added support for staying on page when switching languages
  • Added configurable logging capabilities to projects plugin
  • Removed temporary warning on blog plugin authors file format change
  • Fixed projects plugin logging messages twice on Linux systems
  • Fixed projects plugin trying to hoist theme assets of divergent themes
  • Fixed compatibility of optimize plugin and projects plugin
  • Fixed compatibility of social plugin and projects plugin
  • Fixed #6448: Code line selection broken for code blocks with custom ids

... (truncated)

Commits

Updates pyright from 1.1.341 to 1.1.342

Commits

Updates black from 23.12.0 to 23.12.1

Release notes

Sourced from black's releases.

23.12.1

Fixed a bug that included dependencies from the d extra by default (#4108)

Changelog

Sourced from black's changelog.

23.12.1

Packaging

  • Fixed a bug that included dependencies from the d extra by default (#4108)
Commits

Updates ruff from 0.1.8 to 0.1.9

Release notes

Sourced from ruff's releases.

v0.1.9

Changes

Breaking changes

  • Add site-packages to default exclusions (#9188)

Preview features

  • Fix: Avoid parenthesizing subscript targets and values (#9209)
  • [pylint] Implement too-many-locals (PLR0914) (#9163)
  • Implement reimplemented_operator (FURB118) (#9171)
  • Add a rule to detect string members in runtime-evaluated unions (#9143)
  • Implement no_blank_line_before_class_docstring preview style (#9154)

Rule changes

  • CONSTANT_CASE variables are improperly flagged for yoda violation (SIM300) (#9164)
  • [flake8-pyi] Cover ParamSpecs and TypeVarTuples (PYI018) (#9198)
  • [flake8-bugbear] Add fix for zip-without-explicit-strict (B905) (#9176)
  • Add fix to automatically remove print and pprint statements (T201, T203) (#9208)
  • Prefer Never to NoReturn in auto-typing in Python >= 3.11 (ANN201) (#9213)

Formatter

  • can_omit_optional_parentheses: Exit early for unparenthesized expressions (#9125)
  • Fix dynamic mode with doctests so that it doesn't exceed configured line width (#9129)
  • Fix can_omit_optional_parentheses for expressions with a right most fstring (#9124)
  • Add target_version to formatter options (#9220)

CLI

  • Update ruff format --check to display message for already formatted files (#9153)

Bug fixes

  • Reverse order of arguments for operator.contains (#9192)
  • Iterate over lambdas in deferred type annotations (#9175)
  • Fix panic in D208 with multibyte indent (#9147)
  • Add support for NoReturn in auto-return-typing (#9206)
  • Allow removal of typing from exempt-modules (#9214)
  • Avoid mutable-class-default violations for Pydantic subclasses (#9187)
  • Fix dropped union expressions for piped non-types in PYI055 autofix (#9161)
  • Enable annotation quoting for multi-line expressions (#9142)
  • Deduplicate edits when quoting annotations (#9140)
  • Prevent invalid utf8 indexing in cell magic detection (#9146)
  • Avoid nested quotations in auto-quoting fix (#9168)
  • Add base-class inheritance detection to flake8-django rules (#9151)
  • Avoid asyncio-dangling-task violations on shadowed bindings (#9215)

... (truncated)

Changelog

Sourced from ruff's changelog.

0.1.9

Breaking changes

  • Add site-packages to default exclusions (#9188)

Preview features

  • Fix: Avoid parenthesizing subscript targets and values (#9209)
  • [pylint] Implement too-many-locals (PLR0914) (#9163)
  • Implement reimplemented_operator (FURB118) (#9171)
  • Add a rule to detect string members in runtime-evaluated unions (#9143)
  • Implement no_blank_line_before_class_docstring preview style (#9154)

Rule changes

  • CONSTANT_CASE variables are improperly flagged for yoda violation (SIM300) (#9164)
  • [flake8-pyi] Cover ParamSpecs and TypeVarTuples (PYI018) (#9198)
  • [flake8-bugbear] Add fix for zip-without-explicit-strict (B905) (#9176)
  • Add fix to automatically remove print and pprint statements (T201, T203) (#9208)
  • Prefer Never to NoReturn in auto-typing in Python >= 3.11 (ANN201) (#9213)

Formatter

  • can_omit_optional_parentheses: Exit early for unparenthesized expressions (#9125)
  • Fix dynamic mode with doctests so that it doesn't exceed configured line width (#9129)
  • Fix can_omit_optional_parentheses for expressions with a right most fstring (#9124)
  • Add target_version to formatter options (#9220)

CLI

  • Update ruff format --check to display message for already formatted files (#9153)

Bug fixes

  • Reverse order of arguments for operator.contains (#9192)
  • Iterate over lambdas in deferred type annotations (#9175)
  • Fix panic in D208 with multibyte indent (#9147)
  • Add support for NoReturn in auto-return-typing (#9206)
  • Allow removal of typing from exempt-modules (#9214)
  • Avoid mutable-class-default violations for Pydantic subclasses (#9187)
  • Fix dropped union expressions for piped non-types in PYI055 autofix (#9161)
  • Enable annotation quoting for multi-line expressions (#9142)
  • Deduplicate edits when quoting annotations (#9140)
  • Prevent invalid utf8 indexing in cell magic detection (#9146)
  • Avoid nested quotations in auto-quoting fix (#9168)
  • Add base-class inheritance detection to flake8-django rules (#9151)
  • Avoid asyncio-dangling-task violations on shadowed bindings (#9215)

Documentation

... (truncated)

Commits
  • 0263f27 Bump version to v0.1.9 (#9231)
  • c6d8076 Set target versions in Black tests (#9221)
  • 8cb7950 Add target_version to formatter options (#9220)
  • ef4bd8d Fix: Avoid parenthesizing subscript targets and values (#9209)
  • 5d41c84 SIM300: CONSTANT_CASE variables are improperly flagged for yoda violation (#9...
  • cbe3bf9 Avoid asyncio-dangling-task violations on shadowed bindings (#9215)
  • 4b4160e Allow removal of typing from exempt-modules (#9214)
  • 29846f5 Prefer Never to NoReturn in auto-typing (#9213)
  • 07b293d Add fix to automatically remove print and pprint statements (#9208)
  • 5ccc21a Add support for NoReturn in auto-return-typing (#9206)
  • 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 7 updates:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/tiangolo/fastapi) | `0.105.0` | `0.106.0` |
| [uvicorn](https://github.com/encode/uvicorn) | `0.24.0.post1` | `0.25.0` |
| [boto3-stubs](https://github.com/youtype/mypy_boto3_builder) | `1.34.2` | `1.34.7` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.2` | `9.5.3` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.341` | `1.1.342` |
| [black](https://github.com/psf/black) | `23.12.0` | `23.12.1` |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.8` | `0.1.9` |


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

Updates `uvicorn` from 0.24.0.post1 to 0.25.0
- [Release notes](https://github.com/encode/uvicorn/releases)
- [Changelog](https://github.com/encode/uvicorn/blob/master/CHANGELOG.md)
- [Commits](encode/uvicorn@0.24.0.post1...0.25.0)

Updates `boto3-stubs` from 1.34.2 to 1.34.7
- [Release notes](https://github.com/youtype/mypy_boto3_builder/releases)
- [Commits](https://github.com/youtype/mypy_boto3_builder/commits)

Updates `mkdocs-material` from 9.5.2 to 9.5.3
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.5.2...9.5.3)

Updates `pyright` from 1.1.341 to 1.1.342
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.341...v1.1.342)

Updates `black` from 23.12.0 to 23.12.1
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.12.0...23.12.1)

Updates `ruff` from 0.1.8 to 0.1.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@v0.1.8...v0.1.9)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: uvicorn
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip
- dependency-name: boto3-stubs
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: mkdocs-material
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: pyright
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pip
- dependency-name: black
  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-patch
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner December 25, 2023 20:20
@dependabot dependabot bot added dependencies Pull requests that update a dependency file pip update pip dependencies labels Dec 25, 2023
@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1d8b1e9) 85.55% compared to head (4d21a28) 85.55%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #508   +/-   ##
=======================================
  Coverage   85.55%   85.55%           
=======================================
  Files          31       31           
  Lines        1177     1177           
=======================================
  Hits         1007     1007           
  Misses        170      170           
Flag Coverage Δ
api 66.35% <ø> (ø)
unit 70.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

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

@dependabot dependabot bot closed this Jan 1, 2024
auto-merge was automatically disabled January 1, 2024 20:10

Pull request was closed

@dependabot dependabot bot deleted the dependabot/pip/pip-ddf6d22bc4 branch January 1, 2024 20:10
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 pip update pip dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant