Upcoming pygit v1.20.0 update with removals of deprecated symbols
Fabio Valentini <[email protected]>
| Newsgroups | gmane.linux.redhat.fedora.devel |
|---|---|
| Message-ID | <CAB-QmhTsPZicHuDnoH4nxYTmjOjJNbuCFQ+-P9r_ZScxbcEkAQ@mail.gmail.com> |
Hi all, The latest release of pygit2 (packaged in Fedora as python-pygit2) includes a bunch of breaking changes: https://github.com/libgit2/pygit2/releases/tag/v1.20.0 Notably, removals of a bunch of previously deprecated or undocumented / accidentally-public symbols: - Remove deprecated pygit2.legacyenums module and GIT_* constants, use pygit2.enums instead - Remove deprecated support for passing str to Repository.merge(...), pass a Commit, Oid, or Reference object instead - Repository.merge_file_from_index(...) now returns MergeFileResult by default; pass use_deprecated=True for the previous string return, now deprecated. - Remove deprecated Remote.ls_remotes(...), use Remote.list_heads(...) instead - Remove pygit2.to_bytes(...) and pygit2.to_str(...); they were undocumented accidental public APIs Due to these breaking changes we plan to only submit this update to rawhide (and possibly the freshly branched f45), but not to any other branches. Please let us know if these changes are known to affect your packages. I plan to do some test rebuilds of dependent packages as well, and only merge this update if all looks good: - python-fsspec - python-patch-manager - python-rpmautospec - ruyi Fabio -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new