diff --git a/pygit2-1.17.0.tar.gz b/pygit2-1.17.0.tar.gz deleted file mode 100644 index 069f030..0000000 --- a/pygit2-1.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa2bc050b2c2d3e73b54d6d541c792178561a344f07e409f532d5bb97ac7b894 -size 769002 diff --git a/pygit2-1.18.2.tar.gz b/pygit2-1.18.2.tar.gz new file mode 100644 index 0000000..3cfe62c --- /dev/null +++ b/pygit2-1.18.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eca87e0662c965715b7f13491d5e858df2c0908341dee9bde2bc03268e460f55 +size 797200 diff --git a/python-pygit2.changes b/python-pygit2.changes index 587223e..e3b7821 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,54 @@ +------------------------------------------------------------------- +Tue Sep 2 10:47:35 UTC 2025 - Sangeetha Thackarajan + +- Update to 1.18.2 + 1.18.2 (2025-08-16) + ------------------------- + - Add support for almost all global options + - Now it's possible to set `Submodule.url = url` + - New `RemoteCallbacks.push_negotiation(...)` + - New optional boolean argument `connect` in `Remote.ls_remotes(...)` + - New `Remote.list_heads(...)` returns a list of `RemoteHead` objects + - Documentation fixes + - Typing improvements + Deprecations: + - `Remote.ls_remotes(...)` is deprecated, use `Remote.list_heads(...)` + + 1.18.1 (2025-07-26) + ------------------------- + - Update wheels to libgit2 1.9.1 and OpenSSL 3.3 + - New `Index.remove_directory(...)` + - New `Index.add_conflict(...)` + - Now `Repository.merge_file_from_index(...)` returns a `MergeFileResult` object when + called with `use_deprecated=False` + - Typing improvements + Deprecations: + - At some point in the future `use_deprecated=False` in `Repository.merge_file_from_index(..., use_deprecated=False)` will be the default. + + 1.18.0 (2025-04-24) + ------------------------- + - Upgrade Linux Glibc wheels to `manylinux_2_28` + - Add `RemoteCallbacks.push_transfer_progress(...)` callback + - New `bool(oid)` + - Now `Repository.merge(...)` accepts a commit or reference object + - New `threads` optional argument in `Remote.push(...)` + - New `proxy` optional argument in `clone_repository(...)` + - New optional arguments `context_lines` and `interhunk_lines` in `Blob.diff(...)` ; and + now `Repository.diff(...)` honors these two arguments when the objects diffed are blobs. + - Now `Tree.diff_to_workdir(...)` accepts keyword arguments, not just positional. + - Fix when a reference name has non UTF-8 chars + - Fix condition check in `Repository.remotes.rename(...)` + - Add codespell workflow, fix a number of typos + - Documentation and typing + - CI: Use ARM runner for tests and wheels + - Build and CI updates + Deprecations: + - Passing str to `Repository.merge(...)` is deprecated, + instead pass an oid object (or a commit, or a reference) + Breaking changes: + - Keyword argument `flag` has been renamed to `flags` in `Blob.diff(...)` and + `Blob.diff_to_buffer(...)` + ------------------------------------------------------------------- Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl diff --git a/python-pygit2.spec b/python-pygit2.spec index 696946b..242da59 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,6 +1,7 @@ # # spec file for package python-pygit2 # +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2019 Neal Gompa . # @@ -19,7 +20,7 @@ %{?sle15_python_module_pythons} Name: python-pygit2 -Version: 1.17.0 +Version: 1.18.2 Release: 0 Summary: Python bindings for libgit2 License: GPL-2.0-only @@ -36,7 +37,7 @@ BuildRequires: %{python_module wheel} BuildRequires: ca-certificates BuildRequires: ca-certificates-mozilla BuildRequires: fdupes -BuildRequires: libgit2-devel >= 1.1 +BuildRequires: libgit2-devel >= 1.9.0 BuildRequires: libopenssl-devel BuildRequires: python-rpm-macros Requires: python-cached-property