From 17715d2c9c4ed607c6e0a0fe9e6b6f864649822b Mon Sep 17 00:00:00 2001 From: Alexander Fischer Date: Sun, 1 Sep 2024 13:13:13 +0200 Subject: [PATCH 1/2] move pytest, poetry from runtime to dev dependencies, relax versions, update lock file --- poetry.lock | 28 ++++++++++------------------ pyproject.toml | 3 +-- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8c34fbb..911bd2b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,8 +1,4 @@ -<<<<<<< HEAD -# 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.8.2 and should not be changed by hand. ->>>>>>> 4c9e5dbe81c8c65934374584d6e81d33c786fc92 +# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. [[package]] name = "astunparse" @@ -1167,12 +1163,8 @@ files = [ [package.dependencies] numpy = [ - {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""}, {version = ">=1.20.3", markers = "python_version < \"3.10\""}, -<<<<<<< HEAD - {version = ">=1.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.11\""}, -======= ->>>>>>> 4c9e5dbe81c8c65934374584d6e81d33c786fc92 + {version = ">=1.21.0", markers = "python_version >= \"3.10\""}, {version = ">=1.23.2", markers = "python_version >= \"3.11\""}, ] python-dateutil = ">=2.8.2" @@ -1439,13 +1431,13 @@ files = [ [[package]] name = "pytest" -version = "7.4.4" +version = "8.3.2" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, - {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, + {file = "pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5"}, + {file = "pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"}, ] [package.dependencies] @@ -1453,11 +1445,11 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} +pluggy = ">=1.5,<2" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "python-dateutil" @@ -2122,4 +2114,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "05f0a001caadf8a9e5e639de370f713943ae8a59b93347c49d78483374b05f9d" +content-hash = "53f7c9dcb686287f1b9d9e50d34280ad7fec21d4bbf245c3df36fc4faf2ed5cd" diff --git a/pyproject.toml b/pyproject.toml index 600a848..330ca74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,12 +26,11 @@ python=">=3.8,<4.0" numba=">=0.57" numpy=">=1.18" pandas=">=1.4" -pytest="^7.2.0" statsmodels=">=0.13" tabulate = "^0.9.0" -poetry = "^1.4.2" [tool.poetry.dev-dependencies] +poetry = ">=1.4.2" pytest = ">=7.0.0" numba=">=0.57" numpy=">=1.22" From e22e5e374ab3ec4a193cbefedc82d0ed7ba39c51 Mon Sep 17 00:00:00 2001 From: Alexander Fischer Date: Sun, 1 Sep 2024 13:15:19 +0200 Subject: [PATCH 2/2] relax dependency for tabulate --- poetry.lock | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 911bd2b..5b0808a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2114,4 +2114,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "53f7c9dcb686287f1b9d9e50d34280ad7fec21d4bbf245c3df36fc4faf2ed5cd" +content-hash = "88b2fd7e323fe262e412b2afc477abe5c0e51fe60bb5fb611a9749e54f601151" diff --git a/pyproject.toml b/pyproject.toml index 330ca74..3b3eec2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ numba=">=0.57" numpy=">=1.18" pandas=">=1.4" statsmodels=">=0.13" -tabulate = "^0.9.0" +tabulate = ">=0.9.0" [tool.poetry.dev-dependencies] poetry = ">=1.4.2"