quantumlib/Qualtran

Setup cirq-style pre-releases on every commit for Qualtran

Opened this issue · 3 comments

Cirq pushes a new package to pypi as a pre-release whenever a new PR gets merged. This feature request is to setup a similar pre-release infrastructure for Qualtran.

@pavoljuhas Can you potentially help with this?

Found a workaround for now to use qualtran@git+https://github.com/quantumlib/Qualtran#egg=<commit_hash> as a dependency in pyproject.toml of downstream projects using Qualtran

This CI job in Cirq produces a new package on each commit and pushes to Pypi -

https://github.com/quantumlib/Cirq/blob/bb24dae08f50ca51ff1f3ee72a92043120b8bf00/.github/workflows/release-main.yml

The cirq workflow is special because of the way cirq gets built. the default template for pypi upload that github provides should be enough