fix: use jsonschema<4.18 to support MSYS2 #809
No reviewers
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#809
Loading…
Reference in New Issue
No description provided.
Delete Branch "debuglevel/borgmatic:feature-msys2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
jsonschema >=4.18 introduced rust dependencies which do not (yet) work on MSYS2.
See #778
Thanks for taking the time to submit this! I understand the issue with Rust dependencies introduced in jsonschema (even if I don't understand the dev's rationale), but I'm not sold that we should cap the version of jsonschema in borgmatic for all users. In places where I've done that with borgmatic dependencies in the past, some users end up not being able to install borgmatic anymore when their distro stops including old versions of these dependencies.
As an alternative though, what about installing the "native" MSYS2 package for jsonschema before installing borgmatic? Would borgmatic then use that package? I'll note that, strangely, this native version is jsonschema 4.19. So somebody figured out how to get it to build on MSYS2!
Closing this for now due to inactivity, but I'd be happy to revisit this if you're still game!
Pull request closed