fix: use jsonschema<4.18 to support MSYS2 #809

Closed
debuglevel wants to merge 1 commits from debuglevel/borgmatic:feature-msys2 into main
Contributor

jsonschema >=4.18 introduced rust dependencies which do not (yet) work on MSYS2.

jsonschema >=4.18 introduced rust dependencies which do not (yet) work on MSYS2.
debuglevel added 1 commit 2024-01-03 23:34:01 +00:00
f87f9cf8aa fix: use jsonschema<4.18 to support MSYS2
jsonschema >=4.18 introduced rust dependencies which do not (yet) work on MSYS2.
Author
Contributor

See #778

See #778
Owner

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!

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!
Owner

Closing this for now due to inactivity, but I'd be happy to revisit this if you're still game!

Closing this for now due to inactivity, but I'd be happy to revisit this if you're still game!
witten closed this pull request 2024-03-12 04:19:12 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#809
No description provided.