From a8f3f58211149817c9ce478f703a695123ea18e6 Mon Sep 17 00:00:00 2001 From: mzaiss Date: Thu, 5 Mar 2026 10:43:41 +0100 Subject: [PATCH 1/2] Update pyproject.toml for version 0.4.7 I dont know if this is the best solution, but it is one solution. Updated version to 0.4.7 and changed requires-python to >=3.10, needed for some phantoms. Added optional dependencies section for pypulseq. so pip install mrzerocore[pp14] installs with pypulseq <1.5 --- pyproject.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 85efeea..8a02d45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "mrzerocore" -version = "0.4.6" +version = "0.4.7" description = "Core functionality of MRzero" authors = [ {name = "Jonathan Endres", email = "jonathan.endres@uk-erlangen.de"}, @@ -16,12 +16,12 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy", "License :: OSI Approved :: GNU Affero General Public License v3", ] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "ismrmrd", "matplotlib>=3.5", "pydisseqt>=0.1.13", - "pypulseq<1.5.0", + "pypulseq", "requests>=2.20", "scikit-image", "scipy>=1.7", @@ -31,6 +31,11 @@ dependencies = [ "nibabel", ] +# --- OPTIONAL INSTALLS --- +[project.optional-dependencies] +# to select pypulseq 1.4 or <1.5 use pip install mrzerocore[pp14] +pp14 = ["pypulseq<1.5.0"] + [project.urls] Repository = "https://github.com/MRsources/MRzero-Core" Documentation = "https://mrsources.github.io/MRzero-Core/" From 5f7f5abe25c0a805005191ad1ec67b1393795753 Mon Sep 17 00:00:00 2001 From: mzaiss Date: Thu, 5 Mar 2026 15:02:54 +0100 Subject: [PATCH 2/2] quick test if tests run with 1.4.2post2 --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8a02d45..c7ebb74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ "ismrmrd", "matplotlib>=3.5", "pydisseqt>=0.1.13", - "pypulseq", + "pypulseq<1.5", "requests>=2.20", "scikit-image", "scipy>=1.7", @@ -34,7 +34,7 @@ dependencies = [ # --- OPTIONAL INSTALLS --- [project.optional-dependencies] # to select pypulseq 1.4 or <1.5 use pip install mrzerocore[pp14] -pp14 = ["pypulseq<1.5.0"] +pp15 = ["pypulseq"] [project.urls] Repository = "https://github.com/MRsources/MRzero-Core" @@ -46,3 +46,4 @@ profile = "release" strip = true module-name = "MRzeroCore._prepass" python-source = "python" +