Skip to content

Commit d3499e9

Browse files
cursoragentdobrac
andcommitted
Update pytest and dependencies, add asyncio loop scope
Co-authored-by: jakub.dobry <[email protected]>
1 parent 0d48cbc commit d3499e9

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

python/poetry.lock

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

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ attrs = ">=21.3.0"
1717
e2b = "^2.7.0"
1818

1919
[tool.poetry.group.dev.dependencies]
20-
pytest = "^7.4.0"
20+
pytest = "^8.2.0"
2121
python-dotenv = "^1.0.0"
2222
pytest-dotenv = "^0.5.2"
23-
pytest-asyncio = "^0.23.7"
23+
pytest-asyncio = "^0.24.0"
2424
pytest-xdist = "^3.6.1"
2525
pydoc-markdown = "^4.8.2"
2626
matplotlib = "^3.8.0"

python/pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
markers =
44
skip_debug: skip test if E2B_DEBUG is set.
55
asyncio_mode=auto
6+
asyncio_default_fixture_loop_scope=function
67

78
addopts = "--import-mode=importlib" "--numprocesses=2"

0 commit comments

Comments
 (0)