From c159df98e4968e92ba52c1f44d8f52b6ffe0b872 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 21 Jun 2021 03:32:32 +0000 Subject: [PATCH 1/3] Bump pygit2 from 0.28.2 to 1.6.1 Bumps [pygit2](https://github.com/libgit2/pygit2) from 0.28.2 to 1.6.1. - [Release notes](https://github.com/libgit2/pygit2/releases) - [Changelog](https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst) - [Commits](https://github.com/libgit2/pygit2/compare/v0.28.2...v1.6.1) Signed-off-by: dependabot-preview[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6483d56d..1307cc3b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,6 @@ atomiclong==0.1.1 cffi==1.12.3 fusepy==3.0.1 pycparser==2.20 -pygit2==0.28.2 +pygit2==1.6.1 raven==6.10.0 six==1.12.0 From 109cc815fc339023f552c099799085fc7ef29917 Mon Sep 17 00:00:00 2001 From: Taylor Jackle Spriggs Date: Mon, 18 Oct 2021 10:05:57 -0700 Subject: [PATCH 2/3] pygit2.remote.RemoteCallbacks => pygit2.callbacks.RemoteCallbacks --- gitfs/mounter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitfs/mounter.py b/gitfs/mounter.py index 31b436d4..391e899a 100644 --- a/gitfs/mounter.py +++ b/gitfs/mounter.py @@ -19,7 +19,7 @@ from fuse import FUSE from pygit2 import Keypair, UserPass -from pygit2.remote import RemoteCallbacks +from pygit2.callbacks import RemoteCallbacks from gitfs import __version__ from gitfs.utils import Args From 64461cc141d264a9406b5b0a0b3728f3a4f53bbf Mon Sep 17 00:00:00 2001 From: Taylor Jackle Spriggs Date: Mon, 18 Oct 2021 10:10:08 -0700 Subject: [PATCH 3/3] combine imports --- gitfs/mounter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitfs/mounter.py b/gitfs/mounter.py index 391e899a..e8990d25 100644 --- a/gitfs/mounter.py +++ b/gitfs/mounter.py @@ -18,8 +18,7 @@ import resource from fuse import FUSE -from pygit2 import Keypair, UserPass -from pygit2.callbacks import RemoteCallbacks +from pygit2 import Keypair, RemoteCallbacks, UserPass from gitfs import __version__ from gitfs.utils import Args