[Bug 268863] sysutils/py-rdiff-backup: Update to 2.2.2

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Jan 2023 17:28:39 UTC

            Bug ID: 268863
           Summary: sysutils/py-rdiff-backup: Update to 2.2.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sstallion@gmail.com
                CC: uzsolt@uzsolt.hu
                CC: uzsolt@uzsolt.hu
             Flags: maintainer-feedback?(uzsolt@uzsolt.hu)

Created attachment 239383
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239383&action=edit

After updating to py-rdiff-backup-2.2.0 on the quarterly branch, I began
running into failures using rdiff-backup due to a missing run dependency on

I've attached a patch that corrects this issue along with an update to support
version 2.2.2 that was released two weeks ago.

Traceback (most recent call last):
  File "/usr/local/bin/rdiff-backup", line 33, in <module>
    sys.exit(load_entry_point('rdiff-backup==2.2.0', 'console_scripts',
  File "/usr/local/bin/rdiff-backup", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/rdiffbackup/run.py", line 24, in
    from rdiffbackup import arguments, actions_mgr, actions
  File "/usr/local/lib/python3.9/site-packages/rdiffbackup/actions_mgr.py",
line 27, in <module>
    import rdiffbackup.actions
"/usr/local/lib/python3.9/site-packages/rdiffbackup/actions/__init__.py", line
31, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

You are receiving this mail because:
You are the assignee for the bug.