InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.37k stars 660 forks source link

Create weekly builds with python wrapping for ITK and its modules, and submit them to pypi #4656

Open aylward opened 1 month ago

aylward commented 1 month ago

Description

The release schedule for ITK is good, but given the rapid pace at which ITK continues to evolve/improve, it would be helpful if the community had access to recent (weekly) builds of ITK for python on PyPi.

Expected behavior

A github "schedule" action triggers building ITK and its modules and pushing to pypi. For more info on schedule action triggers, see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

The weekly releases could go under the PyPi project "itk-weekly".

Actual behavior

The release of external projects that depend on recent changes to ITK are delayed until a RC is produced - and RC's are not produced on a consistent schedule, which further complicates external development, dependencies, and releases.

Additional Information

For example, see https://pypi.org/search/?q=monai-weekly

thewtex commented 1 month ago

Good idea. We can get there via the following steps:

aylward commented 1 week ago

Thanks!

In the meantime, could we upload the python wheels as artifacts for specific workflows/triggers?

I have committed changes since 5.4 was tagged :)

thewtex commented 1 week ago

Appealing, absolutely!

We need the above steps to make a specific workflow/trigger possible, too.

Its a manual process to build / upload now, outlined here.