Skip to content

Commit 5151376

Browse files
Apply migration from 25.9.0 to 26.3.1
=== v26.3.1 ========================================================= Source: inline script Collecting black==26.3.1 Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (91 kB) Collecting click>=8.0.0 (from black==26.3.1) Downloading click-8.3.3-py3-none-any.whl.metadata (2.6 kB) Collecting mypy-extensions>=0.4.3 (from black==26.3.1) Downloading mypy_extensions-1.1.0-py3-none-any.whl.metadata (1.1 kB) Collecting packaging>=22.0 (from black==26.3.1) Downloading packaging-26.2-py3-none-any.whl.metadata (3.5 kB) Collecting pathspec>=1.0.0 (from black==26.3.1) Downloading pathspec-1.1.1-py3-none-any.whl.metadata (14 kB) Collecting platformdirs>=2 (from black==26.3.1) Downloading platformdirs-4.9.6-py3-none-any.whl.metadata (4.7 kB) Collecting pytokens~=0.4.0 (from black==26.3.1) Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.metadata (3.8 kB) Downloading black-26.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 74.5 MB/s 0:00:00 Downloading pytokens-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (268 kB) Downloading click-8.3.3-py3-none-any.whl (110 kB) Downloading mypy_extensions-1.1.0-py3-none-any.whl (5.0 kB) Downloading packaging-26.2-py3-none-any.whl (100 kB) Downloading pathspec-1.1.1-py3-none-any.whl (57 kB) Downloading platformdirs-4.9.6-py3-none-any.whl (21 kB) Installing collected packages: pytokens, platformdirs, pathspec, packaging, mypy-extensions, click, black Successfully installed black-26.3.1 click-8.3.3 mypy-extensions-1.1.0 packaging-26.2 pathspec-1.1.1 platformdirs-4.9.6 pytokens-0.4.1 [notice] A new release of pip is available: 26.0.1 -> 26.1 [notice] To update, run: pip install --upgrade pip reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/src/frequenz/channels/experimental/_with_previous.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/experimental/test_pipe.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/src/frequenz/channels/experimental/_grouping_latest_value_cache.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/test_file_watcher.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/test_anycast.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/test_timer_integration.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/test_broadcast.py reformatted /home/runner/work/frequenz-channels-python/frequenz-channels-python/tests/test_timer.py All done! ✨ 🍰 ✨ 8 files reformatted, 40 files left unchanged. The migration completed successfully.
1 parent 1351473 commit 5151376

8 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/frequenz/channels/experimental/_grouping_latest_value_cache.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""The GroupingLatestValueCache caches the latest values in a receiver grouped by key."""
55

6-
76
import asyncio
87
from collections.abc import (
98
Callable,

src/frequenz/channels/experimental/_with_previous.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Composable predicate to cache and compare with the previous message."""
55

6-
76
from collections.abc import Callable
87
from typing import Final, Generic, TypeGuard
98

tests/experimental/test_pipe.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Tests for the Pipe class."""
55

6-
76
import asyncio
87
import typing
98
from contextlib import AsyncExitStack, aclosing, closing

tests/test_anycast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Tests for the Channel implementation."""
55

6-
76
import asyncio
87

98
import pytest

tests/test_broadcast.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Tests for the Broadcast implementation."""
55

6-
76
import asyncio
87
from dataclasses import dataclass
98
from typing import TypeGuard, assert_never

tests/test_file_watcher.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Tests for `channel.FileWatcher`."""
55

6-
76
import pathlib
87
from collections.abc import AsyncGenerator, Iterator, Sequence
98
from typing import Any

tests/test_timer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Tests for the timer."""
55

6-
76
import asyncio
87
import enum
98
import re

tests/test_timer_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
"""Integration tests for the timer."""
55

6-
76
import asyncio
87
from datetime import timedelta
98

0 commit comments

Comments
 (0)