-
Notifications
You must be signed in to change notification settings - Fork 843
Semver handling doesn't work for Apple RSRs #22919
Copy link
Copy link
Closed
Labels
#g-softwareSoftware product groupSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~backendBackend-related issue.Backend-related issue.~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Metadata
Metadata
Assignees
Labels
#g-softwareSoftware product groupSoftware product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.bugSomething isn't working as documentedSomething isn't working as documented~backendBackend-related issue.Backend-related issue.~released bugThis bug was found in a stable release.This bug was found in a stable release.
💥 Actual behavior
Apple RSRs (e.g.
macOS 13.5.1 (a)) fail to parse insemver.NewVersion(), causing issues like #22829. We have a workaround for that particular issue, but elsewhere in our codebase we'll still fail.🧑💻 Steps to reproduce
semver.NewVersion()TestOperatingSystemRequiresNudge.🕯️ More info
We're using a third-party package for Semver parsing, so first order of business is to see if upgrading to the latest (major) version (3.3.0 as of this ticket's creation) fixes the issue (it probably doesn't). Next step is finding out whether contributing a fix upstream would be accepted, and if not whether we wrap this behavior in the codebase (in the ten places it's used) or fork the entire library.