-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump package version for post release #10955
Bump package version for post release #10955
Conversation
The 0.25.2 release had a number of packaging issues relating to CI and versioning. This commit bumps the terra package version to 0.25.2.post0 which is a post-release notation that is pep440 compliant. The actual version.txt file is not updated in this PR because we still want it to show as 0.25.2 for `qiskit.__version__`, this is just a re-packaging of the 0.25.2 release.
One or more of the the following people are requested to review this:
|
Is is necessary to depend on the
and
So I would think that if there is something in the post release that affects the software behavior, it would be better to make a 0.25.2.1 while if it does not affect behavior it would be better to release post0 while still leaving the dependency as 0.25.2. |
Well it's kind of arguable whether this is a bug in the deployed software or not. The fundamental issue is the license file is missing from the 0.25.2 sdist which I think is borderline as to whether it affects the distributed software (I could see it either way). But, the precompiled wheels all should be complete and intact (qiskit 0.44.2 is missing but we could manually publish that if needed). That being said I hadn't considered using |
For the conda-forge package, 0.25.2.1 is easier because I can just skip 0.25.2 and let the automation generate 0.25.2.1. I can make the post method work as well. It would just require making some temporary workarounds in the conda recipes, making the release, and then removing the temporary workarounds. |
That's a good enough reason for me, I'll update this to use 0.25.2.1 instead of |
The use of a post-release is potentially problematic for downstream consumers/re-packagers. To make it easier for those use cases this commit switches from an explicit post release to using 0.25.2.1 which other tools will treat as newer than 0.25.2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a least one place in Qiskit where we assume that the version is a three-part object (QPY), and there may be others, but I don't think it'll really matter, because I think we would just silently discard a fourth component.
Do any of our CI automation parsing components (qiskit-bot, git-tag inspection, etc) assume a three-part version string, or use some parsing that's based on assuming it's three integers separated by dots?
qiskit-bot does the tag handling via the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I thought too, just wanted a second opinion.
Summary
The 0.25.2 release had a number of packaging issues relating to CI and versioning. This commit bumps the terra package version to 0.25.2.post0 which is a post-release notation that is pep440 compliant. The actual version.txt file is not updated in this PR because we still want it to show as 0.25.2 for
qiskit.__version__
, this is just a re-packaging of the 0.25.2 release.Details and comments