pimutils / pimutils/vdirsyncer
No module named 'aiostream' in python39+
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 185
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 1
Description
Before you submit bug reports: https://vdirsyncer.pimutils.org/en/stable/contributing.html
- vdirsyncer, version 0.19.0
- freebsd port py39-vdirsyncer
- python Python 3.9.16
- FreeBSD 12.4
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
debug: from .discover import collections_for_pair
debug: File "/usr/local/lib/python3.9/site-packages/vdirsyncer/cli/discover.py", line 8, in
debug: import aiostream
Replace :
import aiostream
With :
if sys.version_info < (3,9):
import aiostream
Fixes the bug, Would you accept PR?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in vdirsyncer/cli/discover.py, where the traceback shows aiostream is imported, and review the callers in vdirsyncer/cli/tasks.py and vdirsyncer/cli/init.py. Verify the supported Python versions and dependency packaging before choosing a fix; done means syncing no longer fails with a missing aiostream module on the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100