Repository: KitwareMedical/ITKContourInterpolation (language: python)

Issue:
cannot import name 'itkHelpers' from 'itk.support' (unknown location)
I installed with pip. Whenever I try to use the module, I get an `ImportError`. This seems to be a [problem with ITK 5.2.0](
https://github.com/InsightSoftwareConsortium/ITKPythonPackage/issues/158), and not this package.

Moreover, I can't downgrade because of incompatibility of this package with 5.1.0 (supposed to be the current solution). How did you get it to work? 

Terminal output:
```
Traceback (most recent call last):
  File "/home/can/PycharmProjects/mask_to_mesh/examples/scripts/single-object_mitochondria/generate_mesh.py", line 18, in <module>
    single_object_category_map(
  File "/home/can/PycharmProjects/mask_to_mesh/mask_to_mesh/workflow.py", line 84, in single_object_category_map
    object_metadata_set, image_metadata_set = isolate_objects(
  File "/home/can/PycharmProjects/mask_to_mesh/mask_to_mesh/isolate_objects/main_new_way.py", line 113, in isolate_objects
    interpolated = itk.morphological_contour_interpolator(binary_stack_itk)
  File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-j662lBGy-py3.8/lib/python3.8/site-packages/itk/support/lazy.py", line 132, in __getattribute__
    base.itk_load_swig_module(module, namespace)
  File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-j662lBGy-py3.8/lib/python3.8/site-packages/itk/support/base.py", line 110, in itk_load_swig_module
    l_module = loader.load(swig_module_name)
  File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-j662lBGy-py3.8/lib/python3.8/site-packages/itk/support/base.py", line 259, in load
    l_spec.loader.exec_module(l_module)  # pytype: disable=attribute-error
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-j662lBGy-py3.8/lib/python3.8/site-packages/itk/support/../MorphologicalContourInterpolationPython.py", line 72, in <module>
    from itk.itkMorphologicalContourInterpolatorPython import *
  File "/home/can/.cache/pypoetry/virtualenvs/mask-to-mesh-j662lBGy-py3.8/lib/python3.8/site-packages/itk/itkMorphologicalContourInterpolatorPython.py", line 305, in <module>
    from itk.support import itkHelpers
ImportError: cannot import name 'itkHelpers' from 'itk.support' (unknown location)
```


Discussion / hints:

Fix patch:
diff --git a/setup.py b/setup.py
index 7599d6a..2ef94f9 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@
 
 setup(
     name='itk-morphologicalcontourinterpolation',
-    version='1.0.1',
+    version='1.0.2',
     author='Dženan Zukić',
     author_email='community@itk.org',
     packages=['itk'],
@@ -49,6 +49,6 @@
     keywords='ITK InsightToolkit Segmentation Interpolation-methods',
     url=r'https://github.com/KitwareMedical/ITKMorphologicalContourInterpolation',
     install_requires=[
-        r'itk>=5.2rc1'
+        r'itk>=5.2.0.post3'
     ]
     )


Test patch:
diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml
index ce3a01d..aa65e3c 100644
--- a/.github/workflows/build-test-package.yml
+++ b/.github/workflows/build-test-package.yml
@@ -13,26 +13,26 @@ jobs:
           - os: ubuntu-18.04
             c-compiler: "gcc"
             cxx-compiler: "g++"
-            itk-git-tag: "7548a390d71dc25b80e792703ee3cfea17853a99"
+            itk-git-tag: "v5.2.0"
             cmake-build-type: "MinSizeRel"
           - os: windows-2019
             c-compiler: "cl.exe"
             cxx-compiler: "cl.exe"
-            itk-git-tag: "7548a390d71dc25b80e792703ee3cfea17853a99"
+            itk-git-tag: "v5.2.0"
             cmake-build-type: "Release"
           - os: macos-10.15
             c-compiler: "clang"
             cxx-compiler: "clang++"
-            itk-git-tag: "7548a390d71dc25b80e792703ee3cfea17853a99"
+            itk-git-tag: "v5.2.0"
             cmake-build-type: "MinSizeRel"
 
     steps:
     - uses: actions/checkout@v1
 
-    - name: Set up Python 3.7
-      uses: actions/setup-python@v1
+    - name: Set up Python 3.8
+      uses: actions/setup-python@v2
       with:
-        python-version: 3.7
+        python-version: 3.8
 
     - name: Install build dependencies
       run: |
@@ -131,13 +131,13 @@ jobs:
       shell: cmd
 
   build-linux-python-packages:
-    runs-on: ubuntu-18.04
+    runs-on: ubuntu-20.04
     strategy:
       max-parallel: 2
       matrix:
         python-version: [36, 37, 38, 39]
         include:
-          - itk-python-git-tag: "v5.2rc03"
+          - itk-python-git-tag: "v5.2.0.post3"
 
     steps:
     - uses: actions/checkout@v2
@@ -173,7 +173,7 @@ jobs:
       max-parallel: 2
       matrix:
         include:
-          - itk-python-git-tag: "v5.2rc03"
+          - itk-python-git-tag: "v5.2.0.post3"
 
     steps:
     - uses: actions/checkout@v2
@@ -209,7 +209,7 @@ jobs:
       matrix:
         python-version-minor: [6, 7, 8, 9]
         include:
-          - itk-python-git-tag: "v5.2rc03"
+          - itk-python-git-tag: "v5.2.0.post3"
 
     steps:
     - name: Get specific version of CMake, Ninja
@@ -229,7 +229,7 @@ jobs:
       shell: bash
       run: |
         mv im ../../
-        cd ../../im
+        cd ../../
         curl -L "https://github.com/InsightSoftwareConsortium/ITKPythonBuilds/releases/download/${{ matrix.itk-python-git-tag }}/ITKPythonBuilds-windows.zip" -o "ITKPythonBuilds-windows.zip"
         7z x ITKPythonBuilds-windows.zip -o/c/P -aoa -r
         curl -L "https://data.kitware.com/api/v1/file/5c0ad59d8d777f2179dd3e9c/download" -o "doxygen-1.8.11.windows.bin.zip"