Ribasim icon indicating copy to clipboard operation
Ribasim copied to clipboard

Investigate automated python package release

Open Jingru923 opened this issue 1 year ago • 7 comments

During the release process, we need to manually publish Ribasim Python packages. This step seems to be automatable.

We should investigate if publishing our Python packages can also be done by the pipeline.

The outcome of this issue is a "yes" or "no" answer.

Jingru923 avatar Jun 27 '24 07:06 Jingru923

There is a Pypi publish action that could be triggered: https://github.com/marketplace/actions/pypi-publish. Is that what you are looking for?

deltamarnix avatar Jul 18 '24 14:07 deltamarnix

The current release pipeline is on TeamCity, so running something from there may be more convenient.

visr avatar Jul 18 '24 15:07 visr

@visr our python package are released manually. The idea of this issue was to move it to TeamCity

Jingru923 avatar Jul 18 '24 15:07 Jingru923

Yeah I know. Marnix suggested a GitHub Action, but I meant that since the rest of the release pipeline is on TeamCity, a GitHub Action is not ideal.

visr avatar Jul 18 '24 16:07 visr

I think Sunny set it up for imod-python: https://deltares.github.io/imod-python/developing.html#how-to-release-a-new-version

Huite avatar Jul 18 '24 18:07 Huite

That is where I got the inspiration.

Jingru923 avatar Jul 18 '24 18:07 Jingru923

It's good practice to link directly to any possible examples you have in mind, because then the "investigate" part of the issue just becomes a "copy", for anyone wanting to pick this up.

visr avatar Jul 18 '24 19:07 visr

close as duplicate of #669

SnippenE avatar Sep 03 '24 14:09 SnippenE