-
Notifications
You must be signed in to change notification settings - Fork 364
Fix strange usage of pycbc.version.release #5033
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
Conversation
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.
This seems OK to me. I think confirmation of a couple checks besides the automated build would be useful though. Have you manually tried to make a release and non-release wheel offline and installed both? If so, then I think this can be merged.
No I have not made any manual tests, but I should. |
I tested this by building two wheels via Before change, non-release:
Before change, release 2.7.3:
After change, non-release:
After change, mock 2.8.0 release:
Everything looks ok to me, so I am merging. |
* Update PyPI publish action (#5097) * Workaround for git.ligo.org authentication change (#5119) * Workaround for git.ligo.org auth change * Workaround for git.ligo.org auth change * Forgot args * Fix error * Two possible URL schemes * Fix regex * Don't miss this bit! * Address ci deprecations (#5076) * Update CI to Ubuntu 24.04 * Use Python 3.11 for distribution CI * Try ubuntu-22 for basic tests * updated for depcreated fillcolor value (#5123) * Update cibuildwheel to v311 * Pin cython version * Bump pegasus versions to 5.0.8 * Fix strange usage of pycbc.version.release (#5033) * Fix usage of release flag in Pegasus sites code (#5098) --------- Co-authored-by: Tito Dal Canton <tito.dalcanton@ijclab.in2p3.fr> Co-authored-by: Alex Nitz <alex.nitz@gmail.com>
This fixes a couple minor weird things I noticed about how we report PyCBC's version in a couple places.
setup.py
, we always setvinfo.release
to a string like'False'
or'True'
which I always found odd. Why not just a bool? Here I turn it into a bool.release
is bool.