Skip to content

Commit d973b58

Browse files
amirafzalifacebook-github-bot
authored andcommitted
include pytest-asyncio and timeout (#26)
Summary: Differential Revision: D75028810
1 parent bc4b39a commit d973b58

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
pip install pyzmq requests numpy pyre-extensions
5757
5858
# Test dependencies
59-
pip install pytest cloudpickle
59+
pip install pytest cloudpickle pytest-timeout pytest-asyncio
6060
6161
# Build and install monarch
6262
python setup.py install

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ sudo dnf install cuda-toolkit-12-0 cuda-12-0 libnccl-devel clang-devel
3030
pip install setuptools-rust
3131
# install torch, can use conda or build it yourself or whatever
3232
pip install torch
33-
# install other deps, see pyproject.toml for latest
34-
pip install pyzmq requests numpy pyre-extensions pytest-timeout cloudpickle
33+
# install core deps, see pyproject.toml for latest
34+
pip install pyzmq requests numpy pyre-extensions cloudpickle
35+
# Install test dependencies
36+
pip install pytest pytest-timeout pytest-asyncio
3537

3638
# install the package
3739
python setup.py install

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = [
1010
version = "1.0"
1111
readme = "README.md"
1212
description = "Monarch: Single controller library"
13-
dependencies = ["torch", "pyzmq", "requests", "numpy", "pyre-extensions", "pytest-timeout", "cloudpickle"]
13+
dependencies = ["torch", "pyzmq", "requests", "numpy", "pyre-extensions", "pytest-timeout", "cloudpickle", "pytest-asyncio"]
1414
requires-python = ">= 3.10"
1515

1616
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)