Skip to content

Commit b1d795c

Browse files
committed
pyproject.toml: replace rx with reactivex
This is the same library. The package was renamed in the 4.x release. The 4.x release give better type hints.
1 parent 465c70f commit b1d795c

File tree

3 files changed

+19
-16
lines changed

3 files changed

+19
-16
lines changed

poetry.lock

Lines changed: 16 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pybricksdev/connections/pybricks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
import struct
99
from typing import Awaitable, Optional, TypeVar
1010

11-
import rx.operators as op
11+
import reactivex.operators as op
1212
import semver
1313
from bleak import BleakClient
1414
from bleak.backends.device import BLEDevice
1515
from packaging.version import Version
16-
from rx.subject import BehaviorSubject, Subject
16+
from reactivex.subject import BehaviorSubject, Subject
1717
from tqdm.auto import tqdm
1818
from tqdm.contrib.logging import logging_redirect_tqdm
1919

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ pyusb = "^1.0.2"
4040
semver = "^2.13.0"
4141
appdirs = "^1.4.4"
4242
prompt-toolkit = "^3.0.18"
43-
Rx = "^3.2.0"
4443
mpy-cross-v6 = "^1.0.0"
4544
packaging = "^22"
4645
typing-extensions = "^4.3.0"
46+
reactivex = "^4.0.4"
4747

4848
[tool.poetry.dev-dependencies]
4949
black = "^23"

0 commit comments

Comments
 (0)