forked from pool/python-pygit2
Compare commits
14 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4ddceef57e | |||
| 9eff18990a | |||
| 82166c1cd6 | |||
| f86679741f | |||
|
|
8b8b111afc | ||
| 707fd15555 | |||
| b5f3cb39be | |||
|
|
91b8e4030b | ||
| aa6f716002 | |||
| 23c6f71712 | |||
| b802d1903d | |||
| 65abd8bcd3 | |||
| ef2fad64b4 | |||
| 933f030afd |
BIN
pygit2-1.15.1.tar.gz
LFS
BIN
pygit2-1.15.1.tar.gz
LFS
Binary file not shown.
3
pygit2-1.18.2.tar.gz
Normal file
3
pygit2-1.18.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eca87e0662c965715b7f13491d5e858df2c0908341dee9bde2bc03268e460f55
|
||||
size 797200
|
||||
@@ -1,3 +1,84 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Remove upstreamed const-parents.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 09:21:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.17.0
|
||||
* Upgrade to libgit2 1.9
|
||||
* Add certificate_check callback to Remote.ls_remotes(...)
|
||||
* Fix build with GCC 14
|
||||
* Documentation: fix typo in Repository.status(...) docstring
|
||||
* Fix tests with Python 3.13.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 10:50:38 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Update to 1.16.0:
|
||||
- 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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 11:21:06 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#
|
||||
# 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>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -19,14 +20,15 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pygit2
|
||||
Version: 1.15.1
|
||||
Version: 1.18.2
|
||||
Release: 0
|
||||
Summary: Python bindings for libgit2
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/libgit2/pygit2
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.10}
|
||||
BuildRequires: %{python_module cached-property}
|
||||
BuildRequires: %{python_module cffi >= 1.16.0}
|
||||
BuildRequires: %{python_module cffi >= 1.17.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -35,11 +37,11 @@ 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
|
||||
%requires_eq python-cffi
|
||||
Requires: python-cffi >= 1.17.0
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -47,12 +49,6 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pygit2-%{version}
|
||||
%if %{?pkg_vcmp:%pkg_vcmp libgit2-devel < 1.8}%{!?pkg_vcmp:1}
|
||||
%patch -P 3 -p1 -R
|
||||
%patch -P 2 -p1 -R
|
||||
%patch -P 1 -p1 -R
|
||||
%patch -P 0 -p1 -R
|
||||
%endif
|
||||
|
||||
# do not add options to pytest
|
||||
rm pytest.ini
|
||||
|
||||
Reference in New Issue
Block a user