Modify ↓
Opened 8 years ago
Closed 2 years ago
#12930 closed defect (fixed)
Spambayes dependency conflicts with dnspython
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | plugin - spam-filter |
| Component: | plugin/spamfilter | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
$ pip install dnspython Collecting dnspython Using cached dnspython-1.15.0-py2.py3-none-any.whl Installing collected packages: dnspython Successfully installed dnspython-1.15.0 $ python -c "import dns" $ pip install spambayes Collecting spambayes Collecting lockfile>=0.2 (from spambayes) Using cached lockfile-0.12.2-py2.py3-none-any.whl Collecting pydns>=2.0 (from spambayes) Installing collected packages: lockfile, pydns, spambayes Successfully installed lockfile-0.12.2 pydns-2.3.6 spambayes-1.1b2 $ python -c "import dns" Traceback (most recent call last): File "<string>", line 1, in <module> File "/Users/rjollos/Documents/Workspace/trac-dev/pve-spamfilter/lib/python2.7/site-packages/dns/__init__.py", line 14, in <module> import Type,Opcode,Status,Class ImportError: No module named Opcode
I edited SpamFilter@129 before determining that pydns is required by spambayes, so the suggestion of uninstall pydns is not the right solution.
Oddly, I have these same package versions installed in a virtualenv hosting trac-hacks.org and don't see the conflict for that case.
Attachments (0)
Change History (4)
comment:1 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 8 years ago
comment:3 by , 6 years ago
pydns installs files to DNS/*, while dnspython installs files to dns/*, hence there is no conflict on a case-sensitive file system.
comment:4 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Replying to Ryan J Ollos:
Reverted in SpamFilter@130.