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

⬆ Bump the python-packages group across 1 directory with 12 updates #227

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 python-packages group with 12 updates in the / directory:

Package From To
fastapi 0.111.1 0.114.0
idna 3.7 3.8
pydantic 2.8.2 2.9.0
pydantic-core 2.20.1 2.23.3
starlette 0.37.2 0.38.5
black 24.4.2 24.8.0
mypy 1.10.1 1.11.2
pre-commit 3.7.1 3.8.0
pyupgrade 3.16.0 3.17.0
ruff 0.5.2 0.6.4
pytest 8.2.2 8.3.2
pytest-asyncio 0.23.7 0.24.0

Updates fastapi from 0.111.1 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 idna from 3.7 to 3.8

Release notes

Sourced from idna's releases.

v3.8

What's Changed

  • Fix regression where IDNAError exception was not being produced for certain inputs.
  • Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
  • Documentation improvements
  • Updates to package testing using Github actions

Thanks to Hugo van Kemenade for contributions to this release.

Full Changelog: kjd/idna@v3.7...v3.8

Changelog

Sourced from idna's changelog.

3.8 (2024-08-23) ++++++++++++++++

  • Fix regression where IDNAError exception was not being produced for certain inputs.
  • Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
  • Documentation improvements
  • Updates to package testing using Github actions

Thanks to Hugo van Kemenade for contributions to this release.

Commits
  • 784c6f4 Release v3.8
  • 28c7c9e Typo fix
  • a2b41c3 Pin remainder of Github Actions flagged in code scanning
  • 1f613c5 More Github Action dependency pinning
  • a87e2b6 Update OSSF scorecard to latest version
  • 12d4dd1 Merge pull request #182 from kjd/github-pypi-actions
  • e1a1541 Pin Github Actions dependencies
  • c109d3a Merge branch 'master' into github-pypi-actions
  • f8a8de4 Do not try to build/send packages to TestPyPI for now
  • 613bdde Update regexp to move global flag to start of expression
  • Additional commits viewable in compare view

Updates pydantic from 2.8.2 to 2.9.0

Release notes

Sourced from pydantic's releases.

v2.9.0 (2024-09-05)

The code released in v2.9.0 is practically identical to that of v2.9.0b2.

Check out our blog post to learn more about the release highlights!

What's Changed

Packaging

New Features

Changes

Performance

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.9.0 (2024-09-05)

GitHub release

The code released in v2.9.0 is practically identical to that of v2.9.0b2.

What's Changed

Packaging

New Features

Changes

Performance

... (truncated)

Commits

Updates pydantic-core from 2.20.1 to 2.23.3

Release notes

Sourced from pydantic-core's releases.

v2.23.3 2024-09-07

What's Changed

Packaging

Fixes

New Contributors

Full Changelog: pydantic/pydantic-core@v2.23.2...v2.23.3

v2.23.2 2024-09-05

What's Changed

Full Changelog: pydantic/pydantic-core@v2.23.1...v2.23.2

v2.23.1 2024-08-29

What's Changed

New Contributors

Full Changelog: pydantic/pydantic-core@v2.23.0...v2.23.1

v2.23.0 2024-08-19

What's Changed

Full Changelog: pydantic/pydantic-core@v2.22.0...v2.23.0

v2.22.0 2024-08-15

What's Changed

... (truncated)

Commits

Updates starlette from 0.37.2 to 0.38.5

Release notes

Sourced from starlette's releases.

Version 0.38.5

Fixed

  • Schedule BackgroundTasks from within BaseHTTPMiddleware #2688. This behavior was removed in 0.38.3, and is now restored.

Full Changelog: encode/starlette@0.38.4...0.38.5

Version 0.38.4

Fixed

  • Ensure accurate root_path removal in get_route_path function #2600

Full Changelog: encode/starlette@0.38.3...0.38.4

Version 0.38.3

Added

  • Support for Python 3.13 #2662.

Fixed

  • Don't poll for disconnects in BaseHTTPMiddleware via StreamingResponse #2620.

Full Changelog: encode/starlette@0.38.2...0.38.3

Version 0.38.2

Fixed

  • Fix routing.get_name() not to assume all routines have __name__ #2648

Full Changelog: encode/starlette@0.38.1...0.38.2

Version 0.38.1

Removed

  • Revert "Add support for ASGI pathsend extension" #2649.

Full Changelog: encode/starlette@0.38.0...0.38.1

... (truncated)

Changelog

Sourced from starlette's changelog.

0.38.5 (September 7, 2024)

Fixed

  • Schedule BackgroundTasks from within BaseHTTPMiddleware #2688. This behavior was removed in 0.38.3, and is now restored.

0.38.4 (September 1, 2024)

Fixed

  • Ensure accurate root_path removal in get_route_path function #2600.

0.38.3 (September 1, 2024)

Added

  • Support for Python 3.13 #2662.

Fixed

  • Don't poll for disconnects in BaseHTTPMiddleware via StreamingResponse #2620.

0.38.2 (July 27, 2024)

Fixed

  • Not assume all routines have __name__ on routing.get_name() #2648.

0.38.1 (July 23, 2024)

Removed

  • Revert "Add support for ASGI pathsend extension" #2649.

0.38.0 (July 20, 2024)

Added

  • Allow use of memoryview in StreamingResponse and Response #2576 and #2577.
  • Send 404 instead of 500 when filename requested is too long on StaticFiles #2583.

Changed

  • Fail fast on invalid Jinja2Template instantiation parameters #2568.
  • Check endpoint handler is async only once #2536.

Fixed

... (truncated)

Commits

Updates black from 24.4.2 to 24.8.0

Release notes

Sourced from black's releases.

24.8.0

Stable style

  • Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#4363)

Packaging

  • Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)

Parser

  • Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
  • Fix regression where Black failed to parse an escaped single quote inside an f-string (#4401)
  • Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
  • Fix bugs with Black's tokenizer not handling \{ inside f-strings very well (#4422)
  • Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (#4423)

Performance

  • Improve performance when a large directory is listed in .gitignore (#4415)

Blackd

  • Fix blackd (and all extras installs) for docker container (#4357)
Changelog

Sourced from black's changelog.

24.8.0

Stable style

  • Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#4363)

Packaging

  • Packaging metadata updated: docs are explictly linked, the issue tracker is now also linked. This improves the PyPI listing for Black. (#4345)

Parser

  • Fix regression where Black failed to parse a multiline f-string containing another multiline string (#4339)
  • Fix regression where Black failed to parse an escaped single quote inside an f-string (#4401)
  • Fix bug with Black incorrectly parsing empty lines with a backslash (#4343)
  • Fix bugs with Black's tokenizer not handling \{ inside f-strings very well (#4422)
  • Fix incorrect line numbers in the tokenizer for certain tokens within f-strings (#4423)

Performance

  • Improve performance when a large directory is listed in .gitignore (#4415)

Blackd

  • Fix blackd (and all extras installs) for docker container (#4357)
Commits
  • b965c2a Prepare release 24.8.0 (#4426)
  • 9ccf279 Document find_project_root ignoring pyproject.toml without [tool.black]...
  • 14b6e61 fix: Enhace black efficiently to skip directories listed in .gitignore (#4415)
  • b1c4dd9 fix: respect braces better in f-string parsing (#4422)
  • 4b4ae43 Fix incorrect linenos on fstring tokens with escaped newlines (#4423)
  • 7fa1faf docs: fix the installation command of extra for blackd (#4413)
  • 8827acc Bump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)
  • b0da11d Bump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)
  • 721dff5 fix: avoid formatting backslash strings inside f-strings (#4401)
  • 7e2afc9 Update actions/checkout to v4 to stop node deprecation warnings (#4379)
  • Additional commits viewable in compare view

Updates mypy from 1.10.1 to 1.11.2

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.11

We’ve just uploaded mypy 1.11 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Support Python 3.12 Syntax for Generics (PEP 695)

Mypy now supports the new type parameter syntax introduced in Python 3.12 (PEP 695). This feature is still experimental and must be enabled with the --enable-incomplete-feature=NewGenericSyntax flag, or with enable_incomplete_feature = NewGenericSyntax in the mypy configuration file. We plan to enable this by default in the next mypy feature release.

This example demonstrates the new syntax:

# Generic function
def f[T](https://github.com/python/mypy/blob/master/x: T) -> T: ...
reveal_type(f(1))  # Revealed type is 'int'
Generic class
class C[T]:
def init(self, x: T) -> None:
self.x = x
c = C('a')
reveal_type(c.x)  # Revealed type is 'str'
Type alias
type A[T] = C[list[T]]

This feature was contributed by Jukka Lehtosalo.

Support for functools.partial

Mypy now type checks uses of functools.partial. Previously mypy would accept arbitrary arguments.

This example will now produce an error:

from functools import partial
</tr></table> 

... (truncated)

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
  • 570b90a Bump version to 1.11
  • b3a102e Fix RawExpressionType.accept crash with --cache-fine-grained (#17588)
  • aec04c7 Fix PEP 604 isinstance caching (#17563)
  • cb44e4d Fix typing.TypeAliasType being undefined on python < 3.12 (#17558)
  • Additional commits viewable in compare view

Updates pre-commit from 3.7.1 to 3.8.0

Release notes

Sourced from pre-commit's releases.

pre-commit v3.8.0

Features

Changelog

Sourced from pre-commit's changelog.

3.8.0 - 2024-07-28

Features

Commits
  • d46423f v3.8.0
  • 8133abd Merge pull request #3265 from lorenzwalthert/issue-3206
  • da0c1d0 implement health check for language:r
  • f641f6a Merge pull request #3264 from pre-commit/pre-commit-ci-update-config
  • a68a19d fixes for mypy 1.11
  • 88317dd [pre-commit.ci] pre-commit autoupdate
  • faa6f8c Merge pull request #3244 from pre-commit/pre-commit-ci-update-config
  • f632459 [pre-commit.ci] pre-commit autoupdate
  • 0252908 Merge pull request #3240 from pre-commit/pre-commit-ci-update-config
  • 69b5dce [pre-commit.ci] pre-commit autoupdate
  • Additional commits viewable in compare view

Updates pyupgrade from 3.16.0 to 3.17.0

Commits

Updates ruff from 0.5.2 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)
  • Description has been truncated

Bumps the python-packages group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [fastapi](https://github.com/fastapi/fastapi) | `0.111.1` | `0.114.0` |
| [idna](https://github.com/kjd/idna) | `3.7` | `3.8` |
| [pydantic](https://github.com/pydantic/pydantic) | `2.8.2` | `2.9.0` |
| [pydantic-core](https://github.com/pydantic/pydantic-core) | `2.20.1` | `2.23.3` |
| [starlette](https://github.com/encode/starlette) | `0.37.2` | `0.38.5` |
| [black](https://github.com/psf/black) | `24.4.2` | `24.8.0` |
| [mypy](https://github.com/python/mypy) | `1.10.1` | `1.11.2` |
| [pre-commit](https://github.com/pre-commit/pre-commit) | `3.7.1` | `3.8.0` |
| [pyupgrade](https://github.com/asottile/pyupgrade) | `3.16.0` | `3.17.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.5.2` | `0.6.4` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.2` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.7` | `0.24.0` |



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

Updates `idna` from 3.7 to 3.8
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](kjd/idna@v3.7...v3.8)

Updates `pydantic` from 2.8.2 to 2.9.0
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.8.2...v2.9.0)

Updates `pydantic-core` from 2.20.1 to 2.23.3
- [Release notes](https://github.com/pydantic/pydantic-core/releases)
- [Commits](pydantic/pydantic-core@v2.20.1...v2.23.3)

Updates `starlette` from 0.37.2 to 0.38.5
- [Release notes](https://github.com/encode/starlette/releases)
- [Changelog](https://github.com/encode/starlette/blob/master/docs/release-notes.md)
- [Commits](encode/starlette@0.37.2...0.38.5)

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

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

Updates `pre-commit` from 3.7.1 to 3.8.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.7.1...v3.8.0)

Updates `pyupgrade` from 3.16.0 to 3.17.0
- [Commits](asottile/pyupgrade@v3.16.0...v3.17.0)

Updates `ruff` from 0.5.2 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.2...0.6.4)

Updates `pytest` from 8.2.2 to 8.3.2
- [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.2.2...8.3.2)

Updates `pytest-asyncio` from 0.23.7 to 0.24.0
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.23.7...v0.24.0)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pydantic-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: starlette
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: black
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pre-commit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pyupgrade
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest-asyncio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

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
@yezz123 yezz123 closed this Sep 13, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 13, 2024

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@yezz123 yezz123 deleted the dependabot/pip/python-packages-882cd6ca93 branch September 13, 2024 21:07
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant