From 981d1a7d700b2a8e79c51895e777c8f85d567228 Mon Sep 17 00:00:00 2001 From: Evgeny Prilepin Date: Mon, 11 Dec 2023 16:08:16 +0000 Subject: [PATCH 1/2] Update poetry stuff and dependencies --- poetry.lock | 16 ++++++++-------- pyproject.toml | 11 +++++++---- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0e0cac4..536240d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.5.1 and should not be changed by hand. [[package]] name = "atomicwrites" @@ -41,22 +41,22 @@ files = [ [[package]] name = "importlib-metadata" -version = "4.13.0" +version = "7.0.0" description = "Read metadata from Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "importlib_metadata-4.13.0-py3-none-any.whl", hash = "sha256:8a8a81bcf996e74fee46f0d16bd3eaa382a7eb20fd82445c3ad11f4090334116"}, - {file = "importlib_metadata-4.13.0.tar.gz", hash = "sha256:dd0173e8f150d6815e098fd354f6414b0f079af4644ddfe90c71e2fc6174346d"}, + {file = "importlib_metadata-7.0.0-py3-none-any.whl", hash = "sha256:d97503976bb81f40a193d41ee6570868479c69d5068651eb039c40d850c59d67"}, + {file = "importlib_metadata-7.0.0.tar.gz", hash = "sha256:7fc841f8b8332803464e5dc1c63a2e59121f46ca186c0e2e182e80bf8c1319f7"}, ] [package.dependencies] zipp = ">=0.5" [package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] perf = ["ipython"] -testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] +testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] [[package]] name = "iniconfig" @@ -305,4 +305,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "099c8e378c070dc3eca779fa7858f0e5620e5113c248e474637f1d23f836a7d1" +content-hash = "c98e40102861538c4a5bfaa2f51bd48de9e1072754d15f9b8b8419fa0873e220" diff --git a/pyproject.toml b/pyproject.toml index efffd6f..bb4b73f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,20 +29,23 @@ include = [ "src/*" ] -build = "buildext.py" - [tool.poetry.dependencies] python = ">=3.8,<3.12" -importlib-metadata = "^4.8.1" +importlib-metadata = "^7.0.0" numpy = ">=1.19.2" scipy = ">=1.5.4" -[tool.poetry.dev-dependencies] +[tool.poetry.group.dev.dependencies] +setuptools = "^69.0.2" pytest = "^6.1.1" pydicom = "^2.2.2" nibabel = "^3.2.1" pybind11 = "^2.8.1" +[tool.poetry.build] +script = "buildext.py" +generate-setup-file = true + [build-system] requires = [ "poetry-core>=1.0.0", From 9c38de1449623cd2241ca0f9cf171c6b5f48aaf8 Mon Sep 17 00:00:00 2001 From: Evgeny Prilepin Date: Mon, 11 Dec 2023 16:10:50 +0000 Subject: [PATCH 2/2] Do not use <3.12 for Python version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bb4b73f..05c6cf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ include = [ ] [tool.poetry.dependencies] -python = ">=3.8,<3.12" +python = "^3.8" importlib-metadata = "^7.0.0" numpy = ">=1.19.2" scipy = ">=1.5.4"