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 7 updates #2838

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 3, 2025

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

Package From To
coverage 7.6.1 7.6.10
mypy 1.13.0 1.14.1
ruff 0.8.1 0.8.5
types-pyyaml 6.0.12.20240917 6.0.12.20241230
trio 0.27.0 0.28.0
mkdocs-material 9.5.47 9.5.49
mkdocstrings-python 1.12.2 1.13.0

Updates coverage from 7.6.1 to 7.6.10

Changelog

Sourced from coverage's changelog.

Commits
  • f0dcf65 docs: sample HTML for 7.6.10
  • 0f26f35 docs: prep for 7.6.10
  • 81c5e43 docs: rewrite the subprocess page
  • 878410c chore: make doc_upgrade
  • f1d320d chore: make upgrade
  • 67f1440 debug: this condition is never true. really?
  • c85eaba fix: multi-line statements no longer confuse branch target descriptions. #187...
  • 73e58fa refactor: clarify the code that fixes with-statement exits
  • e16c9cc typo: backslask
  • 865fd7f chore: bump the action-dependencies group with 4 updates (#1909)
  • Additional commits viewable in compare view

Updates mypy from 1.13.0 to 1.14.1

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Drop Support for Python 3.8

Mypy no longer supports running with Python 3.8, which has reached end-of-life. When running mypy with Python 3.9+, it is still possible to type check code that needs to support Python 3.8 with the --python-version 3.8 argument. Support for this will be dropped in the first half of 2025!

Contributed by Marc Mueller (PR 17492).

Mypyc accelerated mypy wheels for aarch64

Mypy can compile itself to C extension modules using mypyc. This makes mypy 3-5x faster than if mypy is interpreted with pure Python. We now build and upload mypyc accelerated mypy wheels for manylinux_aarch64 to PyPI, making it easy for users on such platforms to realise this speedup.

Contributed by Christian Bundy (PR mypy_mypyc-wheels#76)

--strict-bytes

By default, mypy treats an annotation of bytes as permitting bytearray and memoryview. PEP 688 specified the removal of this special case. Use this flag to disable this behavior. --strict-bytes will be enabled by default in mypy 2.0.

Contributed by Ali Hamdan (PR 18137) and Shantanu Jain (PR 13952).

Improvements to partial type handling in loops

This change results in mypy better modelling control flow within loops and hence detecting several issues it previously did not detect. In some cases, this change may require use of an additional explicit annotation of a variable.

Contributed by Christoph Tyralla (PR 18180).

(Speaking of partial types, another reminder that mypy plans on enabling --local-partial-types by default in mypy 2.0).

Mypy 1.14

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

python3 -m pip install -U mypy

... (truncated)

Commits

Updates ruff from 0.8.1 to 0.8.5

Release notes

Sourced from ruff's releases.

0.8.5

Release Notes

Preview features

  • [airflow] Extend names moved from core to provider (AIR303) (#15145, #15159, #15196, #15216)
  • [airflow] Extend rule to check class attributes, methods, arguments (AIR302) (#15054, #15083)
  • [fastapi] Update FAST002 to check keyword-only arguments (#15119)
  • [flake8-type-checking] Disable TC006 and TC007 in stub files (#15179)
  • [pylint] Detect nested methods correctly (PLW1641) (#15032)
  • [ruff] Detect more strict-integer expressions (RUF046) (#14833)
  • [ruff] Implement falsy-dict-get-fallback (RUF056) (#15160)
  • [ruff] Implement unnecessary-round (RUF057) (#14828)

Rule changes

  • Visit PEP 764 inline TypedDict keys as non-type-expressions (#15073)
  • [flake8-comprehensions] Skip C416 if comprehension contains unpacking (#14909)
  • [flake8-pie] Allow cast(SomeType, ...) (PIE796) (#15141)
  • [flake8-simplify] More precise inference for dictionaries (SIM300) (#15164)
  • [flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177)
  • [pycodestyle] Preserve original value format (E731) (#15097)
  • [pydocstyle] Split on first whitespace character (D403) (#15082)
  • [pyupgrade] Add all PEP-585 names to UP006 rule (#5454)

Configuration

  • [flake8-type-checking] Improve flexibility of runtime-evaluated-decorators (#15204)
  • [pydocstyle] Add setting to ignore missing documentation for *args and **kwargs parameters (D417) (#15210)
  • [ruff] Add an allowlist for unsafe-markup-use (RUF035) (#15076)

Bug fixes

  • Fix type subscript on older python versions (#15090)
  • Use TypeChecker for detecting fastapi routes (#15093)
  • [pycodestyle] Avoid false positives and negatives related to type parameter default syntax (E225, E251) (#15214)

Documentation

  • Fix incorrect doc in shebang-not-executable (EXE001) and add git+windows solution to executable bit (#15208)
  • Rename rules currently not conforming to naming convention (#15102)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.8.5

Preview features

  • [airflow] Extend names moved from core to provider (AIR303) (#15145, #15159, #15196, #15216)
  • [airflow] Extend rule to check class attributes, methods, arguments (AIR302) (#15054, #15083)
  • [fastapi] Update FAST002 to check keyword-only arguments (#15119)
  • [flake8-type-checking] Disable TC006 and TC007 in stub files (#15179)
  • [pylint] Detect nested methods correctly (PLW1641) (#15032)
  • [ruff] Detect more strict-integer expressions (RUF046) (#14833)
  • [ruff] Implement falsy-dict-get-fallback (RUF056) (#15160)
  • [ruff] Implement unnecessary-round (RUF057) (#14828)

Rule changes

  • Visit PEP 764 inline TypedDict keys as non-type-expressions (#15073)
  • [flake8-comprehensions] Skip C416 if comprehension contains unpacking (#14909)
  • [flake8-pie] Allow cast(SomeType, ...) (PIE796) (#15141)
  • [flake8-simplify] More precise inference for dictionaries (SIM300) (#15164)
  • [flake8-use-pathlib] Catch redundant joins in PTH201 and avoid syntax errors (#15177)
  • [pycodestyle] Preserve original value format (E731) (#15097)
  • [pydocstyle] Split on first whitespace character (D403) (#15082)
  • [pyupgrade] Add all PEP-585 names to UP006 rule (#5454)

Configuration

  • [flake8-type-checking] Improve flexibility of runtime-evaluated-decorators (#15204)
  • [pydocstyle] Add setting to ignore missing documentation for *args and **kwargs parameters (D417) (#15210)
  • [ruff] Add an allowlist for unsafe-markup-use (RUF035) (#15076)

Bug fixes

  • Fix type subscript on older python versions (#15090)
  • Use TypeChecker for detecting fastapi routes (#15093)
  • [pycodestyle] Avoid false positives and negatives related to type parameter default syntax (E225, E251) (#15214)

Documentation

  • Fix incorrect doc in shebang-not-executable (EXE001) and add git+windows solution to executable bit (#15208)
  • Rename rules currently not conforming to naming convention (#15102)

0.8.4

Preview features

  • [airflow] Extend AIR302 with additional functions and classes (#15015)
  • [airflow] Implement moved-to-provider-in-3 for modules that has been moved to Airflow providers (AIR303) (#14764)
  • [flake8-use-pathlib] Extend check for invalid path suffix to include the case "." (PTH210) (#14902)
  • [perflint] Fix panic in PERF401 when list variable is after the for loop (#14971)
  • [perflint] Simplify finding the loop target in PERF401 (#15025)

... (truncated)

Commits
  • 11e873e Bump version to 0.8.5 (#15219)
  • 89ea037 [ruff] Unnecessary rounding (RUF057) (#14828)
  • f8c9665 [airflow] Extend names moved from core to provider (AIR303) (#15216)
  • af95f6b [pycodestyle] Avoid false positives and negatives related to type parameter...
  • 79682a2 Sync vendored typeshed stubs (#15213)
  • 1ef0f61 [flake8-type-checking] Improve flexibility of `runtime-evaluated-decorators...
  • 7ca3f95 Update references to astral-sh/ruff-action from v2 to v3 (#15212)
  • 32de580 [airflow]: extend names moved from core to provider (AIR303) (#15196)
  • cfd6093 [pydocstyle] Add setting to ignore missing documentation for*args and `**...
  • 3c9021f [ruff] Implement falsy-dict-get-fallback (RUF056) (#15160)
  • Additional commits viewable in compare view

Updates types-pyyaml from 6.0.12.20240917 to 6.0.12.20241230

Commits

Updates trio from 0.27.0 to 0.28.0

Release notes

Sourced from trio's releases.

v0.28.0

Full Changelog: python-trio/trio@v0.27.0...v0.28.0

Bugfixes

  • :func:inspect.iscoroutinefunction and the like now give correct answers when called on KI-protected functions. (python-trio/trio#2670)

  • Rework KeyboardInterrupt protection to track code objects, rather than frames, as protected or not. The new implementation no longer needs to access frame.f_locals dictionaries, so it won't artificially extend the lifetime of local variables. Since KeyboardInterrupt protection is now imposed statically (when a protected function is defined) rather than each time the function runs, its previously-noticeable performance overhead should now be near zero. The lack of a call-time wrapper has some other benefits as well:

    • :func:inspect.iscoroutinefunction and the like now give correct answers when called on KI-protected functions.

    • Calling a synchronous KI-protected function no longer pushes an additional stack frame, so tracebacks are clearer.

    • A synchronous KI-protected function invoked from C code (such as a weakref finalizer) is now guaranteed to start executing; previously there would be a brief window in which KeyboardInterrupt could be raised before the protection was established.

    One minor drawback of the new approach is that multiple instances of the same closure share a single KeyboardInterrupt protection state (because they share a single code object). That means that if you apply trio.lowlevel.enable_ki_protection to some of them and not others, you won't get the protection semantics you asked for. See the documentation of trio.lowlevel.enable_ki_protection for more details and a workaround. (python-trio/trio#3108)

  • Rework foreign async generator finalization to track async generator ids rather than mutating ag_frame.f_locals. This fixes an issue with the previous implementation: locals' lifetimes will no longer be extended by materialization in the ag_frame.f_locals dictionary that the previous finalization dispatcher logic needed to access to do its work. (python-trio/trio#3112)

  • Ensure that Pyright recognizes our underscore prefixed attributes for attrs classes. (python-trio/trio#3114)

  • Fix trio.testing.RaisesGroup's typing. (python-trio/trio#3141)

Improved documentation

... (truncated)

Commits
  • e5e17ef Bump version to 0.28.0
  • 8a28c55 Merge pull request #3171 from A5rocks/remove-explained-xfails
  • e7e7c4a Explain why our MacOS 14 runners failed with CPython 3.13.1
  • 2d87c0e Merge pull request #3157 from jakkdl/cleanup_checksh
  • 3260974 Merge pull request #3169 from python-trio/pre-commit-ci-update-config
  • 613fa4e Fixing RUF043, use raw strings in match=
  • 2b08c98 Update version of ruff used in tests
  • 58f7bc4 [pre-commit.ci] pre-commit autoupdate
  • 2bc884c Merge branch 'main' into cleanup_checksh
  • 8f787d6 it seems uv pip-compile is sorting the requirements now
  • Additional commits viewable in compare view

Updates mkdocs-material from 9.5.47 to 9.5.49

Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.49

  • Adjusted title color in dark mode for all supported Mermaid.js diagrams
  • Fixed #7803: Privacy plugin crashes on generated files
  • Fixed #7781: Mermaid.js flow chart title not visible in dark mode

mkdocs-material-9.5.48

  • Fixed #7774: Disabling social cards doesn't work
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.49 (2024-12-16)

  • Adjusted title color in dark mode for all supported Mermaid.js diagrams
  • Fixed #7803: Privacy plugin crashes on generated files
  • Fixed #7781: Mermaid.js flow chart title not visible in dark mode

mkdocs-material-9.5.48 (2024-12-08)

  • Fixed #7774: Disabling social cards doesn't work

mkdocs-material-9.5.47 (2024-12-01)

  • Fixed #7750: Numeric tags break search
  • Fixed #7748: Blog plugin breaks when using future drafts (9.5.45 regression)

mkdocs-material-9.5.46 (2024-11-25)

  • Added support for removing preload hints in privacy plugin
  • Fixed #7734: Code blocks in h5 headlines are uppercased
  • Fixed #7725: Blog plugin crashing on missing timezone (9.5.45 regression)

mkdocs-material-9.5.45 (2024-11-20)

  • Reduced size of Docker image through multi-stage build
  • Fixed #7708: Blog plugin crashing on YAML dates with timezones

mkdocs-material-9.5.44 (2024-11-05)

  • Fixed #7672: Font CSS 404's when using privacy plugin (9.5.43 regression)

mkdocs-material-9.5.43 (2024-10-31)

  • Added support for external images in SVGs in privacy plugin
  • Fixed #7651: Privacy plugin doesn't handle quoted URLs in CSS

mkdocs-material-9.5.42 (2024-10-20)

  • Fixed #7625: Invalid encoding of boolean attributes in privacy plugin
  • Fixed #7624: Crash when disabling privacy plugin (9.5.41 regression)

mkdocs-material-9.5.41 (2024-10-15)

  • Fixed #7619: Improved tooltip on logo disappears after instant navigation
  • Fixed #7616: Race condition in built-in privacy plugin when inlining assets
  • Fixed #7615: Comments and "Was this page helpful?" visible when printing

mkdocs-material-9.5.40 (2024-10-10)

  • Updated Latvian translations
  • Fixed #7597: Social cards not using site name on home page

... (truncated)

Commits

Updates mkdocstrings-python from 1.12.2 to 1.13.0

Release notes

Sourced from mkdocstrings-python's releases.

1.13.0

1.13.0 - 2024-12-26

Compare with 1.12.2

Features

  • Allow using Ruff to format signatures and attribute values (d67215c by dm). PR-216

Bug Fixes

  • Respect show_signature_annotations option for attribute signatures in headings (e93d166 by Timothée Mazzucotelli). Issue-griffe-pydantic#9
  • Handle __init__ overloads when merging into class (af6fab3 by Timothée Mazzucotelli). Issue-212
  • Actually check if a module is public when rendering auto-generated summary table for modules (3bf55b2 by Timothée Mazzucotelli). Issue-203
  • Never render line numbers for signatures and attribute values (a669f1c by Timothée Mazzucotelli). Issue-192
  • Respect highlight's linenums config for pycon examples in docstrings (53eb82a by Timothée Mazzucotelli). [Related-to-#192](mkdocstrings/python#192)
  • Fix normalization of extension paths on the annoying operating system and Python 3.13 (101a6dc by Timothée Mazzucotelli).
  • Don't merge parent __init__ docstring into class docstring if such inherited method wasn't selected through the inherited_members configuration option (6c5b5c3 by Timothée Mazzucotelli). Issue-189

Code Refactoring

Changelog

Sourced from mkdocstrings-python's changelog.

1.13.0 - 2024-12-26

Compare with 1.12.2

Features

  • Allow using Ruff to format signatures and attribute values (d67215c by dm). PR-216

Bug Fixes

  • Respect show_signature_annotations option for attribute signatures in headings (e93d166 by Timothée Mazzucotelli). Issue-griffe-pydantic#9
  • Handle __init__ overloads when merging into class (af6fab3 by Timothée Mazzucotelli). Issue-212
  • Actually check if a module is public when rendering auto-generated summary table for modules (3bf55b2 by Timothée Mazzucotelli). Issue-203
  • Never render line numbers for signatures and attribute values (a669f1c by Timothée Mazzucotelli). Issue-192
  • Respect highlight's linenums config for pycon examples in docstrings (53eb82a by Timothée Mazzucotelli). [Related-to-#192](mkdocstrings/python#192)
  • Fix normalization of extension paths on the annoying operating system and Python 3.13 (101a6dc by Timothée Mazzucotelli).
  • Don't merge parent __init__ docstring into class docstring if such inherited method wasn't selected through the inherited_members configuration option (6c5b5c3 by Timothée Mazzucotelli). Issue-189

Code Refactoring

Commits
  • 941d0e5 chore: Prepare release 1.13.0
  • c8f1a77 tests: Add templates rendenring tests using inline-snapshot
  • e493663 tests: Refactor fixtures and helpers
  • 0d953e3 chore: Template upgrade
  • ec4d2cc chore: Template upgrade
  • d67215c feat: Allow using Ruff to format signatures and attribute values
  • c4506f0 refactor: Render * and ** outside of cross-references in signatures
  • cea4996 docs: Mention mkdocstrings-python-xref
  • e93d166 fix: Respect show_signature_annotations option for attribute signatures in ...
  • af6fab3 fix: Handle __init__ overloads when merging into class
  • 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 python-packages group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [coverage](https://github.com/nedbat/coveragepy) | `7.6.1` | `7.6.10` |
| [mypy](https://github.com/python/mypy) | `1.13.0` | `1.14.1` |
| [ruff](https://github.com/astral-sh/ruff) | `0.8.1` | `0.8.5` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.20240917` | `6.0.12.20241230` |
| [trio](https://github.com/python-trio/trio) | `0.27.0` | `0.28.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.47` | `9.5.49` |
| [mkdocstrings-python](https://github.com/mkdocstrings/python) | `1.12.2` | `1.13.0` |



Updates `coverage` from 7.6.1 to 7.6.10
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.1...7.6.10)

Updates `mypy` from 1.13.0 to 1.14.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.13.0...v1.14.1)

Updates `ruff` from 0.8.1 to 0.8.5
- [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.8.1...0.8.5)

Updates `types-pyyaml` from 6.0.12.20240917 to 6.0.12.20241230
- [Commits](https://github.com/python/typeshed/commits)

Updates `trio` from 0.27.0 to 0.28.0
- [Release notes](https://github.com/python-trio/trio/releases)
- [Commits](python-trio/trio@v0.27.0...v0.28.0)

Updates `mkdocs-material` from 9.5.47 to 9.5.49
- [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.47...9.5.49)

Updates `mkdocstrings-python` from 1.12.2 to 1.13.0
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/python@1.12.2...1.13.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mypy
  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-patch
  dependency-group: python-packages
- dependency-name: types-pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: trio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: mkdocstrings-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 3, 2025
@Kludex Kludex merged commit 0ad90dc into master Jan 3, 2025
5 checks passed
@Kludex Kludex deleted the dependabot/pip/python-packages-9e5a05f59b branch January 3, 2025 13:24
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