Skip to content

chore(deps): update dependency pygit2 to v1.12.1 - autoclosed

Kubitus Bot requested to merge renovate/pygit2-1.x into main

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
pygit2 (changelog) <1.1.0 -> <1.12.2 age adoption passing confidence
pygit2 (changelog) ==1.10.1 -> ==1.12.1 age adoption passing confidence

Release Notes

libgit2/pygit2

v1.12.1

Compare Source

  • Fix segfault in signature when encoding is incorrect #&#8203;1210 <https://github.com/libgit2/pygit2/pull/1210>_

  • Typing improvements #&#8203;1212 <https://github.com/libgit2/pygit2/pull/1212>_ #&#8203;1214 <https://github.com/libgit2/pygit2/pull/1214>_

  • Update wheels to libgit2 v1.6.4

v1.12.0

Compare Source

  • Upgrade to libgit2 v1.6.3

  • Update Linux wheels to bundle OpenSSL 3.0.8

  • Downgrade Linux wheels to manylinux2014

  • New ConflictCollection.__contains__ #&#8203;1181 <https://github.com/libgit2/pygit2/pull/1181>_

  • New Repository.references.iterator(...) #&#8203;1191 <https://github.com/libgit2/pygit2/pull/1191>_

  • New favor, flags and file_flags optional arguments for Repository.merge(...) #&#8203;1192 <https://github.com/libgit2/pygit2/pull/1192>_

  • New keep_all and paths optional arguments for Repository.stash(...) #&#8203;1202 <https://github.com/libgit2/pygit2/pull/1202>_

  • New Respository.state() #&#8203;1204 <https://github.com/libgit2/pygit2/pull/1204>_

  • Improve Repository.write_archive(...) performance #&#8203;1183 <https://github.com/libgit2/pygit2/pull/1183>_

  • Sync type annotations #&#8203;1203 <https://github.com/libgit2/pygit2/pull/1203>_

v1.11.1

Compare Source

  • Fix Linux wheels, downgrade to manylinux 2_24 #&#8203;1176 <https://github.com/libgit2/pygit2/issues/1176>_

  • Windows wheels for Python 3.11 #&#8203;1177 <https://github.com/libgit2/pygit2/pull/1177>_

  • CI: Use 3.11 final release for testing #&#8203;1178 <https://github.com/libgit2/pygit2/pull/1178>_

v1.11.0

Compare Source

  • Drop support for Python 3.7

  • Update Linux wheels to manylinux 2_28 #&#8203;1136 <https://github.com/libgit2/pygit2/issues/1136>_

  • Fix crash in signature representation #&#8203;1162 <https://github.com/libgit2/pygit2/pull/1162>_

  • Fix memory leak in Signature #&#8203;1173 <https://github.com/libgit2/pygit2/pull/1173>_

  • New optional argument raise_error in Repository.applies(...) #&#8203;1166 <https://github.com/libgit2/pygit2/pull/1166>_

  • New notify/progress callbacks for checkout and stash #&#8203;1167 <https://github.com/libgit2/pygit2/pull/1167>_ #&#8203;1169 <https://github.com/libgit2/pygit2/pull/1169>_

  • New Repository.remotes.names() #&#8203;1159 <https://github.com/libgit2/pygit2/pull/1159>_

  • Now refname argument in RemoteCallbacks.push_update_reference(...) is a string, not bytes #&#8203;1168 <https://github.com/libgit2/pygit2/pull/1168>_

  • Add missing newline at end of pygit2/decl/pack.h #&#8203;1163 <https://github.com/libgit2/pygit2/pull/1163>_

v1.10.1

Compare Source

  • Fix segfault in Signature repr #&#8203;1155 <https://github.com/libgit2/pygit2/pull/1155>_

  • Linux and macOS wheels for Python 3.11 #&#8203;1154 <https://github.com/libgit2/pygit2/pull/1154>_

v1.10.0

Compare Source

  • Upgrade to libgit2 1.5

  • Add support for GIT_OPT_GET_OWNER_VALIDATION and GIT_OPT_SET_OWNER_VALIDATION #&#8203;1150 <https://github.com/libgit2/pygit2/pull/1150>_

  • New untracked_files and ignored optional arguments for Repository.status(...) #&#8203;1151 <https://github.com/libgit2/pygit2/pull/1151>_

v1.9.2

Compare Source

  • New Repository.create_commit_string(...) and Repository.create_commit_with_signature(...) #&#8203;1142 <https://github.com/libgit2/pygit2/pull/1142>_

  • Linux and macOS wheels updated to libgit2 v1.4.3

  • Remove redundant line #&#8203;1139 <https://github.com/libgit2/pygit2/pull/1139>_

v1.9.1

Compare Source

  • Type hints: added to C code and Branches/References #&#8203;1121 <https://github.com/libgit2/pygit2/pull/1121>_ #&#8203;1132 <https://github.com/libgit2/pygit2/pull/1132>_

  • New Signature supports str() and repr() #&#8203;1135 <https://github.com/libgit2/pygit2/pull/1135>_

  • Fix ODB backend's read in big endian architectures #&#8203;1130 <https://github.com/libgit2/pygit2/pull/1130>_

  • Fix install with poetry #&#8203;1129 <https://github.com/libgit2/pygit2/pull/1129>_ #&#8203;1128 <https://github.com/libgit2/pygit2/issues/1128>_

  • Wheels: update to libgit2 v1.4.2

  • Tests: fix testing parse_diff #&#8203;1131 <https://github.com/libgit2/pygit2/pull/1131>_

  • CI: various fixes after migration to libgit2 v1.4

v1.9.0

Compare Source

  • Upgrade to libgit2 v1.4

  • Documentation, new recipes for committing and cloning #&#8203;1125 <https://github.com/libgit2/pygit2/pull/1125>_

v1.8.0

Compare Source

  • Rename RemoteCallbacks.progress(...) callback to .sideband_progress(...) #&#8203;1120 <https://github.com/libgit2/pygit2/pull/1120>_

  • New Repository.merge_base_many(...) and Repository.merge_base_octopus(...) #&#8203;1112 <https://github.com/libgit2/pygit2/pull/1112>_

  • New Repository.listall_stashes() #&#8203;1117 <https://github.com/libgit2/pygit2/pull/1117>_

  • Code cleanup #&#8203;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.

v1.7.2

Compare Source

  • Universal wheels for macOS #&#8203;1109 <https://github.com/libgit2/pygit2/pull/1109>_

v1.7.1

Compare Source

  • New Repository.amend_commit(...) #&#8203;1098 <https://github.com/libgit2/pygit2/pull/1098>_

  • New Commit.message_trailers #&#8203;1101 <https://github.com/libgit2/pygit2/pull/1101>_

  • Windows wheels for Python 3.10 #&#8203;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. #&#8203;962 <https://github.com/libgit2/pygit2/issues/962>_

  • Document Repository.get_attr(...) and update theme #&#8203;1017 <https://github.com/libgit2/pygit2/issues/1017>_ #&#8203;1105 <https://github.com/libgit2/pygit2/pull/1105>_

v1.7.0

Compare Source

  • Upgrade to libgit2 1.3.0 #&#8203;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 #&#8203;1092 <https://github.com/libgit2/pygit2/pull/1092>_ #&#8203;1093 <https://github.com/libgit2/pygit2/pull/1093>_

  • Drop support for Python 3.6

  • New pygit2.GIT_CHECKOUT_SKIP_LOCKED_DIRECTORIES #&#8203;1087 <https://github.com/libgit2/pygit2/pull/1087>_

  • New optional argument location in Repository.applies(..) and Repository.apply(..) #&#8203;1091 <https://github.com/libgit2/pygit2/pull/1091>_

  • Fix: Now the flags argument in Repository.blame() is passed through #&#8203;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.

v1.6.1

Compare Source

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

v1.6.0

Compare Source

  • New optional proxy argument in Remote methods #&#8203;642 <https://github.com/libgit2/pygit2/issues/642>_ #&#8203;1063 <https://github.com/libgit2/pygit2/pull/1063>_ #&#8203;1069 <https://github.com/libgit2/pygit2/issues/1069>_

  • New GIT_MERGE_MREFERENCE constants #&#8203;1071 <https://github.com/libgit2/pygit2/pull/1071>_

  • Don't require cached-property with Python 3.8 or later #&#8203;1066 <https://github.com/libgit2/pygit2/pull/1066>_

  • Add wheels for aarch64 #&#8203;1077 <https://github.com/libgit2/pygit2/issues/1077>_ #&#8203;1078 <https://github.com/libgit2/pygit2/pull/1078>_

  • Documentation fixes #&#8203;1068 <https://github.com/libgit2/pygit2/pull/1068>_ #&#8203;1072 <https://github.com/libgit2/pygit2/pull/1072>_

  • Refactored build and CI, new build.sh script

Breaking changes:

  • Remove deprecated GIT_CREDTYPE_XXX contants, use GIT_CREDENTIAL_XXX instead.

  • Remove deprecated Patch.patch getter, use Patch.text instead.

v1.5.0

Compare Source

  • New PackBuilder class and Repository.pack(...) #&#8203;1048 <https://github.com/libgit2/pygit2/pull/1048>_

  • New Config.delete_multivar(...) #&#8203;1056 <https://github.com/libgit2/pygit2/pull/1056>_

  • New Repository.is_shallow #&#8203;1058 <https://github.com/libgit2/pygit2/pull/1058>_

  • New optional message argument in Repository.create_reference(...) #&#8203;1061 <https://github.com/libgit2/pygit2/issues/1061>_ #&#8203;1062 <https://github.com/libgit2/pygit2/pull/1062>_

  • Fix truncated diff when there are nulls #&#8203;1047 <https://github.com/libgit2/pygit2/pull/1047>_ #&#8203;1043 <https://github.com/libgit2/pygit2/issues/1043>_

  • Unit tests & Continuous integration #&#8203;1039 <https://github.com/libgit2/pygit2/issues/1039>_ #&#8203;1052 <https://github.com/libgit2/pygit2/pull/1052>_

Breaking changes:

  • Fix Index.add(...) raise TypeError instead of AttributeError when arguments are of unexpected type

v1.4.0

Compare Source

  • Upgrade to libgit2 1.1, new GIT_BLAME_IGNORE_WHITESPACE constant #&#8203;1040 <https://github.com/libgit2/pygit2/issues/1040>_

  • Add wheels for Python 3.9 #&#8203;1038 <https://github.com/libgit2/pygit2/issues/1038>_

  • Drop support for PyPy3 7.2

  • New optional flags argument in Repository.__init__(...), new GIT_REPOSITORY_OPEN_* constants #&#8203;1044 <https://github.com/libgit2/pygit2/pull/1044>_

  • Documentation #&#8203;509 <https://github.com/libgit2/pygit2/issues/509>_ #&#8203;752 <https://github.com/libgit2/pygit2/issues/752>_ #&#8203;1037 <https://github.com/libgit2/pygit2/issues/1037>_ #&#8203;1045 <https://github.com/libgit2/pygit2/issues/1045>_

v1.3.0

Compare Source

  • New Repository.add_submodule(...) #&#8203;1011 <https://github.com/libgit2/pygit2/pull/1011>_

  • New Repository.applies(...) #&#8203;1019 <https://github.com/libgit2/pygit2/pull/1019>_

  • New Repository.revparse(...) and Repository.revparse_ext(...) #&#8203;1022 <https://github.com/libgit2/pygit2/pull/1022>_

  • New optional flags and file_flags arguments in Repository.merge_commits and Repository.merge_trees #&#8203;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(...) #&#8203;1029 <https://github.com/libgit2/pygit2/pull/1029>_

  • New GIT_BLAME_FIRST_PARENT and GIT_BLAME_USE_MAILMAP constants #&#8203;1031 <https://github.com/libgit2/pygit2/pull/1031>_

  • New IndexEntry supports repr(), str(), == and != #&#8203;1009 <https://github.com/libgit2/pygit2/pull/1009>_

  • New Object supports repr() #&#8203;1022 <https://github.com/libgit2/pygit2/pull/1022>_

  • New accept tuples of strings (not only lists) in a number of places #&#8203;1025 <https://github.com/libgit2/pygit2/pull/1025>_

  • Fix compatibility with old macOS 10.9 #&#8203;1026 <https://github.com/libgit2/pygit2/issues/1026>_ #&#8203;1027 <https://github.com/libgit2/pygit2/pull/1027>_

  • Fix check argument type in Repository.apply(...) #&#8203;1033 <https://github.com/libgit2/pygit2/issues/1033>_

  • Fix raise exception if error in Repository.listall_submodules() commit 3213397

  • Fix a couple of refcount errors in OdbBackend.refresh() and Worktree_is_prunable commit fed0c19

  • Unit tests #&#8203;800 <https://github.com/libgit2/pygit2/issues/800>_ #&#8203;1015 <https://github.com/libgit2/pygit2/pull/1015>_

  • Documentation #&#8203;705 <https://github.com/libgit2/pygit2/pull/705>_

v1.2.1

Compare Source

  • Fix segfault in Object.raw_name when not reached through a tree #&#8203;1002 <https://github.com/libgit2/pygit2/pull/1002>_

  • Internal: Use @​ffi.def_extern instead of @​ffi.callback #&#8203;899 <https://github.com/libgit2/pygit2/issues/899>_

  • Internal: callbacks code refactored

  • Test suite completely switched to pytest #&#8203;824 <https://github.com/libgit2/pygit2/issues/824>_

  • New unit tests #&#8203;538 <https://github.com/libgit2/pygit2/pull/538>_ #&#8203;996 <https://github.com/libgit2/pygit2/issues/996>_

  • Documentation changes #&#8203;999 <https://github.com/libgit2/pygit2/issues/999>_

Deprecations:

  • Deprecate Repository.create_remote(...), use instead Repository.remotes.create(...)

  • Deprecate GIT_CREDTYPE_XXX contants, use GIT_CREDENTIAL_XXX instead.

v1.2.0

Compare Source

  • Drop support for Python 3.5 #&#8203;991 <https://github.com/libgit2/pygit2/issues/991>_

  • Upgrade to libgit2 1.0 #&#8203;982 <https://github.com/libgit2/pygit2/pull/982>_

  • New support for custom reference database backends #&#8203;982 <https://github.com/libgit2/pygit2/pull/982>_

  • New support for path objects #&#8203;990 <https://github.com/libgit2/pygit2/pull/990>_ #&#8203;955 <https://github.com/libgit2/pygit2/issues/955>_

  • New index optional parameter in Repository.checkout_index #&#8203;987 <https://github.com/libgit2/pygit2/pull/987>_

  • New MacOS wheels #&#8203;988 <https://github.com/libgit2/pygit2/pull/988>_

  • Fix re-raise exception from credentials callback in clone_repository #&#8203;996 <https://github.com/libgit2/pygit2/issues/996>_

  • Fix warning with pip install pygit2 #&#8203;986 <https://github.com/libgit2/pygit2/issues/986>_

  • Tests: disable global Git config #&#8203;989 <https://github.com/libgit2/pygit2/issues/989>_

v1.1.1

Compare Source

  • Fix crash in tree iteration #&#8203;984 <https://github.com/libgit2/pygit2/pull/984>_ #&#8203;980 <https://github.com/libgit2/pygit2/issues/980>_

  • Do not include the docs in dist files, so they're much smaller now

v1.1.0

Compare Source

  • Upgrade to libgit2 0.99 #&#8203;959 <https://github.com/libgit2/pygit2/pull/959>_

  • Continued work on custom odb backends #&#8203;948 <https://github.com/libgit2/pygit2/pull/948>_

  • New Diff.patchid getter #&#8203;960 <https://github.com/libgit2/pygit2/pull/960>_ #&#8203;877 <https://github.com/libgit2/pygit2/issues/877>_

  • New settings.disable_pack_keep_file_checks(...) #&#8203;908 <https://github.com/libgit2/pygit2/pull/908>_

  • New GIT_DIFF_ and GIT_DELTA_ constants #&#8203;738 <https://github.com/libgit2/pygit2/issues/738>_

  • Fix crash in iteration of config entries #&#8203;970 <https://github.com/libgit2/pygit2/issues/970>_

  • Travis: fix printing features when building Linux wheels #&#8203;977 <https://github.com/libgit2/pygit2/pull/977>_

  • Move _pygit2 to pygit2._pygit2 #&#8203;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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports