From 28af8da72ec462d0be0fc17cc31d46cf64ae2a7263f67ada1ffc905b73d4a613 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 22 Oct 2013 13:47:05 +0000 Subject: [PATCH] Accepting request 204304 from home:TheBlackCat:branches:devel:languages:python update to 4.3.2 OBS-URL: https://build.opensuse.org/request/show/204304 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=28 --- beautifulsoup4-4.2.1.tar.gz | 3 --- beautifulsoup4-4.3.2.tar.gz | 3 +++ python-beautifulsoup4.changes | 48 +++++++++++++++++++++++++++++++++++ python-beautifulsoup4.spec | 2 +- 4 files changed, 52 insertions(+), 4 deletions(-) delete mode 100644 beautifulsoup4-4.2.1.tar.gz create mode 100644 beautifulsoup4-4.3.2.tar.gz diff --git a/beautifulsoup4-4.2.1.tar.gz b/beautifulsoup4-4.2.1.tar.gz deleted file mode 100644 index fa62711..0000000 --- a/beautifulsoup4-4.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5087c13b36fd16931e1bcb3172ba0f81b38a47336694c779a14232ba36da149 -size 139839 diff --git a/beautifulsoup4-4.3.2.tar.gz b/beautifulsoup4-4.3.2.tar.gz new file mode 100644 index 0000000..1800424 --- /dev/null +++ b/beautifulsoup4-4.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2b29bd048ca2fe54a046b29770964738872a9747003a371344a93eedf7ad58e +size 143356 diff --git a/python-beautifulsoup4.changes b/python-beautifulsoup4.changes index 74d9d37..7689a95 100644 --- a/python-beautifulsoup4.changes +++ b/python-beautifulsoup4.changes @@ -1,3 +1,51 @@ +------------------------------------------------------------------- +Tue Oct 22 13:00:00 UTC 2013 - toddrme2178@gmail.com + +- update to 4.3.2 + * Fixed a bug in which short Unicode input was improperly encoded to + ASCII when checking whether or not it was the name of a file on + disk. [bug=1227016] + * Fixed a crash when a short input contains data not valid in + filenames. [bug=1232604] + * Fixed a bug that caused Unicode data put into UnicodeDammit to + return None instead of the original data. [bug=1214983] + * Combined two tests to stop a spurious test failure when tests are + run by nosetests. [bug=1212445] +- update to 4.3.1 + * Fixed yet another problem with the html5lib tree builder, caused by + html5lib's tendency to rearrange the tree during + parsing. [bug=1189267] + * Fixed a bug that caused the optimized version of find_all() to + return nothing. [bug=1212655] +- update to 4.3.0 + * Instead of converting incoming data to Unicode and feeding it to the + lxml tree builder in chunks, Beautiful Soup now makes successive + guesses at the encoding of the incoming data, and tells lxml to + parse the data as that encoding. Giving lxml more control over the + parsing process improves performance and avoids a number of bugs and + issues with the lxml parser which had previously required elaborate + workarounds: + - An issue in which lxml refuses to parse Unicode strings on some + systems. [bug=1180527] + - A returning bug that truncated documents longer than a (very + small) size. [bug=963880] + - A returning bug in which extra spaces were added to a document if + the document defined a charset other than UTF-8. [bug=972466] + This required a major overhaul of the tree builder architecture. If + you wrote your own tree builder and didn't tell me, you'll need to + modify your prepare_markup() method. + * The UnicodeDammit code that makes guesses at encodings has been + split into its own class, EncodingDetector. A lot of apparently + redundant code has been removed from Unicode, Dammit, and some + undocumented features have also been removed. + * Beautiful Soup will issue a warning if instead of markup you pass it + a URL or the name of a file on disk (a common beginner's mistake). + * A number of optimizations improve the performance of the lxml tree + builder by about 33%, the html.parser tree builder by about 20%, and + the html5lib tree builder by about 15%. + * All find_all calls should now return a ResultSet object. Patch by + Aaron DeVore. [bug=1194034] + ------------------------------------------------------------------- Fri Jul 19 17:07:52 UTC 2013 - berendt@b1-systems.de diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index 985057f..602a9f4 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -17,7 +17,7 @@ Name: python-beautifulsoup4 -Version: 4.2.1 +Version: 4.3.2 Release: 0 Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping License: MIT