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

Deps: Bump the python-packages group with 5 updates #1081

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps the python-packages group with 5 updates:

Package From To
anyio 4.7.0 4.8.0
mypy 1.14.0 1.14.1
pygments 2.18.0 2.19.0
ruff 0.8.4 0.8.6
starlette 0.45.0 0.45.2

Updates anyio from 4.7.0 to 4.8.0

Release notes

Sourced from anyio's releases.

4.8.0

  • Added experimental support for running functions in subinterpreters on Python 3.13 and later
  • Added support for the copy(), copy_into(), move() and move_into() methods in anyio.Path, available in Python 3.14
  • Changed TaskGroup on asyncio to always spawn tasks non-eagerly, even if using a task factory created via asyncio.create_eager_task_factory(), to preserve expected Trio-like task scheduling semantics (PR by @​agronholm and @​graingert)
  • Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector thread waker socket pair (this should improve the performance of wait_readable() and wait_writable() when using the ProactorEventLoop) (#836; PR by @​graingert)
  • Fixed AssertionError when using nest-asyncio (#840)
  • Fixed return type annotation of various context managers' __exit__ method (#847; PR by @​Enegg)
Changelog

Sourced from anyio's changelog.

Version history

This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.

4.8.0

  • Added experimental support for running functions in subinterpreters on Python 3.13 and later
  • Added support for the copy(), copy_into(), move() and move_into() methods in anyio.Path, available in Python 3.14
  • Changed TaskGroup on asyncio to always spawn tasks non-eagerly, even if using a task factory created via asyncio.create_eager_task_factory(), to preserve expected Trio-like task scheduling semantics (PR by @​agronholm and @​graingert)
  • Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector thread waker socket pair (this should improve the performance of wait_readable()) and wait_writable() when using the ProactorEventLoop ([#836](https://github.com/agronholm/anyio/issues/836) <https://github.com/agronholm/anyio/pull/836>_; PR by @​graingert)
  • Fixed AssertionError when using nest-asyncio ([#840](https://github.com/agronholm/anyio/issues/840) <https://github.com/agronholm/anyio/issues/840>_)
  • Fixed return type annotation of various context managers' __exit__ method ([#847](https://github.com/agronholm/anyio/issues/847) <https://github.com/agronholm/anyio/issues/847>_; PR by @​Enegg)

4.7.0

  • Updated TaskGroup to work with asyncio's eager task factories ([#764](https://github.com/agronholm/anyio/issues/764) <https://github.com/agronholm/anyio/issues/764>_)
  • Added the wait_readable() and wait_writable() functions which will accept an object with a .fileno() method or an integer handle, and deprecated their now obsolete versions (wait_socket_readable() and wait_socket_writable()) (PR by @​davidbrochart)
  • Changed EventAdapter (an Event with no bound async backend) to allow set() to work even before an async backend is bound to it ([#819](https://github.com/agronholm/anyio/issues/819) <https://github.com/agronholm/anyio/issues/819>_)
  • Added support for wait_readable() and wait_writable() on ProactorEventLoop (used on asyncio + Windows by default)
  • Fixed a misleading ValueError in the context of DNS failures ([#815](https://github.com/agronholm/anyio/issues/815) <https://github.com/agronholm/anyio/issues/815>_; PR by @​graingert)
  • Fixed the return type annotations of readinto() and readinto1() methods in the anyio.AsyncFile class ([#825](https://github.com/agronholm/anyio/issues/825) <https://github.com/agronholm/anyio/issues/825>_)
  • Fixed TaskInfo.has_pending_cancellation() on asyncio returning false positives in cleanup code on Python >= 3.11 ([#832](https://github.com/agronholm/anyio/issues/832) <https://github.com/agronholm/anyio/issues/832>_; PR by @​gschaffner)
  • Fixed cancelled cancel scopes on asyncio calling asyncio.Task.uncancel when propagating a CancelledError on exit to a cancelled parent scope ([#790](https://github.com/agronholm/anyio/issues/790) <https://github.com/agronholm/anyio/pull/790>_; PR by @​gschaffner)

4.6.2

... (truncated)

Commits
  • 74022ec Bumped up the version
  • 264a6f9 Added support for subinterpreter workers (#850)
  • 6d612a9 Refactored waiting for tasks to complete from task group on the asyncio backe...
  • 8b7a535 Removed the unwarranted gc_collect fixture
  • acdac7a Changed TaskGroup to always spawn tasks lazily, even with eager task factorie...
  • 43e1f5f Fixed __exit__() return type of various context managers (#849)
  • e8730ae Added preliminary support for Python 3.14 (#813)
  • 9a792f3 Pruned unnecessary mypy options
  • 2a105b2 Updated downstream test workflow
  • 3f8c639 [pre-commit.ci] pre-commit autoupdate (#846)
  • Additional commits viewable in compare view

Updates mypy from 1.14.0 to 1.14.1

Commits

Updates pygments from 2.18.0 to 2.19.0

Release notes

Sourced from pygments's releases.

2.19.0

  • New lexers:

  • Updated lexers:

    • BQN: Various improvements (#2789)
    • C#: Fix number highlighting (#986, #2727), add file keyword (#2726, #2805, #2806), add various other keywords (#2745, #2770)
    • CSS: Add revert (#2766, #2775)
    • Debian control: Add Change-By field (#2757)
    • Elip: Improve punctuation handling (#2651)
    • Igor: Add int (#2801)
    • Ini: Fix quoted strings with embedded comment characters (#2767, #2720)
    • Java: Support functions returning types containing a question mark (#2737)
    • JavaScript: Support private identiiers (#2729, #2671)
    • LLVM: Add splat, improve floating-point number parsing (#2755)
    • Lua: Improve variable detection, add built-in functions (#2829)
    • Macaulay2: Update to 1.24.11 (#2800)
    • PostgreSQL: Add more EXPLAIN keywords (#2785), handle / (#2774)
    • S-Lexer: Fix keywords (#2082, #2750)
    • TransactSQL: Fix single-line comments (#2717)
    • Turtle: Fix triple quoted strings (#2744, #2758)
    • Typst: Various improvements (#2724)
    • Various: Add ^ as an operator to Matlab, Octave and Scilab (#2798)
    • Vyper: Add staticcall and extcall (#2719)
  • Mark file extensions for HTML/XML+Evoque as aliases (#2743)
  • Add a color for Operator.Word to the rrt style (#2709)
  • Fix broken link in the documentation (#2803, #2804)
  • Drop executable bit where not needed (#2781)
  • Reduce Mojo priority relative to Python in ``analyze_text´` (#2771, #2772)
  • Fix documentation builds (#2712)
  • Match example file names to the lexer's name (#2713, #2715)
  • Ensure lexer metadata is present (#2714)
  • Search more directories on macOS for fonts (#2809)
  • Improve test robustness (#2812)
Changelog

Sourced from pygments's changelog.

Version 2.19.0

(released January 5th, 2025)

  • New lexers:

  • Updated lexers:

    • BQN: Various improvements (#2789)
    • C#: Fix number highlighting (#986, #2727), add file keyword (#2726, #2805, #2806), add various other keywords (#2745, #2770)
    • CSS: Add revert (#2766, #2775)
    • Debian control: Add Change-By field (#2757)
    • Elip: Improve punctuation handling (#2651)
    • Igor: Add int (#2801)
    • Ini: Fix quoted strings with embedded comment characters (#2767, #2720)
    • Java: Support functions returning types containing a question mark (#2737)
    • JavaScript: Support private identiiers (#2729, #2671)
    • LLVM: Add splat, improve floating-point number parsing (#2755)
    • Lua: Improve variable detection, add built-in functions (#2829)
    • Macaulay2: Update to 1.24.11 (#2800)
    • PostgreSQL: Add more EXPLAIN keywords (#2785), handle / (#2774)
    • S-Lexer: Fix keywords (#2082, #2750)
    • TransactSQL: Fix single-line comments (#2717)
    • Turtle: Fix triple quoted strings (#2744, #2758)
    • Typst: Various improvements (#2724)
    • Various: Add ^ as an operator to Matlab, Octave and Scilab (#2798)
    • Vyper: Add staticcall and extcall (#2719)
  • Mark file extensions for HTML/XML+Evoque as aliases (#2743)
  • Add a color for Operator.Word to the rrt style (#2709)
  • Fix broken link in the documentation (#2803, #2804)
  • Drop executable bit where not needed (#2781)
  • Reduce Mojo priority relative to Python in ``analyze_text´` (#2771, #2772)
  • Fix documentation builds (#2712)
  • Match example file names to the lexer's name (#2713, #2715)
  • Ensure lexer metadata is present (#2714)
  • Search more directories on macOS for fonts (#2809)
  • Improve test robustness (#2812)
Commits

Updates ruff from 0.8.4 to 0.8.6

Release notes

Sourced from ruff's releases.

0.8.6

Release Notes

Preview features

  • [format]: Preserve multiline implicit concatenated strings in docstring positions (#15126)
  • [ruff] Add rule to detect empty literal in deque call (RUF025) (#15104)
  • [ruff] Avoid reporting when ndigits is possibly negative (RUF057) (#15234)

Rule changes

  • [flake8-todos] remove issue code length restriction (TD003) (#15175)
  • [pyflakes] Ignore errors in @no_type_check string annotations (F722, F821) (#15215)

CLI

  • Show errors for attempted fixes only when passed --verbose (#15237)

Bug fixes

  • [ruff] Avoid syntax error when removing int over multiple lines (RUF046) (#15230)
  • [pyupgrade] Revert "Add all PEP-585 names to UP006 rule" (#15250)

Contributors

Install ruff 0.8.6

Install prebuilt binaries via shell script

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

Install prebuilt binaries via powershell script

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

... (truncated)

Changelog

Sourced from ruff's changelog.

0.8.6

Preview features

  • [format]: Preserve multiline implicit concatenated strings in docstring positions (#15126)
  • [ruff] Add rule to detect empty literal in deque call (RUF025) (#15104)
  • [ruff] Avoid reporting when ndigits is possibly negative (RUF057) (#15234)

Rule changes

  • [flake8-todos] remove issue code length restriction (TD003) (#15175)
  • [pyflakes] Ignore errors in @no_type_check string annotations (F722, F821) (#15215)

CLI

  • Show errors for attempted fixes only when passed --verbose (#15237)

Bug fixes

  • [ruff] Avoid syntax error when removing int over multiple lines (RUF046) (#15230)
  • [pyupgrade] Revert "Add all PEP-585 names to UP006 rule" (#15250)

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)

... (truncated)

Commits

Updates starlette from 0.45.0 to 0.45.2

Release notes

Sourced from starlette's releases.

Version 0.45.2

Fixed

  • Make create_memory_object_stream compatible with old anyio versions once again, and bump anyio minimum version to 3.6.2 by @​graingert in #2833.

Full Changelog: encode/starlette@0.45.1...0.45.2

Version 0.45.1

Fixed

Refactor


Full Changelog: encode/starlette@0.45.0...0.45.1

Changelog

Sourced from starlette's changelog.

0.45.2 (January 4, 2025)

Fixed

  • Make create_memory_object_stream compatible with old anyio versions once again, and bump anyio minimum version to 3.6.2 #2833.

0.45.1 (December 30, 2024)

Fixed

  • Close MemoryObjectReceiveStream left unclosed upon exception in BaseHTTPMiddleware children #2813.
  • Collect errors more reliably from the WebSocket logic on the TestClient #2814.

Refactor

  • Use a pair of memory object streams instead of two queues on the TestClient #2829.
Commits
  • 0109dce Version 0.45.2 (#2839)
  • 0ad90dc Bump the python-packages group across 1 directory with 7 updates (#2838)
  • 950f528 fix create_memory_object_stream not subscriptable at runtime in old anyio ver...
  • 7c0d1e6 Version 0.45.1 (#2832)
  • 76e053a Remove python version from mypy (#2831)
  • 5a10fba Fix unclosed 'MemoryObjectReceiveStream' upon exception in 'BaseHTTPMiddlewar...
  • e16bacb use a pair of memory object streams instead of two queues (#2829)
  • 27b6f4c collect errors more reliably from websocket test client (#2814)
  • See full diff 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

@dependabot dependabot bot requested a review from a team as a code owner January 6, 2025 04:55
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 6, 2025
@greenbonebot greenbonebot enabled auto-merge (rebase) January 6, 2025 04:55
Bumps the python-packages group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [anyio](https://github.com/agronholm/anyio) | `4.7.0` | `4.8.0` |
| [mypy](https://github.com/python/mypy) | `1.14.0` | `1.14.1` |
| [pygments](https://github.com/pygments/pygments) | `2.18.0` | `2.19.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.8.4` | `0.8.6` |
| [starlette](https://github.com/encode/starlette) | `0.45.0` | `0.45.2` |


Updates `anyio` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/agronholm/anyio/releases)
- [Changelog](https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst)
- [Commits](agronholm/anyio@4.7.0...4.8.0)

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

Updates `pygments` from 2.18.0 to 2.19.0
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](pygments/pygments@2.18.0...2.19.0)

Updates `ruff` from 0.8.4 to 0.8.6
- [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.4...0.8.6)

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

---
updated-dependencies:
- dependency-name: anyio
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: pygments
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: starlette
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/python-packages-a3a7cb86df branch from 7b9cb3e to e4ced43 Compare January 6, 2025 11:31
Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.31%. Comparing base (cd89d11) to head (e4ced43).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1081   +/-   ##
=======================================
  Coverage   90.31%   90.31%           
=======================================
  Files         108      108           
  Lines        7188     7188           
  Branches      815      815           
=======================================
  Hits         6492     6492           
  Misses        491      491           
  Partials      205      205           

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

@bjoernricks bjoernricks disabled auto-merge January 6, 2025 12:52
@bjoernricks bjoernricks merged commit 2c27134 into main Jan 6, 2025
18 of 21 checks passed
@bjoernricks bjoernricks deleted the dependabot/pip/python-packages-a3a7cb86df branch January 6, 2025 12:53
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