Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
TST/BUG: fix bs4 tests that were getting erroneously run when lxml is installed but not bs4 #3741
Conversation
|
also maybe list the deps for lxml as well e.g. |
|
fyi....i get this on 32-bit machine.....(this is on master)
|
|
can u post a link to your vagrant box so i can tinker |
|
you're not using anaconda correct? |
|
oh gosh |
|
not using anaconda! how do I post a link to my box? |
|
i think |
|
why the heck is only ONE test failing here?!? |
|
alright....what e-mail address? |
|
cpcloud@gmail.com
|
|
ok....sent you the link...prob about 1 more hour till upload is done ...big file 1.7gb! |
|
whew that's big. thanks. here's the output of my current precise32 setup
|
|
I have bs4 4.0.2 |
|
tried with that and can repro |
|
@jreback drop into import bs4
soup = bs4.BeautifulSoup(self._setup_build_doc())
soupand you will see the root of the error is invalid markup. |
|
this pr fixes that failing test |
|
hmm....mine actually looks ok (it returns a big string), no error |
|
it had to with the integrity of |
|
u don't get a bunch of extra whitespace? |
|
fyi...also not sure if you can grab a bs4/lxml error message and put that on your no tables message, e.g. AssertionError("not tables: ") or something |
|
when i print soup just prints an html like string |
|
hm check out what i get:
|
|
with
|
|
dl'ing ur vagrant box now...2 MB ish / sec shouldn't be too long |
|
hmmm...i get what looks like valid output..... |
|
dude it's so cool that u can send me a whole computer over the interwebz |
|
i get the same extra whitespace with ur vagrant box |
|
|
oh....ok....then that is fine (that's what your fix did) weird that it doesn't raise? |
|
i literally did nothing except download it followed by |
|
the markup must be "more parseable" in the lastest version (the data set is updated every monday) |
|
ahh...ok....well good that it checked otu |
|
anyway i'm going to submit a couple of prs addressing the following. this is my first ever case of real honest-to-goodness dependency hell. i think i've sprouted a couple of gray hairs... 1st pr
2nd
|
|
completely OT: how does one become a member of pydata? |
|
wesm grants priv to push to master (and group membership) you r prob deserving :) |
|
ah ok. thanks! |
|
sounds good |
|
yep that's what i have. interesting and short read about the statistics of html tables. |
|
ready to merge? |
|
Not just yet I think might need to rebase I'm not at my computer just yet so I can't check. If I don't need to then it's ready 2 go. |
|
added release and what's new...ready to merge |
|
mergine.....3.2.1 |
jreback
added a commit
that referenced
this pull request
Jun 4, 2013
|
|
jreback |
2787d08
|
cpcloud commentedJun 3, 2013
No description provided.