Deltares / Ribasim

Water resources modeling
https://ribasim.org/
MIT License
39 stars 5 forks source link

Investigate automated python package release #1583

Closed Jingru923 closed 3 days ago

Jingru923 commented 2 months ago

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.

deltamarnix commented 1 month ago

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

visr commented 1 month ago

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

Jingru923 commented 1 month ago

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

visr commented 1 month ago

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.

Huite commented 1 month ago

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

Jingru923 commented 1 month ago

That is where I got the inspiration.

visr commented 1 month ago

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.

SnippenE commented 3 days ago

close as duplicate of #669