Edgewall Software
Modify

Opened 5 weeks ago

Last modified 5 weeks ago

#12930 assigned defect

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:
Release Notes:
API Changes:

Description (last modified by Ryan J Ollos)

$ 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 (2)

comment:1 Changed 5 weeks ago by Ryan J Ollos

Description: modified (diff)

comment:2 in reply to:  description Changed 5 weeks ago by Ryan J Ollos

Replying to Ryan J Ollos:

I edited SpamFilter@129 before determining that pydns is required by spambayes, so the suggestion of uninstall pydns is not the right solution.

Reverted in SpamFilter@130.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Ryan J Ollos.
The ticket will be disowned.
as The resolution will be set.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .

 
Note: See TracTickets for help on using tickets.