scality / runner-manager

Service to manage github Actions self-hosted runners
https://scality.github.io/runner-manager/
Apache License 2.0
7 stars 7 forks source link

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

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

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: https://github.com/encode/uvicorn/compare/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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
codecov-commenter commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #508 +/- ## ======================================= Coverage 85.55% 85.55% ======================================= Files 31 31 Lines 1177 1177 ======================================= Hits 1007 1007 Misses 170 170 ``` | [Flag](https://app.codecov.io/gh/scality/runner-manager/pull/508/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | Coverage ฮ” | | |---|---|---| | [api](https://app.codecov.io/gh/scality/runner-manager/pull/508/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | `66.35% <รธ> (รธ)` | | | [unit](https://app.codecov.io/gh/scality/runner-manager/pull/508/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality) | `70.51% <รธ> (รธ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scality#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

dependabot[bot] commented 8 months ago

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