You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @hackermd . In #27 we had discussed making pillow and numpy optional. The issue was closed after these two dependencies were removed.
#56 reintroduced these required dependencies. #56 explicitly mentions in the description:
The DICOMfileClient depends on the NumPy and Pillow libraries. Therefore, this PR would introduce a dependency on C Python. I don't think this is a major issue and most users will likely have NumPy and Pillow installed anyways.
If this should turn out to be an issue, we could either
make the dependencies optional (not a fan of that approach)
put the DICOMfileClient into a separate package (also not ideal because the class is supposed to have the same API as the DICOMwebClient and having both in one package is advantageous in this regard)
I'm using this project (the library, not the CLI) as part of an application that will be running under pypy instead of cpython, possibly in an alpine container. I'd have to build both pillow & numpy for a feature I don't intend on using.
I would therefore kindly request that these dependencies are either changed to optional, or that the DICOMfileClient is split into a separate package (which can still of course be developed in this repo alongside DICOMwebClient) but installed separately from PYPI.
The text was updated successfully, but these errors were encountered:
I am sorry @dimrozakis, we completely forgot about that when implementing the file client.
Splitting the two clients into separate packages would unfortunately also not be ideal at this point, since it would represent a breaking change. I generally like the idea and we should certainly consider this approach for the 1.0 release.
In the meanwhile, it may be cleaner to create a separate minimal package without the CPython dependencies and could thus be used with PyPy.
Hi @hackermd . In #27 we had discussed making pillow and numpy optional. The issue was closed after these two dependencies were removed.
#56 reintroduced these required dependencies. #56 explicitly mentions in the description:
As explained in #27:
I would therefore kindly request that these dependencies are either changed to optional, or that the
DICOMfileClient
is split into a separate package (which can still of course be developed in this repo alongsideDICOMwebClient
) but installed separately from PYPI.The text was updated successfully, but these errors were encountered: