Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion abs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pbp_autopublish: false

build_env_vars:
ANACONDA_ROCKET_ENABLE_PY313: yes
ANACONDA_ROCKET_ENABLE_PY314: yes
25 changes: 25 additions & 0 deletions recipe/187.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From cb2b55c211bcd3d622d525dd2cc1c7276d3d5b5c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 18 Nov 2025 13:06:49 -0800
Subject: [PATCH] Add asyncio fixture to test_async_receiver

This ensures that this test executes and passes
with pytest-8.4+

pytest now throws errors for such functions [1]
which were skipped in older versions
---
tests/test_signals.py | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/test_signals.py b/tests/test_signals.py
index 93a9c48..959209c 100644
--- a/tests/test_signals.py
+++ b/tests/test_signals.py
@@ -257,6 +257,7 @@ def received(sender: t.Any) -> None:
assert [id(fn) for fn in sig.receivers.values()] == [fn_id]


+@pytest.mark.asyncio
async def test_async_receiver() -> None:
sentinel = []
12 changes: 9 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ package:
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/blinker-{{ version }}.tar.gz
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/blinker-{{ version }}.tar.gz
sha256: b4ce2265a7abece45e7cc896e98dbebe6cead56bcf805a3d23136d145f5445bf
patches:
# Add asyncio fixture to test_async_receiver
- 187.patch

build:
number: 0
number: 1
script: pip install . --no-deps --no-build-isolation --ignore-installed --no-cache-dir -vv

requirements:
Expand All @@ -29,7 +32,10 @@ test:
requires:
- pip
- pytest
- pytest-asyncio
# pytest-asyncio 1.0.0 is not compatible with blinker 1.9.0.
# Replace it with pytest-tornasync for now.
#- pytest-asyncio
- pytest-tornasync
commands:
- pip check
- pytest --pyargs tests -vv
Expand Down