- 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)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=16
This commit is contained in:
Dirk Mueller 2022-09-12 20:15:31 +00:00 committed by Git OBS Bridge
parent f9f97c893b
commit 11c1041f45
5 changed files with 35 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7
size 424373

3
dulwich-0.20.46.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f0e88ffff5db1523d93d92f1525fe5fa161318ffbaad502c1b9b3be7a067172
size 426530

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Sep 12 20:10:46 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <expeehaa@outlook.com>

View File

@ -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

View File

@ -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: