Up to [cvs.NetBSD.org] / pkgsrc / devel / py-pygit2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-pygit2: fix PLIST for setuptools 84.2 and depend on it Bump PKGREVISION.
*: recursive bump for pcre2 10.49
*: revbump for pcre2 symbol versioning change
py-pygit2: updated to 1.20.1 1.20.1 (2026-09-12) - Update wheels to libgit2 1.9.7 - New exception hierarchy: `AlreadyExistsError`, `InvalidSpecError`, `InvalidError`, `NotFoundError`, `AmbiguousError`, `AuthError`, and `CertificateError` all inherit from `GitError` and the appropriate Python built-in exception (`ValueError`/`KeyError`) for backward compatibility - Fix `DiffDelta.is_binary` and `DiffDelta.flags` returning stale values for deltas obtained from `Diff.deltas`; flags are now loaded lazily - Fix `repo.submodules.get()` and `name in repo.submodules` raising `AlreadyExistsError` when a repository exists at the submodule path but was never registered as a submodule; they now return `None` and `False` respectively as documented - Fix `BlobIO` cleanup deadlock on partial reads - Fix leaks and crashes in error paths - Fix custom ODB and refdb backend callbacks overwriting a pending Python exception (e.g. `RuntimeError`) with a stale libgit2 error message. - Documentation fixes - CI (macOS): build architecture-specific OpenSSL/libssh2/libgit2 dependencies instead of universal binaries, producing smaller wheels.
*: recursive bump for pcre2 10.48
py-pygit2: updated to 1.20.0 1.20.0 (2026-08-08) - New `RemoteCallbacks.custom_headers()` - New rebase API: `Repository.rebase_init(...)`, `Repository.rebase_open(...)`, `Rebase`, and `RebaseOperation` - Fix `Config.snapshot()` for non-repository configs, allow `PathLike` in `Config.__init__()`, and improve config documentation - Fix `UnicodeDecodeError` with non-UTF-8 file paths in `Repository.status()`, `DiffFile.path`, index paths, checkout callbacks, and related APIs - Fix `enums.CheckoutStrategy.CONFLICT_STYLE_ZDIFF3`, which was mistakenly bound to the `DIFF3` constant - Fix crashes and reference-lifetime bugs in custom refdb backends - Update wheels to libgit2 1.9.6 and OpenSSL 3.5.7 - Add riscv64 wheels
py-pygit2: updated to 1.19.3 1.19.3 - Memory fixes - Fix `Repository.ident` - Build/CI fixes and updates - Documentation and annotation fixes - Add `AGENTS.md` file generated by Kimi-k2.6
py-pygit2: updated to 1.19.2 1.19.2 (2026-03-29) - Fix refcount and error handling issues in `filter_register(...)` - Fix config with valueless keys - New `Repository.load_filter_list(...)` and `FilterList` - New `Odb.read_header(...)` and now `Odb.read(...)` returns `enums.ObjectType` instead of int - Build and CI fixes
py-pygit2: updated to 1.19.1 1.19.1 (2025-12-29) - Update wheels to libgit2 1.9.2 and OpenSSL 3.5 - Fix: now diff's getitem/iter returns `None` for unchanged or binary files - CI (macOS): arm, intel and pypy wheels (instead of universal) - CI (pypy): fix tests
py-pygit2: updated to 1.19.0 1.19.0 (2025-10-23) - Add support for Python 3.14 and drop 3.10 - Support threaded builds (experimental) - Add Linux musl wheels for AArch64 - Add Windows wheels for AArch64; CI: build Windows wheels with cibuildwheel on GitHub - New `Repository.transaction()` context manager, returns new `ReferenceTransaction` - CI: add GitHub releases and other improvements - Documentation improvements and other changes Breaking changes: - Remove deprecated `IndexEntry.hex`, use `str(entry.id)` instead of `entry.hex` Deprecations: - Deprecate `IndexEntry.oid`, use `entry.id` instead of `entry.oid`
*: recursive bump for pcre2 Running an old binary against the new pcre doesn't work: /usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
*: remove more references to (removed) Python 3.9
py-pygit2: updated 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(...)`:
# Before
for head in remote.ls_remotes():
head['name']
head['oid']
head['loid'] # None when local is False
head['local']
head['symref_target']
# Now
for head in remote.list_heads():
head.name
head.oid
head.loid # The zero oid when local is False
head.local
head.symref_target
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:
- Update your code:
# Before
contents = Repository.merge_file_from_index(...)
# Now
result = Repository.merge_file_from_index(..., use_deprecated=False)
contents = result.contents
At some point in the future `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(...)`
py-pygit2: adapt for setuptools 78 Bump PKGREVISION.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-pygit2: updated to 1.16.0 1.16.0 (2024-10-11) - 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
*: clean-up after python38 removal
py-pygit2: updated to 1.15.1 1.15.1 (2024-07-07) - 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
py-pygit2: update to 1.15.0. # 1.15.0 (2024-05-18) - Many deprecated features have been removed, see below - Upgrade to libgit2 v1.8.1 - New `push_options` optional argument in `Repository.push(...)` [#1282](https://github.com/libgit2/pygit2/pull/1282) - New support comparison of `Oid` with text string - Fix `CheckoutNotify.IGNORED` [#1288](https://github.com/libgit2/pygit2/issues/1288) - Use default error handler when decoding/encoding paths [#537](https://github.com/libgit2/pygit2/issues/537) - Remove setuptools runtime dependency [#1281](https://github.com/libgit2/pygit2/pull/1281) - Coding style with ruff [#1280](https://github.com/libgit2/pygit2/pull/1280) - Add wheels for ppc64le [#1279](https://github.com/libgit2/pygit2/pull/1279) - Fix tests on EPEL8 builds for s390x [#1283](https://github.com/libgit2/pygit2/pull/1283) Deprecations: - Deprecate `IndexEntry.hex`, use `str(IndexEntry.id)` Breaking changes: - 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`.
py-pygit2: mark as broken Needs a release that's compatible with libgit2 1.8
py-pygit2: updated to 1.14.1 1.14.1 (2024-02-10) - Update wheels to libgit2 v1.7.2 - Now `Object.filemode` returns `enums.FileMode` and `Reference.type` returns `enums.ReferenceType` - Fix tests on Fedora 40
py-pygit2: updated to 1.14.0 1.14.0 (2024-01-26) - Drop support for Python 3.8 - Add Linux wheels for musl on x86_64 - 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
py-pygit2: updated to 1.13.3 1.13.3 (2023-11-21) - New API for filters in Python - Shallow repositories: New ``depth`` optional argument for ``clone_repository(...)`` and ``Remote.fetch(...)`` - New submodule ``init(...)``, ``update(...)`` and ``reload(...)`` functions - Release GIL in ``Walker.__next__`` - Type hints for submodule functions in ``Repository``
py-pygit2: update to 1.13.2. 1.13.2 (2023-10-30) ------------------------- - Support Python 3.12 - Documentation updates `#1242 <https://github.com/libgit2/pygit2/pull/1242>`_ 1.13.1 (2023-09-24) ------------------------- - Fix crash in reference rename `#1233 <https://github.com/libgit2/pygit2/issues/1233>`_ 1.13.0 (2023-09-07) ------------------------- - Upgrade to libgit2 v1.7.1 - Don't distribute wheels for pypy, only universal wheels for macOS - New ``Repository.remotes.create_anonymous(url)`` `#1229 <https://github.com/libgit2/pygit2/pull/1229>`_ - docs: update links to pypi, pygit2.org `#1228 <https://github.com/libgit2/pygit2/pull/1228>`_ - Prep work for Python 3.12 (not yet supported) `#1223 <https://github.com/libgit2/pygit2/pull/1223>`_
*: Use FORCE_C_STD=c99 for C packages that use for loop initial declarations without setting -std=c99.
py-pygit2: Assumes compiler defaults to c99
py-pygit2: updated to 1.12.2 1.12.2 (2023-06-25) - Update wheels to bundle libssh2 1.11.0 and OpenSSL 3.0.9 - Remove obsolete ``Remote.save()``
py-pygit2: updated to 1.12.1 1.12.1 (2023-05-07) - Fix segfault in signature when encoding is incorrect - Typing improvements - Update wheels to libgit2 v1.6.4
py-pygit2: updated to 1.12.0 1.12.0 (2023-04-01) - Upgrade to libgit2 v1.6.3 - Update Linux wheels to bundle OpenSSL 3.0.8 - Downgrade Linux wheels to manylinux2014 - New ``ConflictCollection.__contains__`` - 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
py-pygit2: updated to 1.11.1 1.11.1 (2022-11-09) ------------------- - Fix Linux wheels, downgrade to manylinux 2_24 - Windows wheels for Python 3.11 - CI: Use 3.11 final release for testing 1.11.0 (2022-11-06) ------------------- - Drop support for Python 3.7 - Update Linux wheels to manylinux 2_28 - Fix crash in signature representation - Fix memory leak in ``Signature`` - New optional argument ``raise_error`` in ``Repository.applies(...)`` - New notify/progress callbacks for checkout and stash - New ``Repository.remotes.names()`` - Now ``refname`` argument in ``RemoteCallbacks.push_update_reference(...)`` is a string, not bytes - Add missing newline at end of ``pygit2/decl/pack.h``
py-pygit2: update to 1.10.1. 1.10.1 (2022-08-28) ------------------------- - Fix segfault in ``Signature`` repr `#1155 <https://github.com/libgit2/pygit2/pull/1155>`_ - Linux and macOS wheels for Python 3.11 `#1154 <https://github.com/libgit2/pygit2/pull/1154>`_ 1.10.0 (2022-07-24) ------------------------- - Upgrade to libgit2 1.5 - Add support for ``GIT_OPT_GET_OWNER_VALIDATION`` and ``GIT_OPT_SET_OWNER_VALIDATION`` `#1150 <https://github.com/libgit2/pygit2/pull/1150>`_ - New ``untracked_files`` and ``ignored`` optional arguments for ``Repository.status(...)`` `#1151 <https://github.com/libgit2/pygit2/pull/1151>`_ 1.9.2 (2022-05-24) ------------------------- - New ``Repository.create_commit_string(...)`` and ``Repository.create_commit_with_signature(...)`` `#1142 <https://github.com/libgit2/pygit2/pull/1142>`_ - Linux and macOS wheels updated to libgit2 v1.4.3 - Remove redundant line `#1139 <https://github.com/libgit2/pygit2/pull/1139>`_ 1.9.1 (2022-03-22) ------------------------- - Type hints: added to C code and Branches/References `#1121 <https://github.com/libgit2/pygit2/pull/1121>`_ `#1132 <https://github.com/libgit2/pygit2/pull/1132>`_ - New ``Signature`` supports ``str()`` and ``repr()`` `#1135 <https://github.com/libgit2/pygit2/pull/1135>`_ - Fix ODB backend's read in big endian architectures `#1130 <https://github.com/libgit2/pygit2/pull/1130>`_ - Fix install with poetry `#1129 <https://github.com/libgit2/pygit2/pull/1129>`_ `#1128 <https://github.com/libgit2/pygit2/issues/1128>`_ - Wheels: update to libgit2 v1.4.2 - Tests: fix testing ``parse_diff`` `#1131 <https://github.com/libgit2/pygit2/pull/1131>`_ - CI: various fixes after migration to libgit2 v1.4 1.9.0 (2022-02-22) ------------------------- - Upgrade to libgit2 v1.4 - Documentation, new recipes for committing and cloning `#1125 <https://github.com/libgit2/pygit2/pull/1125>`_ 1.8.0 (2022-02-04) ------------------------- - Rename ``RemoteCallbacks.progress(...)`` callback to ``.sideband_progress(...)`` `#1120 <https://github.com/libgit2/pygit2/pull/1120>`_ - New ``Repository.merge_base_many(...)`` and ``Repository.merge_base_octopus(...)`` `#1112 <https://github.com/libgit2/pygit2/pull/1112>`_ - New ``Repository.listall_stashes()`` `#1117 <https://github.com/libgit2/pygit2/pull/1117>`_ - Code cleanup `#1118 <https://github.com/libgit2/pygit2/pull/1118>`_ Backward incompatible changes: - The ``RemoteCallbacks.progress(...)`` callback has been renamed to ``RemoteCallbacks.sideband_progress(...)``. This matches the documentation, but may break existing code that still uses the old name. 1.7.2 (2021-12-06) ------------------------- - Universal wheels for macOS `#1109 <https://github.com/libgit2/pygit2/pull/1109>`_ 1.7.1 (2021-11-19) ------------------------- - New ``Repository.amend_commit(...)`` `#1098 <https://github.com/libgit2/pygit2/pull/1098>`_ - New ``Commit.message_trailers`` `#1101 <https://github.com/libgit2/pygit2/pull/1101>`_ - Windows wheels for Python 3.10 `#1103 <https://github.com/libgit2/pygit2/pull/1103>`_ - Changed: now ``DiffDelta.is_binary`` returns ``None`` if the file data has not yet been loaded, cf. `#962 <https://github.com/libgit2/pygit2/issues/962>`_ - Document ``Repository.get_attr(...)`` and update theme `#1017 <https://github.com/libgit2/pygit2/issues/1017>`_ `#1105 <https://github.com/libgit2/pygit2/pull/1105>`_ 1.7.0 (2021-10-08) ------------------------- - Upgrade to libgit2 1.3.0 `#1089 <https://github.com/libgit2/pygit2/pull/1089>`_ - Linux wheels now bundled with libssh2 1.10.0 (instead of 1.9.0) - macOS wheels now include libssh2 - Add support for Python 3.10 `#1092 <https://github.com/libgit2/pygit2/pull/1092>`_ `#1093 <https://github.com/libgit2/pygit2/pull/1093>`_ - Drop support for Python 3.6 - New `pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES` `#1087 <https://github.com/libgit2/pygit2/pull/1087>`_ - New optional argument ``location`` in ``Repository.applies(..)`` and ``Repository.apply(..)`` `#1091 <https://github.com/libgit2/pygit2/pull/1091>`_ - Fix: Now the `flags` argument in `Repository.blame()` is passed through `#1083 <https://github.com/libgit2/pygit2/pull/1083>`_ - CI: Stop using Travis, move to GitHub actions Caveats: - Windows wheels for Python 3.10 not yet available.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Forget about Python 3.6
py-pygit2: not for python 3.6 Move restriction higher so it works
py-pygit2: updated to 1.6.1 1.6.1 - Fix a number of reference leaks - Review custom object backends Breaking changes: - In custom backends the callbacks have been renamed from ``read`` to ``read_cb``, ``write`` to ``write_cb``, and so on. 1.6.0 - New optional ``proxy`` argument in ``Remote`` methods - New GIT_MERGE_PREFERENCE constants - Don't require cached-property with Python 3.8 or later - Add wheels for aarch64 - Documentation fixes - Refactored build and CI, new ``build.sh`` script
py-pygit2: updated to 1.5.0 1.5.0: - 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 - Unit tests & Continuous integration Breaking changes: - Fix ``Index.add(...)`` raise ``TypeError`` instead of ``AttributeError`` when arguments are of unexpected type
py-pygit2: updated to 1.4.0 1.4.0 - Upgrade to libgit2 1.1, new ``GIT_BLAME_IGNORE_WHITESPACE`` constant - Add wheels for Python 3.9 - Drop support for PyPy3 7.2 - New optional ``flags`` argument in ``Repository.__init__(...)``, new ``GIT_REPOSITORY_OPEN_*`` constants - Documentation
py-pygit2: Update to 1.3.0. Includes a build fix for the updated libgit2 1.1.x, figured it may as well be updated at the same time. 1.3.0 (2020-09-18) ------------------------- - New ``Repository.add_submodule(...)`` `#1011 <https://github.com/libgit2/pygit2/pull/1011>`_ - New ``Repository.applies(...)`` `#1019 <https://github.com/libgit2/pygit2/pull/1019>`_ - New ``Repository.revparse(...)`` and ``Repository.revparse_ext(...)`` `#1022 <https://github.com/libgit2/pygit2/pull/1022>`_ - New optional ``flags`` and ``file_flags`` arguments in ``Repository.merge_commits`` and ``Repository.merge_trees`` `#1008 <https://github.com/libgit2/pygit2/pull/1008>`_ - New ``Reference.raw_target``, ``Repository.raw_listall_branches(...)`` and ``Repository.raw_listall_references()``; allow bytes in ``Repository.lookup_branch(...)`` and ``Repository.diff(...)`` `#1029 <https://github.com/libgit2/pygit2/pull/1029>`_ - New ``GIT_BLAME_FIRST_PARENT`` and ``GIT_BLAME_USE_MAILMAP`` constants `#1031 <https://github.com/libgit2/pygit2/pull/1031>`_ - New ``IndexEntry`` supports ``repr()``, ``str()``, ``==`` and ``!=`` `#1009 <https://github.com/libgit2/pygit2/pull/1009>`_ - New ``Object`` supports ``repr()`` `#1022 <https://github.com/libgit2/pygit2/pull/1022>`_ - New accept tuples of strings (not only lists) in a number of places `#1025 <https://github.com/libgit2/pygit2/pull/1025>`_ - Fix compatibility with old macOS 10.9 `#1026 <https://github.com/libgit2/pygit2/issues/1026>`_ `#1027 <https://github.com/libgit2/pygit2/pull/1027>`_ - Fix check argument type in ``Repository.apply(...)`` `#1033 <https://github.com/libgit2/pygit2/issues/1033>`_ - Fix raise exception if error in ``Repository.listall_submodules()`` commit 32133974 - Fix a couple of refcount errors in ``OdbBackend.refresh()`` and ``Worktree_is_prunable`` commit fed0c19c - Unit tests `#800 <https://github.com/libgit2/pygit2/issues/800>`_ `#1015 <https://github.com/libgit2/pygit2/pull/1015>`_ - Documentation `#705 <https://github.com/libgit2/pygit2/pull/705>`_
py-pygit2: updated to 1.2.1 1.2.1: - Fix segfault in ``Object.raw_name`` when not reached through a tree - Internal: Use @ffi.def_extern instead of @ffi.callback - Internal: callbacks code refactored - Test suite completely switched to pytest - New unit tests - Documentation changes Deprecations: - Deprecate ``Repository.create_remote(...)``, use instead ``Repository.remotes.create(...)`` - Deprecate ``GIT_CREDTYPE_XXX`` contants, use ``GIT_CREDENTIAL_XXX`` instead.
py-pygit2: updated to 1.2.0 1.2.0: - Drop support for Python 3.5 - Upgrade to libgit2 1.0 - New support for custom reference database backends - New support for path objects - New ``index`` optional parameter in ``Repository.checkout_index`` - New MacOS wheels - Fix re-raise exception from credentials callback in clone_repository - Fix warning with ``pip install pygit2`` - Tests: disable global Git config
*: bump PKGREVISION for libgit2 shlib bump
py-pygit2: update to 1.1.1nb1. Add missing dependency on py-cached-property.
py-pygit2: update to 1.1.1. 1.1.1 (2020-03-06) ------------------------- - Fix crash in tree iteration `#984 <https://github.com/libgit2/pygit2/pull/984>`_ `#980 <https://github.com/libgit2/pygit2/issues/980>`_ - Do not include the docs in dist files, so they're much smaller now
py-pygit2: Update to 1.1.0
1.1.0 (2020-03-01)
-------------------------
- Upgrade to libgit2 0.99
`#959 <https://github.com/libgit2/pygit2/pull/959>`_
- Continued work on custom odb backends
`#948 <https://github.com/libgit2/pygit2/pull/948>`_
- New ``Diff.patchid`` getter
`#960 <https://github.com/libgit2/pygit2/pull/960>`_
`#877 <https://github.com/libgit2/pygit2/issues/877>`_
- New ``settings.disable_pack_keep_file_checks(...)``
`#908 <https://github.com/libgit2/pygit2/pull/908>`_
- New ``GIT_DIFF_`` and ``GIT_DELTA_`` constants
`#738 <https://github.com/libgit2/pygit2/issues/738>`_
- Fix crash in iteration of config entries
`#970 <https://github.com/libgit2/pygit2/issues/970>`_
- Travis: fix printing features when building Linux wheels
`#977 <https://github.com/libgit2/pygit2/pull/977>`_
- Move ``_pygit2`` to ``pygit2._pygit2``
`#978 <https://github.com/libgit2/pygit2/pull/978>`_
Requirements changes:
- Now libgit2 0.99 is required
- New requirement: cached-property
Breaking changes:
- In the rare case you're directly importing the low level ``_pygit2``, the
import has changed::
# Before
import _pygit2
# Now
from pygit2 import _pygit2
Recursive revbump for libgit2-0.99.0
py-pygit2: updated to 1.0.3 1.0.3: - Fix memory leak in DiffFile
py-pygit2: updated to 1.0.2 1.0.2: Fix enumerating tree entries with submodules 1.0.1: Fix build in Mac OS 1.0.0: Drop Python 2.7 and 3.4 support, six no longer required Add Python 3.8 support New support for / operator to traverse trees New Branch.raw_branch_name New Index.remove_all() New Remote.ls_remotes(..) New Repository.lookup_reference_dwim(..) and Repository.resolve_refish(..) New Repository.odb returns new Odb type instance. And new OdbBackend type. New Repository.references.compress() Optimization: Load notes lazily Fix spurious exception in config Minor documentation and cosmetic changes
py-pygit2: update to 0.28.2. 0.28.2 (2019-05-26) ------------------------- - Fix crash in reflog iteration `#901 <https://github.com/libgit2/pygit2/issues/901>`_ - Support symbolic references in ``branches.with_commit(..)`` `#910 <https://github.com/libgit2/pygit2/issues/910>`_ - Documentation updates `#909 <https://github.com/libgit2/pygit2/pull/909>`_ - Test updates `#911 <https://github.com/libgit2/pygit2/pull/911>`_
py-pygit2: update to 0.28.1. 0.28.1 (2019-04-19) ------------------------- - Now works with pycparser 2.18 and above `#846 <https://github.com/libgit2/pygit2/issues/846>`_ - Now ``Repository.write_archive(..)`` keeps the file mode `#616 <https://github.com/libgit2/pygit2/issues/616>`_ `#898 <https://github.com/libgit2/pygit2/pull/898>`_ - New ``Patch.data`` returns the raw contents of the patch as a byte string `#790 <https://github.com/libgit2/pygit2/pull/790>`_ `#893 <https://github.com/libgit2/pygit2/pull/893>`_ - New ``Patch.text`` returns the contents of the patch as a text string, deprecates `Patch.patch` `#790 <https://github.com/libgit2/pygit2/pull/790>`_ `#893 <https://github.com/libgit2/pygit2/pull/893>`_ Deprecations: - ``Patch.patch`` is deprecated, use ``Patch.text`` instead
py-pygit2: update to 0.28.0. Add test target. 0.28.0 (2019-03-19) ------------------------- - Upgrade to libgit2 0.28 `#878 <https://github.com/libgit2/pygit2/issues/878>`_ - Add binary wheels for Linux `#793 <https://github.com/libgit2/pygit2/issues/793>`_ `#869 <https://github.com/libgit2/pygit2/pull/869>`_ `#874 <https://github.com/libgit2/pygit2/pull/874>`_ `#875 <https://github.com/libgit2/pygit2/pull/875>`_ `#883 <https://github.com/libgit2/pygit2/pull/883>`_ - New ``pygit2.Mailmap``, see documentation `#804 <https://github.com/libgit2/pygit2/pull/804>`_ - New ``Repository.apply(...)`` wraps ``git_apply(..)`` `#841 <https://github.com/libgit2/pygit2/issues/841>`_ `#843 <https://github.com/libgit2/pygit2/pull/843>`_ - Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter `#888 <https://github.com/libgit2/pygit2/pull/888>`_ `#891 <https://github.com/libgit2/pygit2/pull/891>`_ - Now ``Repository.add_worktree(...)`` accepts an optional reference parameter `#814 <https://github.com/libgit2/pygit2/issues/814>`_ `#889 <https://github.com/libgit2/pygit2/pull/889>`_ - Now it's possible to set SSL certificate locations `#876 <https://github.com/libgit2/pygit2/issues/876>`_ `#879 <https://github.com/libgit2/pygit2/pull/879>`_ `#884 <https://github.com/libgit2/pygit2/pull/884>`_ `#886 <https://github.com/libgit2/pygit2/pull/886>`_ - Test and documentation improvements `#873 <https://github.com/libgit2/pygit2/pull/873>`_ `#887 <https://github.com/libgit2/pygit2/pull/887>`_ Breaking changes: - Now ``worktree.path`` returns the path to the worktree directory, not to the `.git` file within `#803 <https://github.com/libgit2/pygit2/issues/803>`_ - Remove undocumented ``worktree.git_path`` `#803 <https://github.com/libgit2/pygit2/issues/803>`_ 0.27.4 (2019-01-19) ------------------------- - New ``pygit2.LIBGIT2_VER`` tuple `#845 <https://github.com/libgit2/pygit2/issues/845>`_ `#848 <https://github.com/libgit2/pygit2/pull/848>`_ - New objects now support (in)equality comparison and hash `#852 <https://github.com/libgit2/pygit2/issues/852>`_ `#853 <https://github.com/libgit2/pygit2/pull/853>`_ - New references now support (in)equality comparison `#860 <https://github.com/libgit2/pygit2/issues/860>`_ `#862 <https://github.com/libgit2/pygit2/pull/862>`_ - New ``paths`` optional argument in ``Repository.checkout()`` `#858 <https://github.com/libgit2/pygit2/issues/858>`_ `#859 <https://github.com/libgit2/pygit2/pull/859>`_ - Fix speed and windows package regression `#849 <https://github.com/libgit2/pygit2/issues/849>`_ `#857 <https://github.com/libgit2/pygit2/issues/857>`_ `#851 <https://github.com/libgit2/pygit2/pull/851>`_ - Fix deprecation warning `#850 <https://github.com/libgit2/pygit2/pull/850>`_ - Documentation fixes `#855 <https://github.com/libgit2/pygit2/pull/855>`_ - Add Python classifiers to setup.py `#861 <https://github.com/libgit2/pygit2/pull/861>`_ - Speeding up tests in Travis `#854 <https://github.com/libgit2/pygit2/pull/854>`_ Breaking changes: - Remove deprecated `Reference.get_object()`, use `Reference.peel()` instead 0.27.3 (2018-12-15) ------------------------- - Move to pytest, drop support for Python 3.3 and cffi 0.x `#824 <https://github.com/libgit2/pygit2/issues/824>`_ `#826 <https://github.com/libgit2/pygit2/pull/826>`_ `#833 <https://github.com/libgit2/pygit2/pull/833>`_ `#834 <https://github.com/libgit2/pygit2/pull/834>`_ - New support comparing signatures for (in)equality - New ``Submodule.head_id`` `#817 <https://github.com/libgit2/pygit2/pull/817>`_ - New ``Remote.prune(...)`` `#825 <https://github.com/libgit2/pygit2/pull/825>`_ - New ``pygit2.reference_is_valid_name(...)`` `#827 <https://github.com/libgit2/pygit2/pull/827>`_ - New ``AlreadyExistsError`` and ``InvalidSpecError`` `#828 <https://github.com/libgit2/pygit2/issues/828>`_ `#829 <https://github.com/libgit2/pygit2/pull/829>`_ - New ``Reference.raw_name``, ``Reference.raw_shorthand``, ``Tag.raw_name``, ``Tag.raw_message`` and ``DiffFile.raw_path`` `#840 <https://github.com/libgit2/pygit2/pull/840>`_ - Fix decode error in commit messages and signatures `#839 <https://github.com/libgit2/pygit2/issues/839>`_ - Fix, raise error in ``Repository.descendant_of(...)`` if commit doesn't exist `#822 <https://github.com/libgit2/pygit2/issues/822>`_ `#842 <https://github.com/libgit2/pygit2/pull/842>`_ - Documentation fixes `#821 <https://github.com/libgit2/pygit2/pull/821>`_ Breaking changes: - Remove undocumented ``Tag._message``, replaced by ``Tag.raw_message``
*: recursive bump for libgit2 0.28
py-pygit2: update to 0.27.2. 0.27.2 (2018-09-16) ------------------------- - Add support for Python 3.7 `#809 <https://github.com/libgit2/pygit2/issues/809>`_ - New ``Object.short_id`` `#799 <https://github.com/libgit2/pygit2/issues/799>`_ `#806 <https://github.com/libgit2/pygit2/pull/806>`_ `#807 <https://github.com/libgit2/pygit2/pull/807>`_ - New ``Repository.descendant_of`` and ``Repository.branches.with_commit`` `#815 <https://github.com/libgit2/pygit2/issues/815>`_ `#816 <https://github.com/libgit2/pygit2/pull/816>`_ - Fix repository initialization in ``clone_repository(...)`` `#818 <https://github.com/libgit2/pygit2/issues/818>`_ - Fix several warnings and errors, commits `cd896ddc <https://github.com/libgit2/pygit2/commit/cd896ddc>`_ and `dfa536a3 <https://github.com/libgit2/pygit2/commit/dfa536a3>`_ - Documentation fixes and improvements `#805 <https://github.com/libgit2/pygit2/pull/805>`_ `#808 <https://github.com/libgit2/pygit2/pull/808>`_ 0.27.1 (2018-06-02) ------------------------- Breaking changes: - Now ``discover_repository`` returns ``None`` if repository not found, instead of raising ``KeyError`` `#531 <https://github.com/libgit2/pygit2/issues/531>`_ Other changes: - New ``DiffLine.raw_content`` `#610 <https://github.com/libgit2/pygit2/issues/610>`_ - Fix tests failing in some cases `#795 <https://github.com/libgit2/pygit2/issues/795>`_ - Automatize wheels upload to pypi `#563 <https://github.com/libgit2/pygit2/issues/563>`_
py-pygit2: update to 0.27.1. 0.27.1 (2018-06-02) ------------------------- Breaking changes: - Now ``discover_repository`` returns ``None`` if repository not found, instead of raising ``KeyError`` `#531 <https://github.com/libgit2/pygit2/issues/531>`_ Other changes: - New ``DiffLine.raw_content`` `#610 <https://github.com/libgit2/pygit2/issues/610>`_ - Fix tests failing in some cases `#795 <https://github.com/libgit2/pygit2/issues/795>`_ - Automatize wheels upload to pypi `#563 <https://github.com/libgit2/pygit2/issues/563>`_
py-pygit2: update to 0.27.0. 0.27.0 (2018-03-30) ------------------------- - Update to libgit2 v0.27 `#783 <https://github.com/libgit2/pygit2/pull/783>`_ - Fix for GCC 4 `#786 <https://github.com/libgit2/pygit2/pull/786>`_
Import pygit2 0.26.3 as devel/py-pygit2 (from wip/py-pygit2). pygit2 is a set of Python bindings to the libgit2 linkable C Git library.