From c0380029cbcaaa76dd90151bb2358b5f6378dd5f Mon Sep 17 00:00:00 2001 From: Jakub Miazek Date: Wed, 20 Mar 2024 13:29:43 +0100 Subject: [PATCH] add pytest lib as explicit project dependency --- README.md | 2 +- poetry.lock | 20 +------------------- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index adc90b4..bb4d9d8 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ I've included a few of my favorites to kick things off! [uvicorn-url]: https://www.uvicorn.org/ [asyncpg.github.io]: https://img.shields.io/badge/asyncpg-0.29.0-2e6fce?style=for-the-badge&logo=postgresql&logoColor=white [asyncpg-url]: https://magicstack.github.io/asyncpg/current/ -[pytest.org]: https://img.shields.io/badge/pytest-7.4.4-fff?style=for-the-badge&logo=pytest&logoColor=white +[pytest.org]: https://img.shields.io/badge/pytest-8.1.1-fff?style=for-the-badge&logo=pytest&logoColor=white [pytest-url]: https://docs.pytest.org/en/6.2.x/ [alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.13.1-6BA81E?style=for-the-badge&logo=alembic&logoColor=white [alembic-url]: https://alembic.sqlalchemy.org/en/latest/ diff --git a/poetry.lock b/poetry.lock index eb538ca..3c6acb6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1289,24 +1289,6 @@ pluggy = ">=1.4,<2.0" [package.extras] testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] -[[package]] -name = "pytest-asyncio" -version = "0.23.6" -description = "Pytest support for asyncio" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pytest-asyncio-0.23.6.tar.gz", hash = "sha256:ffe523a89c1c222598c76856e76852b787504ddb72dd5d9b6617ffa8aa2cde5f"}, - {file = "pytest_asyncio-0.23.6-py3-none-any.whl", hash = "sha256:68516fdd1018ac57b846c9846b954f0393b26f094764a28c955eabb0536a4e8a"}, -] - -[package.dependencies] -pytest = ">=7.0.0,<9" - -[package.extras] -docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1.0)"] -testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"] - [[package]] name = "pytest-cov" version = "4.1.0" @@ -2111,4 +2093,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "0b793bf142f13a8a37517c9039bf2c78255ab7c7b1b1182fe5ea8eed07706df1" +content-hash = "afda701d53254c85e9d641e351758446803a05074c6596cd389f99a445503d9e" diff --git a/pyproject.toml b/pyproject.toml index 3de53d0..e8a9f99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,8 +16,8 @@ uvicorn = { version = "0.29.0", extras = ["standard"]} asyncpg = "0.29.0" alembic = "1.13.1" httpx = "0.27.0" +pytest = "^8.1.1" pytest-cov = "4.1.0" -pytest-asyncio = "0.23.6" uvloop = "0.19.0" httptools = "0.6.1" rich = "13.7.1"