Open kspaceKelvin opened 8 months ago
The conda-forge package 1.14.0 build 0 suffers from probably a related error. Header.to_XML() fails.
Trying to fix the package constraints on conda-forge, I noticed rather curious behavior.
Building the package fails with xsdata <23 (e.g. 22.12) with the same error as stated above, but oddly it fails with the old versions of xsdata, and newers work fine.
But building with xsdata 23.8 and 24.4 both works fine.
However, running the package and tests only works with 22.12 and 23.8. Running test suite with 24.4 fails serializing XML.
The build error is puzzling to me, and it could be due to some unfortunate interaction with build dependencies between conda and pip.
I have fixed the dependency versions for the conda-forge package and created a fixed build (see https://github.com/conda-forge/ismrmrd-python-feedstock/pull/1). While the running with xsdata 23 seems to work for the conda-forge package, I constrained it to < 23 to be consistent with the change in #70.
Fixed in #73
xsdata version >= 23 seems to be incompatible with error:
meta.yaml is temporarily modified to limit the version in #70 until a proper fix is made.