|
From: | Scott Hannahs |
Subject: | Re: [Duplicity-talk] Duplicity 2.2.2 Released |
Date: | Sat, 10 Feb 2024 12:43:04 -0500 |
I attempted to integrate this into my fink building package for MacOS. However when running the test portion of the install as I had for previous versions, I got a massive number of failures. It seems that the test is using a command line argument that is changed/deleted? There is a massively long output log full of this message repeating the duplicity usage message. See below the signature. If I get past all this, I get python errors
However I do have fasteners (version 0.15) installed for python 3.10. The dependencies including librsync are installed using the fink package manager not home brew.
I have patched all the source files such that the shebang points to the installed python3.10 version
I think this all worked for Duplicity 2.2.1 but something seems to have gone terribly awry. The test commands are:
-Scott ============================= test session starts ============================== platform darwin -- Python 3.10.4, pytest-6.2.5, py-1.10.0, pluggy-1.3.0 rootdir: /opt/sw/src/fink.build/duplicity-2.2.2-1/duplicity-rel.2.2.2, configfile: pyproject.toml, testpaths: testing/unit, testing/functional collected 444 items run-last-failure: no previously failed tests, not deselecting items. testing/unit/test_backend.py ..Attempt of put Nr. 1 failed. Exception: Giving up after 2 attempts. Exception: ..Giving up after 1 attempts. Exception: .....Attempt of get Nr. 1 failed. Exception: Giving up after 2 attempts. Exception: Attempt of put Nr. 1 failed. Exception: Giving up after 2 attempts. Exception: Attempt of list Nr. 1 failed. Exception: Giving up after 2 attempts. Exception: Attempt of _do_delete_list Nr. 1 failed. Exception: Attempt of _do_delete_list Nr. 2 failed. Exception: Attempt of _do_query_list Nr. 1 failed. Exception: Attempt of _do_query_list Nr. 2 failed. Exception: Attempt of _do_delete Nr. 1 failed. Exception: Attempt of _do_delete Nr. 2 failed. Exception: Attempt of _do_query Nr. 1 failed. Exception: Attempt of _do_query Nr. 2 failed. Exception: Attempt of move Nr. 1 failed. Exception: Giving up after 2 attempts. Exception: .Giving up after 1 attempts. Exception: .Giving up after 1 attempts. BackendException: error . testing/unit/test_backend_instance.py ............................................................ssssssssss testing/unit/test_cli_main.py .........usage: duplicity [-h] [--allow-source-mismatch] [--archive-dir path] [--asynchronous-upload] [--azure-blob-tier Hot|Cool|Archive] [--azure-max-block-size number] [--azure-max-connections number] [--azure-max-single-put-size number] [--b2-hide-files] [--backend-retry-delay seconds] [--cf-backend pyrax|cloudfiles] [--compare-data] [--config-dir path] [--copy-blocksize number] [--copy-links] [--dry-run] [--encrypt-key gpg-key-id] [--encrypt-secret-keyring path] [--encrypt-sign-key gpg-key-id] [--exclude shell_pattern] [--exclude-device-files] [--exclude-filelist filename] [--exclude-if-present filename] [--exclude-older-than time] [--exclude-other-filesystems] [--exclude-regexp regex] [--file-changed path] [--file-prefix string] [--file-prefix-archive string] [--file-prefix-jsonstat string] [--file-prefix-manifest string] [--file-prefix-signature string] [--files-from filename] [--filter-globbing] [--filter-ignorecase] [--filter-literal] [--filter-regexp] [--filter-strictcase] [--force] [--ftp-passive] [--ftp-regular] [--full-if-older-than interval] [--gpg-binary path] [--gpg-options options] [--hidden-encrypt-key gpg-key-id] [--idr-fakeroot path] [--ignore-errors] [--imap-full-address] [--imap-mailbox imap_mailbox] [--include shell_pattern] [--include-filelist filename] [--include-regexp regex] [--jsonstat] [--log-fd file_descriptor] [--log-file log_filename] [--log-timestamp] [--max-blocksize number] [--metadata-sync-mode {full,partial}] [--mf-purge] [--mp-segment-size number] [--name backup name] [--no-compression] [--no-encryption] [--no-files-changed] [--no-print-statistics] [--no-restore-ownership] [--null-separator] [--num-retries number] [--numeric-owner] [--par2-options options] [--par2-redundancy number] [--par2-volumes number] [--path-to-restore path] [--progress] [--progress-rate number] [--rename from to from to] [--restore-time time] [--rsync-options options] [--s3-endpoint-url s3_endpoint_url] [--s3-kms-grant s3_kms_grant] [--s3-kms-key-id s3_kms_key_id] [--s3-multipart-chunk-size number] [--s3-multipart-max-procs number] [--s3-region-name s3_region_name] [--s3-unencrypted-connection] [--s3-use-deep-archive] [--s3-use-glacier] [--s3-use-glacier-ir] [--s3-use-ia] [--s3-use-onezone-ia] [--s3-use-rrs] [--s3-use-server-side-encryption] [--s3-use-server-side-kms-encryption] [--scp-command command] [--sftp-command command] [--show-changes-in-set number] [--sign-key gpg-key-id] [--skip-if-no-change] [--ssh-askpass] [--ssh-options options] [--ssl-cacert-file file] [--ssl-cacert-path path] [--ssl-no-check-certificate] [--swift-storage-policy policy] [--tempdir path] [--time-separator char] [--timeout seconds] [--use-agent] [--verbosity verb] [--version] [--volsize number] [--webdav-headers string] options: -h, --help show this help message and exit |
[Prev in Thread] | Current Thread | [Next in Thread] |