Skip to content

Commit 20dd137

Browse files
Matt KafonekElijah Wilson
Matt Kafonek
and
Elijah Wilson
authoredOct 3, 2022
downgrade to pre-poetry 1.2 build system (#54)
* downgrade to pre-poetry 1.2 build system * try adding pytest-timeout Co-authored-by: Elijah Wilson <eli@noteable.io>
1 parent 55a5cea commit 20dd137

File tree

3 files changed

+93
-517
lines changed

3 files changed

+93
-517
lines changed
 

‎noxfile.py

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def test(session: nox_poetry.Session):
1414
"pytest",
1515
"-v",
1616
"--cov=sending",
17+
"--timeout=30",
1718
env={"SENDING__ENABLE_LOGGING": "True"},
1819
)
1920

‎poetry.lock

+89-515
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jupyter = ["jupyter_client", "ipykernel"]
1717
websockets = ["websockets"]
1818
all = ["aioredis", "jupyter_client", "ipykernel", "websockets"]
1919

20-
[tool.poetry.group.dev.dependencies]
20+
[tool.poetry.dev-dependencies]
2121
pytest = "^7.1.2"
2222
pytest-mock = "^3.7.0"
2323
black = "^22.3.0"
@@ -32,9 +32,10 @@ uvicorn = "^0.18.2"
3232
fastapi = "^0.79.0"
3333
httpx = "^0.23.0"
3434
structlog = "^22.1.0"
35+
pytest-timeout = "^2.1.0"
3536

3637
[build-system]
37-
requires = ["poetry-core>=1.2.0"]
38+
requires = ["poetry-core>=1.0.0"]
3839
build-backend = "poetry.core.masonry.api"
3940

4041
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)
Please sign in to comment.