18 Commits

Author SHA256 Message Date
512f6561b8 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
2025-09-02 16:00:44 +00:00
572e3841f5 - Update to 1.18.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=102
2025-09-02 13:10:02 +00:00
9ddaca0bf1 Remove *.obs* files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=101
2025-08-11 17:57:46 +00:00
57f128a6d6 [info=75d2cb71414110ccf67c23dc7b67ee0b99448d5a8d76a34fc70cd03e01433d4d]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=100
2025-05-05 06:38:29 +00:00
OBS User unknown
c98ed5ffcb [info=a5914906eaa05210f799fdf6fdcc42fdc17a603d103035bf6c26729334b00c0c]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=99
2025-02-04 08:51:26 +00:00
81dd1f631f Accepting request 1241225 from devel:Factory:git-workflow:staging:mcepl:python-pygit2:3
update_to_1.17.0

Update to pygit2 1.17.0 and make sure it builds with libgit2 1.9.

(Depends on sr#1241223 and relates to sr#1241224).

(🤖: Submission of python-pygit2 via #3 by mcepl)

OBS-URL: https://build.opensuse.org/request/show/1241225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=42
2025-01-30 13:52:04 +00:00
Git SCM Staging
b5a252c929 [info=d67fc870797df105dad42333f76e4a60bb1a26f372e11185d7754fd82a722a07]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:3/python-pygit2?expand=0&rev=1
2025-01-29 16:29:33 +00:00
OBS User unknown
b9267b7763 [info=c0760b117fc40c177bf755bf33d8afcf98ad5dfa5af50e0556b3773a03b56f59]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=98
2024-11-05 14:42:22 +00:00
2321e9b12e Accepting request 1221428 from devel:Factory:git-workflow:staging:mcepl:python-pygit2:2
Update to 1.16.0

- 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).


(🤖: Submission of python-pygit2 via #2 by mcepl)

OBS-URL: https://build.opensuse.org/request/show/1221428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=41
2024-11-05 14:42:16 +00:00
Git SCM Staging
c42d629af5 [info=8f774c3b9f40d04f66a46759d57c82ef5d71a8e1989bc375a9493ec49c78810e]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:2/python-pygit2?expand=0&rev=4
2024-11-05 12:48:56 +00:00
Git SCM Staging
878a18abd8 [info=3e07cb6faef98760b11addef0c42d0d294cfa921029306ca19a987bbda9ba12b]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:2/python-pygit2?expand=0&rev=3
2024-11-05 12:45:09 +00:00
Git SCM Staging
0de7481d05 [info=f5cc8fe3ef04e9b1df5cb981df4c43ac7d52c00b4080d07075cb899be178dcae]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:2/python-pygit2?expand=0&rev=2
2024-11-05 12:44:06 +00:00
Git SCM Staging
2aac036740 [info=196021276a72dada032fdf877abaa053e1818855548022aef73e40a9617bd4ca]
OBS-URL: https://build.opensuse.org/package/show/devel:Factory:git-workflow:staging:mcepl:python-pygit2:2/python-pygit2?expand=0&rev=1
2024-11-05 11:34:35 +00:00
b00627d4f2 [info=5ddd6ee66d4d50758a67277b320de87769a4722ab143b2f24cbb0e0d52f5aada]
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=97
2024-09-24 10:18:34 +00:00
3ccebb27e5 Accepting request 1191651 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=40
2024-08-05 15:24:04 +00:00
1a8eca658b Accepting request 1191647 from home:glaubitz:branches:devel:languages:python
* New `Repository.revert(...)`
  * New optional `depth` argument in submodules `add()` and `update()` methods
  * Now `Submodule.url` returns `None` when the submodule does not have a url
  * Fix use after free bug in error reporting
  * Fix `Submodule.head_id` when the submodule is not in the current HEAD tree
  * Fix `Submodule.open()` when subclassing `Repository`
  * Fix error in the test suite when running with address sanitizer
  * Annotations and documentation fixes
- Fix version number for previous changelog entry

- Update to 1.15.0

OBS-URL: https://build.opensuse.org/request/show/1191647
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=95
2024-08-05 11:55:41 +00:00
beb653974d Accepting request 1181735 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=39
2024-06-20 14:47:12 +00:00
7905637b01 Accepting request 1181724 from home:glaubitz:branches:devel:languages:python
- Update to 1.15.1
  * Many deprecated features have been removed, see below
  * Upgrade to libgit2 v1.8.1
  * New `push_options` optional argument in `Repository.push(...)`
  * New support comparison of `Oid` with text string
  * Fix `CheckoutNotify.IGNORED`
  * Use default error handler when decoding/encoding paths
  * Remove setuptools runtime dependency
  * Coding style with ruff
  * Add wheels for ppc64le
  * Fix tests on EPEL8 builds for s390x
  * Deprecate `IndexEntry.hex`, use `str(IndexEntry.id)`
  * Remove deprecated `oid.hex`, use `str(oid)`
  * Remove deprecated `object.hex`, use `str(object.id)`
  * Remove deprecated `object.oid`, use `object.id`
  * Remove deprecated `Repository.add_submodule(...)`, use `Repository.submodules.add(...)`
  * Remove deprecated `Repository.lookup_submodule(...)`, use `Repository.submodules[...]`
  * Remove deprecated `Repository.init_submodules(...)`, use `Repository.submodules.init(...)`
  * Remove deprecated `Repository.update_submodule(...)`, use `Repository.submodules.update(...)`
  * Remove deprecated constants `GIT_OBJ_XXX`, use `ObjectType`
  * Remove deprecated constants `GIT_REVPARSE_XXX`, use `RevSpecFlag`
  * Remove deprecated constants `GIT_REF_XXX`, use `ReferenceType`
  * Remove deprecated `ReferenceType.OID`, use instead `ReferenceType.DIRECT`
  * Remove deprecated `ReferenceType.LISTALL`, use instead `ReferenceType.ALL`
  * Remove deprecated support for passing dicts to repository\'s `merge(...)`,
    `merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFlag` for `flags`, and
    `MergeFileFlag` for `file_flags`.
  * Remove deprecated support for passing a string for the favor argument to repository\'s
    `merge(...)`, `merge_commits(...)` and `merge_trees(...)`. Instead pass `MergeFavor`.
- Drop patches for issues fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1181724
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=93
2024-06-19 11:29:50 +00:00
5 changed files with 58 additions and 8 deletions

2
.gitignore vendored
View File

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

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>

View File

@@ -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,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