diff --git a/.github/workflows/docs_build.yaml b/.github/workflows/docs_build.yaml index cbdd707de42..46f9d22e133 100644 --- a/.github/workflows/docs_build.yaml +++ b/.github/workflows/docs_build.yaml @@ -22,11 +22,7 @@ jobs: version: "latest" - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0 with: - python-version: 3.x - - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 - with: - key: ${{ github.ref }} - path: .cache + python-version: 3.12 - name: Install dependencies run: | set -ux diff --git a/.github/workflows/pr_autoupdate.yaml b/.github/workflows/pr_autoupdate.yaml index 744012e0ffc..11d8fc2d280 100644 --- a/.github/workflows/pr_autoupdate.yaml +++ b/.github/workflows/pr_autoupdate.yaml @@ -36,7 +36,6 @@ jobs: run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - name: Install Dependencies - if: steps.cache.outputs.cache-hit != 'true' shell: bash run: | set -ux diff --git a/faststream/redis/testing.py b/faststream/redis/testing.py index eebaebb6a9a..f395ac1189d 100644 --- a/faststream/redis/testing.py +++ b/faststream/redis/testing.py @@ -105,9 +105,10 @@ async def get_msg(*args: Any, timeout: float, **kwargs: Any) -> None: pub_sub.get_message = get_msg - broker.config.broker_config.connection._client = connection - connection.pubsub.side_effect = lambda: pub_sub + connection.aclose = AsyncMock() + + broker.config.broker_config.connection._client = connection return connection diff --git a/pyproject.toml b/pyproject.toml index fcfc07c15a2..57658f183fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["uv_build>=0.8.4,<0.9.0"] +requires = ["uv_build>=0.9.2,<0.10.0"] build-backend = "uv_build" [project] @@ -52,10 +52,10 @@ classifiers = [ "Framework :: Pydantic :: 2", ] -version = "0.6.0rc4" +version = "0.6.0" dependencies = [ - "fast-depends[pydantic]>=3.0.0rc1,<4.0.0", + "fast-depends[pydantic]>=3.0.0", "typing-extensions>=4.8.0", "anyio>=4.0,<5", ] diff --git a/uv.lock b/uv.lock index fcf3ef25117..140ef4ba986 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 3 +revision = 2 requires-python = ">=3.10" resolution-markers = [ "python_full_version >= '3.13'", @@ -698,15 +698,15 @@ wheels = [ [[package]] name = "fast-depends" -version = "3.0.0rc1" +version = "3.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "anyio" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/cd/19/f775194a6d11945004298acbc02dabf654e6185fd1c80f7e0cbb10cc68bb/fast_depends-3.0.0rc1.tar.gz", hash = "sha256:7946c5f9dcf90c6c7d33382b5172cc02ddc162e9a554004b25e05deb870df0a6", size = 20811, upload-time = "2025-08-12T14:45:33.606Z" } +sdist = { url = "https://files.pythonhosted.org/packages/58/70/751d307eaf1743ad8a215382bf6534bf9ae929de643a55428aa07044816d/fast_depends-3.0.0.tar.gz", hash = "sha256:248f237b8c263469b38b9b32decf420ef33dfe39177dda065ade2e50d0cfa565", size = 17268, upload-time = "2025-10-11T10:34:58.54Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/d9/53/8e6ccbfecd0dfd2cc35d1db7a0c6de762a64b9562141335f38c6f1a0aa8a/fast_depends-3.0.0rc1-py3-none-any.whl", hash = "sha256:f08735e8ac1a012b345f239a735b0626a516e6742ab4c96d14ebb5085451003b", size = 24369, upload-time = "2025-08-12T14:45:31.836Z" }, + { url = "https://files.pythonhosted.org/packages/89/c9/bcec5355489bb2858224a22e675897068ae490c695cdd0607daf2f121ff5/fast_depends-3.0.0-py3-none-any.whl", hash = "sha256:3ee9c302d2bd891a2940e01167587eb530c5c920931d953b38e98a09f3677943", size = 24102, upload-time = "2025-10-11T10:34:56.871Z" }, ] [package.optional-dependencies] @@ -730,7 +730,7 @@ wheels = [ [[package]] name = "faststream" -version = "0.6.0rc4" +version = "0.6.0" source = { editable = "." } dependencies = [ { name = "anyio" }, @@ -888,7 +888,7 @@ requires-dist = [ { name = "anyio", specifier = ">=4.0,<5" }, { name = "confluent-kafka", marker = "python_full_version >= '3.13' and extra == 'confluent'", specifier = ">=2.6,!=2.8.1,<3" }, { name = "confluent-kafka", marker = "python_full_version < '3.13' and extra == 'confluent'", specifier = ">=2,!=2.8.1,<3" }, - { name = "fast-depends", extras = ["pydantic"], specifier = ">=3.0.0rc1,<4.0.0" }, + { name = "fast-depends", extras = ["pydantic"], specifier = ">=3.0.0" }, { name = "nats-py", marker = "extra == 'nats'", specifier = ">=2.7.0,<=3.0.0" }, { name = "opentelemetry-sdk", marker = "extra == 'otel'", specifier = ">=1.24.0,<2.0.0" }, { name = "prometheus-client", marker = "extra == 'prometheus'", specifier = ">=0.20.0,<0.30.0" },