Package Release Info


Update Info: Base Release
Available in Package Hub : 15 SP2





Change Logs

* Wed Feb 26 2020 Michael Gorse <>
- Fix source URI.
* Tue Feb 25 2020 Michael Gorse <>
- Update to version 0.8.11:
  + Fixed to work around par2 0.8.1 core dump on short name.
  + Merged in translation updates.
  + Fixed bug #1857818 - startswith first arg must be bytes.
  + Fixed bug #1863018 - mediafire backend fails on py3.
  + Fixed bug #1236248 - --extra-clean clobbers old backups.
  + Add rclone requirement to snapcraft.yaml.
  + Fixed bug #1860405 - Auth mechanism not supported.
  + Fixed bug #1862672 - test_log does not respect TMPDIR.
  + Renamed to
  + Reworked to build a pip-compatible distribution
    tarball of duplicity.
  + Added dist/makepip for convenience.
  + Adjust Dockerfiles to new requirements.
  + Fixed bug #1861287 - Removing old backup chains fails using
  + Enhance to allow install by pip.
  + Changes in version 0.8.10:
  + Switched to python3 for snaps.
  + Fixed bug #1858713 - paramiko socket.timeout.
  + Removed some unneeded includes of gettext
  + Fixed bug #1859304 with patch from Arduous
  - Backup and restore do not work on SCP backend.
  + Move to single-sourceing the package version.
  + Fixed bug #1859877 - syntax warning on python 3.8.
  + Skip functional/test_selection::TestUnicode if
    python version is less than 3.7.
  + Clean up some TODO tasks in testing code.
  + Clean up deprecation errors in Python 3.8.
  + Fixed bug #1858204 - ENODEV should be added to
    list of recognized error strings.
  + Fixed bug #1858207 missing targets in multibackend.
  + Merged in translation updates.
- Rebase duplicity-remove_shebang.patch.
- Modify to default to the correct revision absent a bzr
  tree, so that documentation is installed into a reasonable
* Wed Jan 08 2020 Michael Gorse <>
- Update to version 0.8.09:
  + Merged in translation updates
  + Add snapcraft login to makesnap
  + Fixed bug #1858295 - Unicode error in source filename.
  + Fixed bug #1855736 - Duplicity fails to start.
  + Fix bytes/string differences in subprocess_popen().
  + Fix bug #1857734 - TypeError in ssh_paramiko_backend.
  + Fix bug #1858153 with patch from az
  - mega backend: fails to create directory.
  + Convert all shebangs to python3 for bug #1855736.
  + Fixed bug #1857554 name 'file' is not defined
  + Renamed testing/infrastructure to testing/docker.
  + fix manpage indention
  + clarify difference between boto backends
  * add boto+s3:// for future use when boto3+s3://
    will become default s3 backend.
  + Fixed a mess I made. was shebanged to
    Py3, duplicity was shebanged to Py2.  This meant
    that duplicity ran as Py2 but could not find its
    modules because they were under Py3.  AArgh!
  + Fixed bug #1856447 with hint from Enno L
  - Replaced with formatted string
  + Fixed bug #1855636 with patch from Filip Slunecko
  - Wrong buf type returned on error.  Make bytes.
* Thu Jan 02 2020 Michael Gorse <>
- Update to version 0.8.08:
  + Fixed a typo made during Python 3 conversion.
  + Issue warning on temporary connection loss.
  + Fixes bug #1840044: Migrate boto backend to boto3
  - New module uses boto3+s3:// as schema.
  + Fixed bug #1853809 - Tests failing with Python 3.8 /
    Deprecation warnings.
  + Fixed bug #1853655 - duplicity crashes with
  - -exclude-older-than
  - The exclusion setup checked for valid string only.  Made
    the code comprehend datetime (int) as well.
  + Applied patches to handle translations.
  + Added build signing to dist/makesnap.
  + Fixed bug #1852876 '_io.BufferedReader' object has no
    attribute 'uc_name'.
  + B2 moved the API from "b2" package into a separate "b2sdk"
- Rebase duplicity-remove_shebang.patch.
* Thu Nov 14 2019 Michael Gorse <>
- Update to version 0.8.07:
  + Added b2sdk to snapcraft.yaml.
  + Fixed bug #1850440 with suggestion from Paolo Montrasio
  - TypeError: Can't mix strings and bytes in path components.
  + Fixed bug #1850990 with suggestion from Jon Wilson
  - --s3-use-glacier and --no-encryption cause slow backups.
  + Fixed bug #1851167 with help from Aspen Barnes
  - Had Popen() to return strings not bytes.
  + Merged in lp:~mterry/duplicity/pydrive-cache-fix
  - The pydrive backend had another of the ongoing bytes/string
    issues. :)
  + Merged in lp:~mterry/duplicity/resume-encrypt-no-pass
  - This branch arose from a Debian patch that has been disabling
    the encryption validation of volume1 during restarts for
    years. Debian has been preserving the ability to back up
    with just an encrypt key and no password (i.e. to have no
    secrets on the backup machine).
  + Fixed bug #1851727 - InvalidBackendURL for multi backend
  - Encode to utf8 only on Python2, otherwise leave as unicode.
  + Merged in translation updates.
* Wed Nov 06 2019 Michael Gorse <>
- Update to version 0.8.06:
  + Merged in translation updates
  + Removed file() call in swiftbackend.  It's been deprecated
    since py2.
  + Revisited bug #1848783 - par2+webdav raises TypeError on Python 3
  - Fixed so bytes filenames were compared as unicode in re.match()
  + Fixed bug #1849661 with patch from Graham Cobb
  - The problem is that b2backend uses 'quote_plus' on the
    destination URL without specifying the 'safe' argument as
    '/'. Note that 'quote' defaults 'safe' to '/', but
    'quote_plus' does not!
  + Added additional fsdecode's to uses of and in b2backend's _get() and _put.  See bug
    [#1847885] for more details.
  + Fixed bug #1848166 - Swift backend fails on string concat
  - added util.fsdecode() where needed
  + Fixed bug #1848783 with patch from Jacob Middag
  - Don't use byte strings in regex
  + Fixed bug #1626061 with patch from Michael Apozyan
  - While doing multipart upload to s3 we need to report the
    total size of uploaded data, and not the size of each part
    individually.  So we need to keep track of all parts
    uploaded so far and sum it up on the fly.
  + Fixed bug #1848203 with patch from Michael Apozyan
  - convert to integer division
  + Updated b2 backend to work with both v0 and v1 of b2sdk
  + Fixed bug #1847885 - B2 fails on string concatenation.
  - use util.fsdecode() to get a string not bytes.
  - Partially fixed in bug #1843995, this applies same fix to
    remaining instances of the problem
  + Fixed Resouce warnings when using paramiko.  It turns out
    that duplicity's was not handling
    warning suppression and ended up clearing all warnings,
    including those that default to off.
* Tue Oct 08 2019 Michael Gorse <>
- Update to version 0.8.05:
  + Merged in translation updates.
  + Fix bug #1843995 - B2 fails on string concatenation.
  + Fix bug #1844750 - RsyncBackend fails if used with
  + Fixed bug reported on maillist - Python error in Webdav backend
  + Fixed bug #1846167 - expected bytes-like
    object, not str.
  + Fixed bug #1844950 - ssh-pexpect backend syntax error.
  + Fixed bug #1846678 - --exclude-device-files and
  - other-filesystems crashes
- duplicity-remove_shebang.patch: remove some context from the
  rdiffdir diff so that the patch doesn't fail every time the date
  is updated.
* Sun Sep 08 2019 Michael Gorse <>
- Update to version 0.8.04:
  + b2 backend requires additional import.
  + Duplicity crashes when using --file-prefix.
  + Removed socket.settimeout from
    It was already set in
  + Removed pycryptopp from README requirements.
  + Add packaging code for Snapcraft/Snap packages.
  + Ran futurize selectively filter-by-filter to find the ones
    that work.
  + Change README-TESTING to be correct for running individual
    tests now that we have moved to Tox/Pytest.
  + Encode Azure back-end paths
  + Removed a couple of unused files.
  + Merged in translation updates.
- Rebase duplicity-remove_shebang.patch.
* Mon Aug 12 2019 Michael Gorse <>
- Update to version 0.8.03:
  * Some changes to provide Python test coverage:
  * Fixed bugs #1838427 and #1838702 with a fix
    suggested by Stephen Miller.  The fix was to
    supply tarfile with a unicode grpid, not bytes.
  * Fixed some 2to3 issues in
  * Fixed division differences with futurize
  * Merged in translation updates
- Rebase duplicity-remove_shebang.patch.
* Thu Jul 25 2019 Michael Gorse <>
- Update to version 0.8.02:
  * Remove python-gettext from requirements.txt.  Normal
    Python installation includes gettext.
  * Mod README to include Python 3.6 and 3.7
  * Fixed bug #1836829 old_div not defined
  - also fixed old_div in
  * Merged in lp:~limburgher/duplicity/dropbox
  - Fixes bug #1836611 dropbox mixing bytes and strings
  * Merged in lp:~stragerneds/duplicity/duplicity
  - Cache results of filename parsing for speedup
  * Removed python-gettext from  Whoops!
  * Merged in lp:~mterry/duplicity/pytest-runner-move
  - Move pytest-runner to testing requirements in setup
  * Fix language classifiers in
  * Remove speedup in testing backup.  The math was correct,
    but it's failing on Docker and Launchpad testing.
  * Fix so Docker image duplicity_test will update and pull
    new bzr revisions if changed since last build.
  * Enhanced
  - Use -h to get help and defaults
  - Takes arguments for distro, revno, help
  - Distros supported are 18.04, 18.10, 19.04, 19.10
  - Revnos are passed to bzr -r option
  * Merged in po-updates.
  * Fixed bug #1829416 with help from charlie4096
  - onedrive: Can?t convert ?bytes? object to str implicitly
  * Fix dist/makedist to run on python3
- Drop duplicity-dropbox-strings.patch and duplicity-old-div.patch:
  fixed upstream.
- Rebase duplicity-remove_shebang.patch.
* Sat Jul 20 2019 Andrei Dziahel <>
- require python3-future: fixes runtime error starting duplicity
* Fri Jul 19 2019 Michael Gorse <>
- Add duplicity-old-div.patch: fix "old_div not defined" errors
- Add duplicity-dropbox-strings.patch: fix dropbox backend mixing
  bytes and strings (lp#1836611).
* Tue Jul 16 2019 Michael Gorse <>
- Update to version 0.8.01:
  * Comment out HSIBackendTest since shim is not up-to-date.
  * Merged in po-updates.
  * Make sure test filenames a bytes not unicode.
  * Fix test_glob_to_regex to work on Python 3.7
  * Fix warning in _librsync.c module.
  * Add encoding to logging.FileHandler call to make log file
  * Ensure is regenned before tox testing.
  * Adjust for move.
  * Fix so we start duplicity with the base python we run under.
  * Fix some issues found by
  * Normalize shebang to just python, no version number
  * Fix so most testing/*.py files have the future suggested
  - from __future__ import print_function
    from future import standard_library
  * Merged lp:~mterry/duplicity/boto-import
  - A couple functions in the boto backend were using the boto
    module without importing it first.
  * Merged in lp:~mterry/duplicity/s3fsdecode
  - Fix s3 backups by encoding remote filenames
  * Fix reimport problem where "from future.builtins" was being
    treated the differently than "from builtins".  They are both
    the same, so converted to shorter form "from builtins" and
    removed duplicates.
  * Fixed bug #1833573 0.8.00 does not work on Python 2
  - Fixed shebang to use /usr/bin/python instead of python
  * Fixed bug #1833559 0.8 test fails with 'duplicity not found'
  - Fixed assumption that duplicity/rdiffdir were in $PATH
  * Fixed failing test in testing/unit/
  - Someone is messing with regex.  Fix same.
  - See for details
  * Fix some import conflicts with the "past" module
  - Rename to
  - Remove all "from future.utils import old_div"
  - Replace old_div() with "//" (in py27 for a while).
  - All tests run for py3, unit tests run for py2.  The new
    import fail is "from future import standard_library"
  * Fixed bug #1831178 sequence item 0: expected str instance,
    int found
  - Simply converted int to str when making list
  * Merged in lp:~kaffeekiffer/duplicity/azure-python3-fix
  - Use util.fsencode to encode file string
  * Merged in lp:~mterry/duplicity/uexc-string
  - The return type of util.uexc should always be a string.
  * Merged in lp:~mterry/duplicity/gio-pydrive-fsdecode
  - Fix gio and pydrive backends to use fsdecode
  * See CHANGELOG for changes in version 0.8.00
- Drop duplicity-refresh-collections-status.patch: fixed upstream.
- Rebase duplicity-remove_shebang.patch, and adapt to use python 3
- Adjust dependencies, build, and files to use python 3
- Add python3-pytest-runner to BuildRequires.
- Adjust egg-info line in files: the directory name doesn't
  precisely match the version name.
* Mon May 20 2019
- Add duplicity-refresh-collections-status.patch: refresh
  collections status after sync (lp#1828869).
* Tue Apr 30 2019
- Update to 0.7.19:
  * Fixed bug #1798206 and bug #1798504
  - Made paramiko a global with import during __init__ so it would
    not be loaded unless needed.
  * Merged in lp:~mterry/duplicity/pydrive-root-0.7
  - Just a tiny fix to clean up the temporary file we create to find the root ID.
    It's a little surprising for the user if they wind up with this file called
    "i_am_in_root" that they don't know where it came from. Almost sounds like
    they were hacked.
  * Merged in lp:~yajo/duplicity/duplicity
  - Support partial metadata sync.
  - Fixes bug #1823858 by letting the user to choose partial syncing.
    Only the metadata for the target chain will be downloaded. If older
    (or newer) chains are encrypted with a different passphrase, the user will
    be able to restore to a given time by supplying only the
    passphrase for the chain selected by the `--restore-time` option
    when using this new option.
  - A side effect is that using this flag reduces dramatically the
    sync time when moving files from one to another location, in
    cases where big amounts of chains are found.
- Update duplicity-remove_shebang.patch
* Fri Oct 19 2018
- Update to
  * Fixed bug #1788558 again
  - If we get None for size skip check.
* Tue Aug 28 2018
- Cleanup spec file a bit
- Use modern python macros
- Drop no-longer needed duplicity-rpmlintrc
- Reduce duplicities
- Split lang subpackage
* Tue Aug 28 2018
- Update to
  * Fixed bug #1788558
    Treat None as zero when printing log.
  * Revert fix for bug #1788599.
    Was causing problems with directory names
- Update duplicity-remove_shebang.patch
* Thu Aug 23 2018
- Update to 0.7.18:
  * Fixed bug #1756550 Online html man page is showing a 0 byte file
  * Partial fix of bug #1734144 with patch from Joris van Eijden
  - Note: this is really just a partial fix for now, since it only covers
    the case where the local size does not yet match the remote size.  A
    case where -1 is the returned length is not fixed.
  - Number of retries is now same as globals.num_retries.
  - Added standoff delay of 0.5 sec per attempt.
  * Fixed bug #1764432 with patch from Robke Geenen
  - Just join the parts together.
  * Fixed bug #1717935 with suggestion from strainu
  - Use urllib.quote_plus() to properly quote pathnames passed via URL
  * Fixed bug #1780617 Test fail when GnuPG >= 2.2.8
  - Relevant change in GnuPG 2.2.8:
  - Added '--ignore-mdc-error' to all gpg calls made.
  * Fixed bug #1785520 with patch from Chris Hunt
  - Fix for B2 version 1.3.4 just released
  * Fix a 2to3 error in
- Update duplicity-remove_shebang.patch
* Sat Mar 03 2018
- update to 0.7.17
  * Removed changes made in bug #1044715 Provide a file history feature
  - Changes required too much memory to carry in the manifest
  - The option --file-changed in collection-status is now invalid
  - This will close bugs: #1730451, #896728, #1526557, #1550176
  - Starting a full backup will be needed to fully utilize this fix
  * Fix update of Launchpad Translations. Translations were not being
    picked up on a daily basis and we got several months behind.