quantumlib / Qualtran

Qᴜᴀʟᴛʀᴀɴ is a Python library for expressing and analyzing Fault Tolerant Quantum algorithms.
https://qualtran.readthedocs.io/en/latest/
Apache License 2.0
176 stars 44 forks source link

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

Open tanujkhattar opened 1 month ago

tanujkhattar commented 1 month ago

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?

tanujkhattar commented 1 month ago

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

tanujkhattar commented 1 month ago

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

NoureldinYosri commented 1 month ago

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