KitwareMedical / dicom-anonymizer

Tool to anonymize DICOM files according to the DICOM standard
BSD 3-Clause "New" or "Revised" License
104 stars 47 forks source link

push 1.0.12 to PyPI #68

Closed dmd closed 7 months ago

dmd commented 7 months ago

It looks like 1.0.12 was released a few days ago, but it is still not on PyPI.

pchoisel commented 7 months ago

I can see the latest version on PyPI image Maybe you need to hard refresh the page ? (Ctrl+Shift+r)

dmd commented 7 months ago
$ pip3 install --no-cache-dir dicom-anonymizer
Collecting dicom-anonymizer
  Downloading https://files.pythonhosted.org/packages/d6/5e/aed9b3ee153dbcb62b7eacbe271417af7d74ae582ffcb00fcd51942199a6/dicom_anonymizer-1.0.11-py2.py3-none-any.whl
Requirement already satisfied: tqdm in /usr/local/lib/python3.6/site-packages (from dicom-anonymizer)
Requirement already satisfied: pydicom in /usr/local/lib/python3.6/site-packages (from dicom-anonymizer)
Requirement already satisfied: importlib-resources; python_version < "3.7" in /usr/local/lib/python3.6/site-packages (from tqdm->dicom-anonymizer)
Requirement already satisfied: zipp>=3.1.0; python_version < "3.10" in /usr/local/lib/python3.6/site-packages (from importlib-resources; python_version < "3.7"->tqdm->dicom-anonymizer)
Installing collected packages: dicom-anonymizer
Successfully installed dicom-anonymizer-1.0.11
dmd commented 7 months ago

Aha:

    The package https://files.pythonhosted.org/packages/4d/af/bf9bed1d1fb236082fd19aecee7bd4f84f11a8d22898b2529bc83b59ce7
1/dicom_anonymizer-1.0.12-py3-none-any.whl#sha256=3593555f11ba7cbe910b949bca67b30e21292632d1942f2e2b580942764de1c7 (from
https://pypi.org/simple/dicom-anonymizer/) (requires-python:>=3.8) is incompatible with the pythonversion in use. Accepta
ble python versions are:>=3.8

Ok, that's on me. I'll have to create a venv or conda for this on our cluster head node.

pchoisel commented 7 months ago

We could maybe go lower in terms of supported Python versions. What version would you need for your cluster ?

dmd commented 7 months ago

😳 3.6 (it's the system one for RHEL8).

pchoisel commented 7 months ago

The code of the module still works with Python3.6, but not the build with our current pyproject.toml I'll have to investigate...

pchoisel commented 7 months ago

Hopefully, that should get fixed with https://github.com/KitwareMedical/dicom-anonymizer/pull/71