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
* 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
- 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