7 Commits

Author SHA256 Message Date
75d2cb7141 Update year in SPEC 2025-05-05 08:38:10 +02:00
a5914906ea Merge pull request 'update_to_1.17.0' (#3) from mcepl/python-pygit2:update_to_1.17.0 into factory 2025-02-04 09:51:21 +01:00
d67fc87079 Remove upstreamed const-parents.patch. 2025-01-29 14:53:03 +01:00
Markéta Calábková
b0fca1d393 update to 1.17.0 2025-01-28 12:40:31 +01:00
c0760b117f Merge pull request 'Update to 1.16.0' (#2) from mcepl/python-pygit2:factory into factory 2024-11-05 15:42:17 +01:00
8f774c3b9f Update to 1.16.0:
Some checks failed
obs/scm/build
- Add support for Python 3.13
  - Drop support for Python 3.9
  - New Repository.hashfile(...)
  - New Option.GET_MWINDOW_FILE_LIMIT and
    Option.SET_MWINDOW_FILE_LIMIT
  - Fix overriding certificate_check(...) callback via argument
    to RemoteCallbacks(...)
  - Add py.typed
  - Fix discover_repository(...) annotation
Add const-parents.patch to fix FTBFS (gh#libgit2/pygit2!1324).
2024-11-05 12:32:54 +01:00
288f56c161 Ignore _scmsync.obsinfo 2024-09-24 12:21:18 +02:00
5 changed files with 7 additions and 57 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
.osc
_scmsync.obsinfo
pygit2-*/

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

Binary file not shown.

View File

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

View File

@@ -1,54 +1,3 @@
-------------------------------------------------------------------
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>

View File

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