14
0
forked from pool/python-pygit2

Accepting request 1302433 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1302433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=43
This commit is contained in:
2025-09-02 16:00:44 +00:00
committed by Git OBS Bridge
6 changed files with 58 additions and 13 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1738158783
commit: d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07
url: https://src.opensuse.org/mcepl/python-pygit2.git
revision: d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9634e7b64c2b70479f43e87b0fdb22296be8deeb2d97ceff09d2eefb4d00226f
size 280

BIN
pygit2-1.17.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pygit2-1.18.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eca87e0662c965715b7f13491d5e858df2c0908341dee9bde2bc03268e460f55
size 797200

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Tue Sep 2 10:47:35 UTC 2025 - Sangeetha Thackarajan <sangeetha.thackarajan@suse.com>
- 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 <mcepl@cepl.eu> Wed Jan 29 13:52:23 UTC 2025 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,8 @@
# #
# spec file for package python-pygit2 # spec file for package python-pygit2
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2019 Neal Gompa <ngompa13@gmail.com>. # Copyright (c) 2019 Neal Gompa <ngompa13@gmail.com>.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@@ -19,7 +20,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pygit2 Name: python-pygit2
Version: 1.17.0 Version: 1.18.2
Release: 0 Release: 0
Summary: Python bindings for libgit2 Summary: Python bindings for libgit2
License: GPL-2.0-only License: GPL-2.0-only
@@ -36,7 +37,7 @@ BuildRequires: %{python_module wheel}
BuildRequires: ca-certificates BuildRequires: ca-certificates
BuildRequires: ca-certificates-mozilla BuildRequires: ca-certificates-mozilla
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libgit2-devel >= 1.1 BuildRequires: libgit2-devel >= 1.9.0
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-cached-property Requires: python-cached-property