Skip to content

Updated schema to the latest version from ISMRMRD#67

Merged
dchansen merged 6 commits intoismrmrd:masterfrom
dchansen:master
May 1, 2023
Merged

Updated schema to the latest version from ISMRMRD#67
dchansen merged 6 commits intoismrmrd:masterfrom
dchansen:master

Conversation

@dchansen
Copy link
Contributor

No description provided.

@hansenms
Copy link
Member

@dchansen, I think the problem is docformatter which in some versions lack some pieces and it gets pulled in by xsdata without pinning the version. It is, as I understand it only used in the build process by the xsdata cli, so this diff added to your branch should do it:

diff --git a/conda/build.sh b/conda/build.sh
index b190fdf..51ac1bd 100755
--- a/conda/build.sh
+++ b/conda/build.sh
@@ -1,5 +1,4 @@
 #!/bin/bash
 
 set -euo pipefail
-pip install xsdata[cli]
 pip install .
diff --git a/conda/meta.yaml b/conda/meta.yaml
index 4e496d6..022ef9d 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -13,6 +13,8 @@ requirements:
     - numpy>=1.22.0
     - h5py>=2.3
     - nose>=1.0
+    - docformatter<=1.4
+    - xsdata>=22.2
 
   run:
     - python

@dchansen dchansen merged commit 404aaf3 into ismrmrd:master May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants