[Mailman3-dev] getting mm3 running on mac OSX 10.3 (or at least
the tests)
Dale Newfield
Dale at Newfield.org
Sat Apr 10 15:20:41 EDT 2004
On Sat, 10 Apr 2004, Michael Kato wrote:
> Twisted 1.2 needed the following patch/modifications in setup.py to
> install.
I didn't have problems with that, but I needed this patch in setup.py (for
mailman) to get it to compile:
61,62c61,62
< Extension("zope.interface._zope_interface_ospec",
< ["src/zope/interface/_zope_interface_ospec.c"]),
---
> Extension("zope.interface._zope_interface_coptimizations",
> ["src/zope/interface/_zope_interface_coptimizations.c"]),
I'm not even sure this makes sense, but with that change it did compile.
> Once installed there's the problem that OS X python doesn't have bsddb
> support, at least it didn't find _bsddb to import.
I am getting that same error, and of course will investigate, but I've yet
to do so.
I am having lots of problems with the unit tests, though, and I'm
realizing it's been a long time since I really did much with Python :-)
After a bit more investigation, I realize that a number of the tests are
failing due to incomplete sets of namespace changes. (I'll include one
example below, so someone can tell me if I'm going completely off course,
please!) It seems silly to waste more people's time here than necessary,
so maybe this is where it benefits us to start letting more people commit
changes to CVS. (I'm betting Maki had to take the time to make these same
changes, because it wasn't until I'd made them that I first got the "No
module named _bsddb" error.)
Barry?
RCS file:
/cvsroot/mailman/mailman3/src/mailman/berkeleydb/tests/test_members.py,v
retrieving revision 3.0
diff -r3.0 test_members.py
28,31c28,31
< from mailman.interfaces.members import IPreferences, IDeliveryStatus
< from mailman.interfaces.members import IBounceInfo
< from mailman.interfaces.members import DeliveryMode, DeliveryStatus
< from mailman.database.bdbmembers import BDBMembers
---
> from mailman.interfaces.users import IPreferences, IDeliveryStatus
> from mailman.interfaces.users import IBounceInfo
> from mailman.interfaces.users import DeliveryMode, DeliveryStatus
> from mailman.berkeleydb.bdbuser import BDBUserDatabase
41c41
< self._db = BDBMembers(os.path.join(VARDIR, 'members.db'))
---
> self._db = BDBUserDatabase(os.path.join(VARDIR, 'members.db'))
111c111
< self._db = BDBMembers(os.path.join(VARDIR, 'members.db'))
---
> self._db = BDBUserDatabase(os.path.join(VARDIR, 'members.db'))
More information about the Mailman3-Dev
mailing list