From 534585bed7ab9c1c305c077b9ed545764ad93d97 Mon Sep 17 00:00:00 2001 From: ed cuss Date: Thu, 9 Jul 2026 20:04:03 +0100 Subject: [PATCH 1/2] fix: move deepcopy in tap before fn call --- pyproject.toml | 2 +- src/danom/_stream.py | 2 +- uv.lock | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8e9c09f..7513160 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "danom" -version = "0.15.0" +version = "0.15.1" description = "Functional streams and monads" readme = "README.md" license = "MIT" diff --git a/src/danom/_stream.py b/src/danom/_stream.py index 9652a69..a3b313f 100644 --- a/src/danom/_stream.py +++ b/src/danom/_stream.py @@ -533,7 +533,7 @@ class _Tap: fn: Callable def __call__(self, value: T) -> T: - deepcopy(self.fn(value)) + self.fn(deepcopy(value)) return value diff --git a/uv.lock b/uv.lock index 4d08814..d901ec0 100644 --- a/uv.lock +++ b/uv.lock @@ -343,7 +343,7 @@ wheels = [ [[package]] name = "danom" -version = "0.15.0" +version = "0.15.1" source = { editable = "." } dependencies = [ { name = "attrs" }, From 316818cd7d0e2fdc399a94fee47732471acdeafa Mon Sep 17 00:00:00 2001 From: Ed Cuss <100875124+second-ed@users.noreply.github.com> Date: Thu, 9 Jul 2026 20:23:54 +0100 Subject: [PATCH 2/2] fix: update codspeed workflow (#48) --- .github/workflows/codspeed.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 85e5958..82cfd7e 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -5,6 +5,9 @@ on: branches: - "main" - "dev" + push: + branches: + - "dev" workflow_dispatch: permissions: