Closed hayd closed 9 years ago
Noted this in the merge commit. I'll put it here, too.
Files to remember to fix for later:
These appear to have placeholder variables.
FYI these (pdfminer and simplejson) are ripped out in the next PR (as dependancies) anyway, as is cherrypy. I think I've also fixed the urllib2 import complaint. Thanks for looking at/merging these!
Awesome! Glad you did that.
Unbundling stuff that we don't need anymore or already has the compatibility we need as an external library seems like a good idea.
Discussed in the TODO list: https://github.com/pattern3/pattern/issues/5#issuecomment-60876270
I think the only remaining one is pywordnet (which is in nltk now, but that's a rather large dependancy)... Hopefully we're able to leave that as is (for now).. Also, the pdfminer is kinda flaky (both pdfminer and pdfminer3k export as pdfminer, so whichever was installed last wins!).
This is on the top of the previous travis PR. This converts some code to python 3 syntax (which works on python 2 with
__future__
), mostly this is print statements.Python 3 is still not running, so I think next up ought to be imports (absolute don't seem to work in stage1 which is weird ?) see 3.4 build then comes the actual hard work: string / btyes (probably this needs six)...
Note the warning from the future --stage1:
I tried running stage 2 but tbh it was a mess.
Have a new error on
test_crawler_delay
not sure what it should be (https://travis-ci.org/hayd/pattern/jobs/39313093), again I think this needs looking at from someone who knows the codebase!