From f15568ba30f87f61f50a88d982f7e6063d481771 Mon Sep 17 00:00:00 2001 From: Julien Guimont Date: Fri, 6 Dec 2024 11:09:38 -0500 Subject: [PATCH 1/2] Pytest-* should only be dev dependencies --- poetry.lock | 22 ++-------------------- pyproject.toml | 2 -- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3db552d..2cac789 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. [[package]] name = "aiokafka" @@ -1062,24 +1062,6 @@ tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] -[[package]] -name = "pytest-asyncio" -version = "0.23.8" -description = "Pytest support for asyncio" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pytest_asyncio-0.23.8-py3-none-any.whl", hash = "sha256:50265d892689a5faefb84df80819d1ecef566eb3549cf915dfb33569359d1ce2"}, - {file = "pytest_asyncio-0.23.8.tar.gz", hash = "sha256:759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3"}, -] - -[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 = "5.0.0" @@ -1505,4 +1487,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "00e7f9939a4e25193167ffb54b8cf42b83f8ed7dd92a7887074b42e3a01a36c1" +content-hash = "208f9e343235be1b006710df946f64a5535da155d62f69e3a5936786acb5d35a" diff --git a/pyproject.toml b/pyproject.toml index 3e1700f..394ccc5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,8 +17,6 @@ classifiers = [ python = ">=3.8,<4.0" confluent-kafka = ">= 1.9.2" aiokafka = ">=0.10,<0.12" -pytest-cov = ">=4.1,<6.0" -pytest-asyncio = "^0.23.5" typing-extensions = "^4.12.2" [tool.poetry.group.dev.dependencies] From ee1b541b33a9f2563a1b9a74ac7ecc700ea0679b Mon Sep 17 00:00:00 2001 From: Julien Guimont Date: Thu, 12 Dec 2024 11:18:09 -0500 Subject: [PATCH 2/2] pytest-asyncio --- poetry.lock | 20 +++++++++++++++++++- pyproject.toml | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 2cac789..77849f5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1062,6 +1062,24 @@ tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +[[package]] +name = "pytest-asyncio" +version = "0.23.8" +description = "Pytest support for asyncio" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest_asyncio-0.23.8-py3-none-any.whl", hash = "sha256:50265d892689a5faefb84df80819d1ecef566eb3549cf915dfb33569359d1ce2"}, + {file = "pytest_asyncio-0.23.8.tar.gz", hash = "sha256:759b10b33a6dc61cce40a8bd5205e302978bbbcc00e279a8b61d9a6a3c82e4d3"}, +] + +[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 = "5.0.0" @@ -1487,4 +1505,4 @@ test = ["big-O", "importlib-resources", "jaraco.functools", "jaraco.itertools", [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "208f9e343235be1b006710df946f64a5535da155d62f69e3a5936786acb5d35a" +content-hash = "796ac740dab381f5329f5d82df2564a7ed9cc1335adbf2be4f7782a2a2c24c74" diff --git a/pyproject.toml b/pyproject.toml index 394ccc5..c2f8840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ flake8 = "*" parameterized = "^0.9.0" pytest = ">=7.2,<9.0" pytest-cov = ">=4,<6" +pytest-asyncio = "^0.23.5" mypy = "^1.5.1" pre-commit = "^3.4.0" tox = "^4.11.1"