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 .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
CONDA_ENV: [py39, py310, py311, py312, py313]
CONDA_ENV: [py39, py310, py311, py312, py313, py314]
# env:
# STREAMZ_LAUNCH_KAFKA: true

Expand Down
27 changes: 27 additions & 0 deletions ci/environment-py314.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test_env
channels:
- conda-forge
- defaults
dependencies:
- python=3.14
- pytest
- flake8
- black
- isort
- tornado
- toolz
- librdkafka
- dask
- distributed
- pandas
- python-confluent-kafka
- codecov
- coverage
- networkx
- graphviz
- pytest-asyncio
- python-graphviz
- bokeh
- ipywidgets
- flaky
- pytest-cov
3 changes: 3 additions & 0 deletions streamz/orderedweakset.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def add(self, value):
def discard(self, value):
self._od.pop(value, None)

def copy(self):
return OrderedSet(self._od.copy())


class OrderedWeakrefSet(weakref.WeakSet):
def __init__(self, values=()):
Expand Down
4 changes: 2 additions & 2 deletions streamz/tests/test_sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_http():
def test_process():
cmd = ["python", "-c", "for i in range(4): print(i, end='')"]
s = Source.from_process(cmd, with_end=True)
if sys.platform != "win32":
if sys.platform != "win32" and sys.version_info < (3, 14):
# don't know why - something with pytest and new processes
policy = asyncio.get_event_loop_policy()
watcher = asyncio.SafeChildWatcher()
Expand All @@ -119,7 +119,7 @@ def test_process():
def test_process_str():
cmd = 'python -c "for i in range(4): print(i)"'
s = Source.from_process(cmd)
if sys.platform != "win32":
if sys.platform != "win32" and sys.version_info < (3, 14):
# don't know why - something with pytest and new processes
policy = asyncio.get_event_loop_policy()
watcher = asyncio.SafeChildWatcher()
Expand Down
Loading