[Bug 268473] deskutils/py-vdirsyncer: broken since update to 0.19, missing deps

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Dec 2022 17:49:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268473

            Bug ID: 268473
           Summary: deskutils/py-vdirsyncer: broken since update to 0.19,
                    missing deps
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rigoletto@freebsd.org
          Reporter: ahktenzero+freebsd@mohorovi.cc
             Flags: maintainer-feedback?(rigoletto@freebsd.org)
          Assignee: rigoletto@freebsd.org

Created attachment 238928
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=238928&action=edit
Patch to add missing deps

Since the update to 0.19, vdirsyncer is broken due to two missing dependencies. 

Traceback (most recent call last):
  File "/usr/local/bin/vdirsyncer", line 33, in <module>
    sys.exit(load_entry_point('vdirsyncer==0.19.0', 'console_scripts',
'vdirsyncer')())
  File "/usr/local/bin/vdirsyncer", 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
import_module
    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/vdirsyncer/cli/__init__.py",
line 7, in <module>
    import aiohttp

The first is aiohttp, which is present in ports as www/py-aiohttp. Installing
this revealed a second missing module:

error: Unknown error occurred: No module named 'aiostream'
error: Use `-vdebug` to see the full traceback.
debug:   File
"/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/__init__.py", line 32,
in inner
debug:     f(*a, **kw)
debug:   File
"/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/__init__.py", line 126,
in sync
debug:     from .tasks import prepare_pair
debug:   File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/tasks.py",
line 8, in <module>
debug:     from .discover import collections_for_pair
debug:   File
"/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/discover.py", line 8, in
<module>
debug:     import aiostream

There is no port currently for aiostream so I have created one and uploaded it
in a separate PR (#268472)

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