Skip to content

Comments

Remove unused/misleading utcdelta#191

Merged
akrherz merged 4 commits intopython-metar:mainfrom
JamJomJim:main
Apr 15, 2025
Merged

Remove unused/misleading utcdelta#191
akrherz merged 4 commits intopython-metar:mainfrom
JamJomJim:main

Conversation

@JamJomJim
Copy link
Contributor

This PR removes the unused utcdelta, which leads to confusion around whether timezones are handled naively or not.

Even though code-wise this is a small change, I'd suggest a major semver bump to 2.0.0 as it's a breaking change to the Metar constructor.

This has some overlap with #186; however, that PR suggests broader changes to how timezones are handled, and the utcdelta arg is misleading enough that I believe it should be removed regardless of the decision on how to handle zulu time.

Copy link
Collaborator

@phobson phobson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Given that none of our tests covered its usage, I think this is good. @akrherz can you merge?

@akrherz akrherz merged commit 6745130 into python-metar:main Apr 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants