Add support for GWpy 4.0.0#182
Open
duncanmmacleod wants to merge 4 commits into
Open
Conversation
e370934 to
7a3e458
Compare
GWpy 4.x is stricter (worse) at recognising segwizard files than before
GWpy 4.0.0 returns aware datetime's, including timezone information, so the default output representation is different; the easiest solution is to control it explicitly so there are no surprises
The I/O registry construction in GWpy 4.0.0 changed, and the get_read_format function was removed, so we rebuild it by calling out to the private method that it used to call
The package_list function makes an actual system call, and requires either conda or pip to be available on the system - this commit patches that out to avoid an unnecessary requirement. uv creates virtualenvs without pip by default, so this should avoid any surprises.
7a3e458 to
93a4144
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GWpy 4.0.0rc1 has been released, and includes a number of breaking changes that impact this project. This PR includes patches to fix the test suite when installed alongside the new GWpy.
I have not tested an actual Hveto run, so there could easily be more to fix.