- update to 1.14.0:
* Drop support for Python 3.8
* New `Repository.submodules` namespace
* New `Repository.listall_mergeheads()`,
`Repository.message`,
`Repository.raw_message` and `Repository.remove_message()`
* New `pygit2.enums` supersedes the `GIT_` constants
* Now `Repository.status()`, `Repository.status_file()`,
`Repository.merge_analysis()`, `DiffFile.flags`,
`DiffFile.mode`,
`DiffDelta.flags` and `DiffDelta.status` return enums
* Now repository\'s `merge()`, `merge_commits()` and
`merge_trees()` take enums/flags for their `favor`,
`flags` and `file_flags` arguments.
* Fix crash in filter cleanup
* Documentation fixes
* Remove deprecated `Repository.create_remote(...)` function,
use instead `Repository.remotes.create(...)`
* Deprecate `Repository.add_submodule(...)`, use
`Repository.submodules.add(...)`
* Deprecate `Repository.lookup_submodule(...)`, use
`Repository.submodules[...]`
* Deprecate `Repository.init_submodules(...)`, use
`Repository.submodules.init(...)`
* Deprecate `Repository.update_submodule(...)`, use
`Repository.submodules.update(...)`
* Deprecate `GIT_*` constants, use `pygit2.enums`
* Passign dicts to repository\'s `merge(...)`,
`merge_commits(...)` and `merge_trees(...)` is deprecated.
Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`
OBS-URL: https://build.opensuse.org/request/show/1142846
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=34
* Drop support for Python 3.8
* New `Repository.submodules` namespace
* New `Repository.listall_mergeheads()`,
`Repository.message`,
`Repository.raw_message` and `Repository.remove_message()`
* New `pygit2.enums` supersedes the `GIT_` constants
* Now `Repository.status()`, `Repository.status_file()`,
`Repository.merge_analysis()`, `DiffFile.flags`,
`DiffFile.mode`,
`DiffDelta.flags` and `DiffDelta.status` return enums
* Now repository\'s `merge()`, `merge_commits()` and
`merge_trees()` take enums/flags for their `favor`,
`flags` and `file_flags` arguments.
* Fix crash in filter cleanup
* Documentation fixes
* Remove deprecated `Repository.create_remote(...)` function,
use instead `Repository.remotes.create(...)`
* Deprecate `Repository.add_submodule(...)`, use
`Repository.submodules.add(...)`
* Deprecate `Repository.lookup_submodule(...)`, use
`Repository.submodules[...]`
* Deprecate `Repository.init_submodules(...)`, use
`Repository.submodules.init(...)`
* Deprecate `Repository.update_submodule(...)`, use
`Repository.submodules.update(...)`
* Deprecate `GIT_*` constants, use `pygit2.enums`
* Passign dicts to repository\'s `merge(...)`,
`merge_commits(...)` and `merge_trees(...)` is deprecated.
Instead pass `MergeFavor` for the `favor` argument, `MergeFlag`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=82
- update to 1.13.3:
* New API for filters in Python #1237#1244
* Shallow repositories: New depth optional argument for
clone_repository(...) and Remote.fetch(...) #1245#1246
* New submodule init(...), update(...) and reload(...)
functions #1248
* Release GIL in Walker.__next__ #1249
* Type hints for submodule functions in Repository #1247
* Support Python 3.12
* Documentation updates #1242
* Fix crash in reference rename #1233
* Upgrade to libgit2 v1.7.1
* Don't distribute wheels for pypy, only universal wheels for
macOS
* New Repository.remotes.create_anonymous(url) #1229
* docs: update links to pypi, pygit2.org #1228
* Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
* Add missing newline at end of pygit2/decl/pack.h #1163
* Remove redundant line #1139
* Added mwindow_mapped_limit, cached_memory, enable_caching,
OBS-URL: https://build.opensuse.org/request/show/1137305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=33
* New API for filters in Python #1237#1244
* Shallow repositories: New depth optional argument for
clone_repository(...) and Remote.fetch(...) #1245#1246
* New submodule init(...), update(...) and reload(...)
functions #1248
* Release GIL in Walker.__next__ #1249
* Type hints for submodule functions in Repository #1247
* Support Python 3.12
* Documentation updates #1242
* Fix crash in reference rename #1233
* Upgrade to libgit2 v1.7.1
* Don't distribute wheels for pypy, only universal wheels for
macOS
* New Repository.remotes.create_anonymous(url) #1229
* docs: update links to pypi, pygit2.org #1228
* Prep work for Python 3.12 (not yet supported) #1223
- drop support-libgit2-1.7.patch (upstream)
* Add missing newline at end of pygit2/decl/pack.h #1163
* Remove redundant line #1139
* Added mwindow_mapped_limit, cached_memory, enable_caching,
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=80
- Update to version 1.12.2:
+ Update wheels to bundle libssh2 1.11.0 and OpenSSL 3.0.9.
Remove obsolete Remote.save().
- Changes from version 1.12.1:
+ Fix segfault in signature when encoding is incorrect.
+ Typing improvements.
+ Update wheels to libgit2 v1.6.4.
- Changes from version 1.12.0:
+ Upgrade to libgit2 v1.6.3.
+ Update Linux wheels to bundle OpenSSL 3.0.8.
+ Downgrade Linux wheels to manylinux2014.
+ New ConflictCollection.__contains__.1
+ New Repository.references.iterator(...).
+ New favor, flags and file_flags optional arguments for
Repository.merge(...).
+ New keep_all and paths optional arguments for
Repository.stash(...).
+ New Respository.state().
+ Improve Repository.write_archive(...) performance.
+ Sync type annotations.
- Drop support-libgit2-1.6.patch: fixed upstream.
- Add support-libgit2-1.7.patch: support libgit2 1.7.0.
OBS-URL: https://build.opensuse.org/request/show/1100661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=32
- Update to version 1.11.1 (2022-11-09)
* Fix Linux wheels, downgrade to manylinux 2_24 #1176
* Windows wheels for Python 3.11 #1177
* CI: Use 3.11 final release for testing #1178
* Drop support for Python 3.7
* Update Linux wheels to manylinux 2_28 #1136
* Fix crash in signature representation #1162
* Fix memory leak in Signature #1173
* New optional argument raise_error in Repository.applies(...) #1166
* New notify/progress callbacks for checkout and stash #1167#1169
* New Repository.remotes.names() #1159
* Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
* Add missing newline at end of pygit2/decl/pack.h #1163
OBS-URL: https://build.opensuse.org/request/show/1040007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=30
- Update to version 1.11.1 (2022-11-09)
* Fix Linux wheels, downgrade to manylinux 2_24 #1176
* Windows wheels for Python 3.11 #1177
* CI: Use 3.11 final release for testing #1178
- Update to versino 1.11.0 (2022-11-06)
* Drop support for Python 3.7
* Update Linux wheels to manylinux 2_28 #1136
* Fix crash in signature representation #1162
* Fix memory leak in Signature #1173
* New optional argument raise_error in Repository.applies(...) #1166
* New notify/progress callbacks for checkout and stash #1167#1169
* New Repository.remotes.names() #1159
* Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #1168
* Add missing newline at end of pygit2/decl/pack.h #1163
- Update to version
OBS-URL: https://build.opensuse.org/request/show/1039869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=72
- Type hints: added to C code and Branches/References
- New ``Signature`` supports ``str()`` and ``repr()``
- Fix ODB backend's read in big endian architectures
- Fix install with poetry
- Wheels: update to libgit2 v1.4.2
- Tests: fix testing ``parse_diff``
- CI: various fixes after migration to libgit2 v1.4
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=65
- Update to 1.7.0:
- Upgrade to libgit2 1.3.0
- Add support for Python 3.10
- Drop support for Python 3.6
- New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES`
- New optional argument ``location`` in
``Repository.applies(..)`` and ``Repository.apply(..)``
- Fix: Now the `flags` argument in `Repository.blame()` is
passed through
- CI: Stop using Travis, move to GitHub actions
- Fix a number of reference leaks
- Review custom object backends
- In custom backends the callbacks have been renamed from ``read`` to
``read_cb``, ``write`` to ``write_cb``, and so on.
- New optional ``proxy`` argument in ``Remote`` methods
- New GIT_MERGE_PREFERENCE constants
- Don't require cached-property with Python 3.8 or later
- Refactored build and CI, new ``build.sh`` script
- Remove deprecated ``GIT_CREDTYPE_XXX`` contants, use
``GIT_CREDENTIAL_XXX`` instead.
- Remove deprecated ``Patch.patch`` getter, use ``Patch.text``
instead.
- New ``PackBuilder`` class and ``Repository.pack(...)``
- New ``Config.delete_multivar(...)``
- New ``Repository.is_shallow``
- New optional ``message`` argument in
``Repository.create_reference(...)``
- Fix truncated diff when there are nulls
- Fix ``Index.add(...)`` raise ``TypeError`` instead of
``AttributeError`` when arguments are of unexpected type
- Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant
- Drop support for PyPy3 7.2
- New optional ``flags`` argument in ``Repository.__init__(...)``,
new ``GIT_REPOSITORY_OPEN_*`` constants
- Remove upstreamed libgit2_1.patch.
OBS-URL: https://build.opensuse.org/request/show/926494
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=63
- Add libgit2_1.patch for compatibility with libgit 1.1.0
- Update to v1.3.0
* New Repository.applies, Repository.revparse, Repository.revparse_ext,
Repository.add_submodule, Repository.raw_listall_branches, and
Repository.raw_listall_references
* New optional flags and file_flags arguments in
Repository.merge_commits and Repository.merge_trees
* New Reference.raw_target
* Allow bytes in Repository.lookup_branch and Repository.diff
* New GIT_BLAME_FIRST_PARENT and GIT_BLAME_USE_MAILMAP constants
* New IndexEntry supports repr(), str(), == and !=
* New Object supports repr()
* New accept tuples of strings (not only lists) in a number of places
* Fix compatibility with old macOS 10.9
* Fix check argument type in Repository.apply(...)
* Fix raise exception if error in Repository.listall_submodules()
* Fix a couple of refcount errors in OdbBackend.refresh() and
Worktree_is_prunable
OBS-URL: https://build.opensuse.org/request/show/845686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=24
- Drop the pygit2-0.28-Remove-pycparser-constraint.patch and replace
it with shorter sed
- Switch to pytest testing:
* Fails now but that is pycparser bug https://github.com/eliben/pycparser/issues/305
- Disable tests temporarily as per above
- Update to 0.28.0
* Update to libgit2 v0.28
* New ``pygit2.Mailmap``
* New ``Repository.apply(...)`` wraps ``git_apply(..)``
* Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter
* Now ``Repository.add_worktree(...)`` accepts an optional reference parameter
* Now it's possible to set SSL certificate locations
* Test and documentation improvements
* Now ``worktree.path`` returns the path to the worktree directory
* Remove undocumented ``worktree.git_path``
- Remove unneeded patch to fix issues on i586:
* pygit2-i586.patch
- Add patch to remove unneeded constraint on pycparser
* pygit2-0.28-Remove-pycparser-constraint.patch
OBS-URL: https://build.opensuse.org/request/show/688613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygit2?expand=0&rev=18
- Update to 0.28.0
* Update to libgit2 v0.28
* New ``pygit2.Mailmap``
* New ``Repository.apply(...)`` wraps ``git_apply(..)``
* Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter
* Now ``Repository.add_worktree(...)`` accepts an optional reference parameter
* Now it's possible to set SSL certificate locations
* Test and documentation improvements
* Now ``worktree.path`` returns the path to the worktree directory
* Remove undocumented ``worktree.git_path``
- Remove unneeded patch to fix issues on i586:
* pygit2-i586.patch
- Add patch to remove unneeded constraint on pycparser
* pygit2-0.28-Remove-pycparser-constraint.patch
OBS-URL: https://build.opensuse.org/request/show/687891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=44