Closed copumpkin closed 6 years ago
Hmm, now I'm just confused why unittest is trying to load cnf
at all. It seems to be unreferenced anywhere and it doesn't start with test*
. Anyway, for now I'll just manually exclude it.
The aiger and cnf modules are obsolete and should be removed entirely. The unit tests should definitely not be referring to them.
I'll fix this shortly, but in the meantime your workaround sounds good to me.
Also - thank you for doing this!
On Sun, Jul 8, 2018, 8:45 AM Daniel Peebles notifications@github.com wrote:
Hmm, now I'm just confused why unittest is trying to load cnf at all. It seems to be unreferenced anywhere and it doesn't start with test*. Anyway, for now I'll just manually exclude it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sambayless/monosat/issues/10#issuecomment-403296479, or mute the thread https://github.com/notifications/unsubscribe-auth/AALiCk7Fw-fH5CGIxDTpE4K2wk6xG7wwks5uEij8gaJpZM4VGw2q .
Thanks! Indeed as soon as I removed cnf.py
from the source tree, unittest
stopped wanting to import it. Not sure why my machinery moans about it and your tests on Travis don't, but 🤷♂️
Not strictly related to this ticket, but if you're curious what the package looks like, here it is:
https://github.com/NixOS/nixpkgs/commit/631dd7a4e974547b9ff483401e5256fa5aa3797e
Hi! This project is awesome. Thanks for the great work!
I'm packaging monosat in nixpkgs, should handle some of the more annoying issues with pypi and other packaging not handling the native dependencies.
While packaging the python module, I noticed that one of its tests seems to refer to a
.aiger
module that I can't find anywhere in the source. Did something get removed or refactored?You can find it here.
Edit: the
monosat.graphcircuit
module referenced right below it also seems to be an orphan. Is thatcnf
module still used?