./devel/py-pygit2, Python bindings to libgit2

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.16.0, Package name: py312-pygit2-1.16.0, Maintainer: pkgsrc-users

pygit2 is a set of Python bindings to the libgit2 linkable C Git library.


Required to run:
[devel/py-setuptools] [devel/py-cffi] [devel/py-cparser] [devel/libgit2] [devel/py-cached-property] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 750.583 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 16:53:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-07-17 05:42:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2024-05-19 12:33:37 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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`.
   2024-05-11 17:25:33 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-pygit2: mark as broken

Needs a release that's compatible with libgit2 1.8
   2024-02-11 16:20:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2024-01-27 20:01:13 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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