cda-tum / mqt-core

MQT Core - The Backbone of the Munich Quantum Toolkit
http://mqt.readthedocs.io/projects/core
MIT License
52 stars 28 forks source link

⚗️ upload to Test PyPI when running CD workflow #666

Closed burgholzer closed 1 month ago

burgholzer commented 1 month ago

Description

This PR updates the CD workflow so that anytime it runs, it uploads the resulting packages to Test PyPI. This allows to battle test the packages before official releases. This will be especially important in the context of #662.

Checklist:

burgholzer commented 1 month ago

Unfortunately, it seems that this is not really feasible. Test PyPI won't accept packages with local version identifiers and setuptools-scm does not easily allow to disable local versions, e.g., based on the presence of an environment variable. Maybe sometime in the future.