public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/duplicity] epel10: 1.2.3
Date: Fri, 09 Oct 2026 15:24:53 GMT	[thread overview]
Message-ID: <179155949387.1.6685260665104628343.rpms-duplicity-1edc81858685@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/duplicity
Branch : epel10
Commit : 1edc8185868528cca573bb02a189574e98ba2d00
Author : Gwyn Ciesla <gwync@protonmail.com>
Date   : 2023-05-16T16:23:38-05:00
Stats  : +80/-3 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/duplicity/c/1edc8185868528cca573bb02a189574e98ba2d00?branch=epel10

Log:
1.2.3

---
diff --git a/.gitignore b/.gitignore
index 6d13d67..ce528c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -51,3 +51,5 @@
 /duplicity-1.2.1.tar.gz.sig
 /duplicity-1.2.2.tar.gz
 /duplicity-1.2.2.tar.gz.sig
+/duplicity-1.2.3.tar.gz
+/duplicity-1.2.3.tar.gz.sig

diff --git a/duplicity.spec b/duplicity.spec
index 8f8cabe..b4dbb56 100644
--- a/duplicity.spec
+++ b/duplicity.spec
@@ -1,7 +1,7 @@
 %bcond_without check
 
 Name:           duplicity
-Version:        1.2.2
+Version:        1.2.3
 Release:        %autorelease
 Summary:        Encrypted bandwidth-efficient backup using rsync algorithm
 
@@ -40,6 +40,9 @@ Source2:        duplicity.gpg
 # chg:test: Add test case for issue #683.
 # https://gitlab.com/duplicity/duplicity/-/commit/e6671cdf4ed8b21b4a8bd1973bd458f62792cd29
 Patch0:         e6671cdf4ed8b21b4a8bd1973bd458f62792cd29.patch
+Patch1:         test_path.patch
+Patch2:         tox.ini.patch
+Patch3:         test_backend_instance.patch
 
 Requires:       ca-certificates
 Requires:       gnupg >= 1.0.6

diff --git a/sources b/sources
index 1703f2b..1be02a2 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (duplicity-1.2.2.tar.gz) = 9e50c5ea76e9405dd874e1f80d9559115d8d1e2a140250a205546e764674532f8872c0a5ccca728012bc258ec32c02a9ad02bb5868470edbe9ca911d361e5323
-SHA512 (duplicity-1.2.2.tar.gz.sig) = 49f6a9c3be5aebe1256064c629f99b839fa792bee2c7cbf778b2a877dd7fae7f8b2099c0540ed64c181037f505f7fb174827f5e025dd9539b032e5db8d2b58e5
+SHA512 (duplicity-1.2.3.tar.gz) = 43a76e96f06f326d7b5a67aba6f56cff93204238890f982f44685abb16bbd16bd7f133909fba4951e2aacb7efbb4511609e4e91594bd6c3d69a869b3afeb3df6
+SHA512 (duplicity-1.2.3.tar.gz.sig) = a9f261bca87cedc7696ebf716133c22911240791136e887b82018e351f99b1979fc759061e0aea303d611bad2dc41fde3ce78cb9465703d70c6c606a58e57b08

diff --git a/test_backend_instance.patch b/test_backend_instance.patch
new file mode 100644
index 0000000..0aefc9d
--- /dev/null
+++ b/test_backend_instance.patch
@@ -0,0 +1,24 @@
+diff --git a/testing/unit/test_backend_instance.py b/testing/unit/test_backend_instance.py
+index 3b716048..d0a85f57 100644
+--- a/testing/unit/test_backend_instance.py
++++ b/testing/unit/test_backend_instance.py
+@@ -252,7 +252,19 @@ class FTPSBackendTest(BackendInstanceBase):
+ class RCloneBackendTest(BackendInstanceBase):
+     def setUp(self):
+         super(RCloneBackendTest, self).setUp()
++        # make sure rclone config exists
++        assert not os.system(u"rclone config touch")
++        # add a duptest local config
++        try:
++            assert not os.system(u"rclone config create duptest local local=true --non-interactive")
++            self.delete_config = True
++        except:
++            self.delete_config = False
+         os.makedirs(u'{0}/testfiles/output'.format(_runtest_dir))
+         url = u'rclone://duptest:/%s/{0}/testfiles/output'.format(_runtest_dir)
+         self.backend = duplicity.backend.get_backend_object(url)
+         self.assertEqual(self.backend.__class__.__name__, u'RcloneBackend')
++
++    def tearDown(self):
++        if self.delete_config:
++            assert not os.system(u"rclone config delete duptest")

diff --git a/test_path.patch b/test_path.patch
new file mode 100644
index 0000000..503864a
--- /dev/null
+++ b/test_path.patch
@@ -0,0 +1,35 @@
+diff --git a/testing/unit/test_path.py b/testing/unit/test_path.py
+index 58f95673..9768daca 100644
+--- a/testing/unit/test_path.py
++++ b/testing/unit/test_path.py
+@@ -45,17 +45,19 @@ class PathTest(UnitTestCase):
+         p.deltree()
+         assert not p.type, p.type
+ 
+-    @unittest.skipIf(os.path.exists(u"/.dockenv") or                        # Docker
+-                     os.environ.get(u"USER", None) == u"buildd" or          # Launchpad
+-                     os.environ.get(u"NON_NATIVE", None) == u"true",        # GitLab
+-                     u"Skip on non-native environs")
+-    def test_compare(self):
+-        u"""Test directory comparisons"""
+-        assert not os.system(u"cp -pR {0}/testfiles/dir1/ {0}/testfiles/output".format(_runtest_dir))
+-        assert Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
+-            Path(u"{0}/testfiles/output".format(_runtest_dir)), 1)
+-        assert not Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
+-            Path(u"{0}/testfiles/dir2".format(_runtest_dir)), 1)
++    # Commented out because of flakiness.  See:
++    # https://gitlab.com/duplicity/duplicity/-/issues/707
++    # @unittest.skipIf(os.path.exists(u"/.dockenv") or                        # Docker
++    #                  os.environ.get(u"USER", None) == u"buildd" or          # Launchpad
++    #                  os.environ.get(u"NON_NATIVE", None) == u"true",        # GitLab
++    #                  u"Skip on non-native environs")
++    # def test_compare(self):
++    #     u"""Test directory comparisons"""
++    #     assert not os.system(u"cp -pR {0}/testfiles/dir1/ {0}/testfiles/output".format(_runtest_dir))
++    #     assert Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
++    #         Path(u"{0}/testfiles/output".format(_runtest_dir)), 1)
++    #     assert not Path(u"{0}/testfiles/dir1".format(_runtest_dir)).compare_recursive(
++    #         Path(u"{0}/testfiles/dir2".format(_runtest_dir)), 1)
+ 
+     def test_quote(self):
+         u"""Test path quoting"""

diff --git a/tox.ini.patch b/tox.ini.patch
new file mode 100644
index 0000000..c4f57c5
--- /dev/null
+++ b/tox.ini.patch
@@ -0,0 +1,13 @@
+diff --git a/tox.ini b/tox.ini
+index e6b38fad..eaf03af3 100644
+--- a/tox.ini
++++ b/tox.ini
+@@ -98,7 +98,7 @@ commands =
+ 
+ 
+ [pytest]
+-addopts = --failed-first --junitxml=report.xml
++addopts = --failed-first --junitxml=report.xml --showlocals --full-trace
+ markers = slow: test runs >= 10 secs
+ testpaths = testing/unit testing/functional
+ 

                 reply	other threads:[~2026-10-09 15:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179155949387.1.6685260665104628343.rpms-duplicity-1edc81858685@fedoraproject.org \
    --to=gwync@protonmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox