From 11c1041f458f8c11bf1172863b6358461b239a3b0e3e740a77f0858b98feee5e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 12 Sep 2022 20:15:31 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.20.46:=20=20*=20Apply=20ins?= =?UTF-8?q?teadOf=20to=20rsync-style=20location=20strings=20=20*=20Drop=20?= =?UTF-8?q?use=20of=20certifi,=20instead=20relying=20on=20urllib3's=20defa?= =?UTF-8?q?ult=20=20=20=20code=20to=20find=20system=20CAs.=20=20*=20Implem?= =?UTF-8?q?ent=20timezone=20parsing=20in=20porcelain.=20=20*=20Drop=20supp?= =?UTF-8?q?ort=20for=20running=20without=20setuptools.=20=20*=20Ensure=20c?= =?UTF-8?q?onfiguration=20is=20loaded=20when=20=20=20=20running=20"dulwich?= =?UTF-8?q?=20clone".=20=20*=20Build=2032=20bit=20wheels=20for=20Windows.?= =?UTF-8?q?=20=20*=20tests:=20Ignore=20errors=20when=20deleting=20GNUPG=20?= =?UTF-8?q?=20=20=20home=20directory.=20Fixes=20spurious=20errors=20racing?= =?UTF-8?q?=20=20=20=20gnupg-agent.=20Thanks,=20Mat=C4=9Bj=20Cepl.=20Fixes?= =?UTF-8?q?=20#1000=20=20*=20config:=20Support=20closing=20brackets=20in?= =?UTF-8?q?=20quotes=20in=20section=20=20=20=20names.=20(Jelmer=20Vernoo?= =?UTF-8?q?=C4=B3,=20#10124)=20=20*=20Various=20and=20formatting=20fixes.?= =?UTF-8?q?=20(Kian-Meng=20Ang)=20=20*=20Document=20basic=20authentication?= =?UTF-8?q?=20in=20dulwich.porcelain.clone.=20=20*=20Flush=20before=20call?= =?UTF-8?q?ing=20fsync,=20ensuring=20buffers=20=20=20=20are=20filled.=20(w?= =?UTF-8?q?ernha)=20=20*=20Support=20GPG=20commit=20signing.=20(springheel?= =?UTF-8?q?edjack0)=20=20*=20Add=20python=203.11=20support.=20(Saugat=20Pa?= =?UTF-8?q?chhai)=20=20*=20Allow=20missing=20GPG=20during=20tests.=20(Jaku?= =?UTF-8?q?b=20Kul=C3=ADk)=20=20*=20status:=20return=20posix-style=20untra?= =?UTF-8?q?cked=20paths=20instead=20of=20nt-style=20paths=20on=20=20=20=20?= =?UTF-8?q?win32=20(Daniele=20Trifir=C3=B2)=20=20*=20Honour=20PATH=20envir?= =?UTF-8?q?onment=20when=20running=20C=20Git=20for=20testing.=20=20*=20Spl?= =?UTF-8?q?it=20out=20exception=20for=20symbolic=20reference=20loops.=20?= =?UTF-8?q?=20*=20Move=20various=20long-deprecated=20methods.=20-=20drop?= =?UTF-8?q?=20rmtree-ignore-errors.patch=20(upstream)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=16 --- dulwich-0.20.45.tar.gz | 3 --- dulwich-0.20.46.tar.gz | 3 +++ python-dulwich.changes | 31 +++++++++++++++++++++++++++++++ python-dulwich.spec | 7 +------ rmtree-ignore-errors.patch | 15 --------------- 5 files changed, 35 insertions(+), 24 deletions(-) delete mode 100644 dulwich-0.20.45.tar.gz create mode 100644 dulwich-0.20.46.tar.gz delete mode 100644 rmtree-ignore-errors.patch diff --git a/dulwich-0.20.45.tar.gz b/dulwich-0.20.45.tar.gz deleted file mode 100644 index fffa171..0000000 --- a/dulwich-0.20.45.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7 -size 424373 diff --git a/dulwich-0.20.46.tar.gz b/dulwich-0.20.46.tar.gz new file mode 100644 index 0000000..3299d09 --- /dev/null +++ b/dulwich-0.20.46.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4f0e88ffff5db1523d93d92f1525fe5fa161318ffbaad502c1b9b3be7a067172 +size 426530 diff --git a/python-dulwich.changes b/python-dulwich.changes index 0771e7d..a64915a 100644 --- a/python-dulwich.changes +++ b/python-dulwich.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Sep 12 20:10:46 UTC 2022 - Dirk Müller + +- update to 0.20.46: + * Apply insteadOf to rsync-style location strings + * Drop use of certifi, instead relying on urllib3's default + code to find system CAs. + * Implement timezone parsing in porcelain. + * Drop support for running without setuptools. + * Ensure configuration is loaded when + running "dulwich clone". + * Build 32 bit wheels for Windows. + * tests: Ignore errors when deleting GNUPG + home directory. Fixes spurious errors racing + gnupg-agent. Thanks, Matěj Cepl. Fixes #1000 + * config: Support closing brackets in quotes in section + names. (Jelmer Vernooij, #10124) + * Various and formatting fixes. (Kian-Meng Ang) + * Document basic authentication in dulwich.porcelain.clone. + * Flush before calling fsync, ensuring buffers + are filled. (wernha) + * Support GPG commit signing. (springheeledjack0) + * Add python 3.11 support. (Saugat Pachhai) + * Allow missing GPG during tests. (Jakub Kulík) + * status: return posix-style untracked paths instead of nt-style paths on + win32 (Daniele Trifirò) + * Honour PATH environment when running C Git for testing. + * Split out exception for symbolic reference loops. + * Move various long-deprecated methods. +- drop rmtree-ignore-errors.patch (upstream) + ------------------------------------------------------------------- Tue Sep 6 23:57:31 UTC 2022 - Lukas Müller diff --git a/python-dulwich.spec b/python-dulwich.spec index c4d0cf8..d8d0d08 100644 --- a/python-dulwich.spec +++ b/python-dulwich.spec @@ -26,23 +26,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-dulwich -Version: 0.20.45 +Version: 0.20.46 Release: 0 Summary: Pure-Python Git Library License: Apache-2.0 OR GPL-2.0-or-later Group: Development/Languages/Python URL: https://www.dulwich.io Source0: https://files.pythonhosted.org/packages/source/d/dulwich/dulwich-%{version}.tar.gz -# PATCH-FIX-UPSTREAM rmtree-ignore-errors.patch gh#jelmer/dulwich#1000 mcepl@suse.com -# shutil.rmtree should be more callous -Patch0: rmtree-ignore-errors.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools >= 17.1} BuildRequires: fdupes BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module certifi} BuildRequires: %{python_module fastimport} BuildRequires: %{python_module geventhttpclient} BuildRequires: %{python_module gevent} @@ -52,7 +48,6 @@ BuildRequires: %{python_module urllib3 >= 1.24.1} BuildRequires: python-mock %endif %endif -Requires: python-certifi Requires: python-urllib3 >= 1.24.1 Requires(post): update-alternatives Requires(preun):update-alternatives diff --git a/rmtree-ignore-errors.patch b/rmtree-ignore-errors.patch deleted file mode 100644 index 31cddfc..0000000 --- a/rmtree-ignore-errors.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- - dulwich/tests/test_porcelain.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/dulwich/tests/test_porcelain.py -+++ b/dulwich/tests/test_porcelain.py -@@ -271,7 +271,7 @@ ya6JVZCRbMXfdCy8lVPgtNQ6VlHaj8Wvnn2FLbWW - super(PorcelainGpgTestCase, self).setUp() - self.gpg_dir = os.path.join(self.test_dir, "gpg") - os.mkdir(self.gpg_dir, mode=0o700) -- self.addCleanup(shutil.rmtree, self.gpg_dir) -+ self.addCleanup(shutil.rmtree, self.gpg_dir, ignore_errors=True) - self._old_gnupghome = os.environ.get("GNUPGHOME") - os.environ["GNUPGHOME"] = self.gpg_dir - if self._old_gnupghome is None: