>>> Source compiled. * python3_2: running distutils-r1_run_phase python_test * python2_7: running distutils-r1_run_phase python_test .........................................................../var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python2_7/lib/bs4/__init__.py:377: UserWarning: The BeautifulStoneSoup class is deprecated. Instead of using it, pass features="xml" into the BeautifulSoup constructor. 'The BeautifulStoneSoup class is deprecated. Instead of using ' ....................................................E........................................................................................................................................................................................../var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/__init__.py:377: UserWarning: The BeautifulStoneSoup class is deprecated. Instead of using it, pass features="xml" into the BeautifulSoup constructor. 'The BeautifulStoneSoup class is deprecated. Instead of using ' .............................................E.......................E............................................................................................................................................................................................................................................ ====================================================================== ERROR: test_beautifulstonesoup (bs4.tests.test_soup.TestDeprecatedConstructorArguments) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python2_7/lib/bs4/tests/test_soup.py", line 69, in test_beautifulstonesoup self.assertTrue("BeautifulStoneSoup class is deprecated" in str(w[0].message)) IndexError: list index out of range ---------------------------------------------------------------------- Ran 341 tests in 0.691s FAILED (errors=1) ............ * ERROR: dev-python/beautifulsoup-4.3.1::gentoo failed (test phase): .. * Tests fail with python2.7 .. * .... * Call stack: ............. * ebuild.sh, line 93: Called src_test .......................... * environment, line 3575: Called distutils-r1_src_test ................. * environment, line 1109: Called _distutils-r1_run_foreach_impl 'python_test' .. ====================================================================== ERROR: test_smart_quotes_converted_on_the_way_in (bs4.tests.test_lxml.LXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/testing.py", line 337, in test_smart_quotes_converted_on_the_way_in soup = self.soup(quote) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/testing.py", line 29, in soup return BeautifulSoup(markup, builder=builder, **kwargs) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/__init__.py", line 183, in __init__ self._feed() File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/__init__.py", line 197, in _feed self.builder.feed(self.markup) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/builder/_lxml.py", line 226, in feed self.parser.close() File "parser.pxi", line 1209, in lxml.etree._FeedParser.close (src/lxml/lxml.etree.c:90597) File "parsertarget.pxi", line 136, in lxml.etree._TargetParserContext._handleParseResult (src/lxml/lxml.etree.c:99900) File "parsertarget.pxi", line 130, in lxml.etree._TargetParserContext._handleParseResult (src/lxml/lxml.etree.c:99807) File "lxml.etree.pyx", line 294, in lxml.etree._ExceptionContext._raise_if_stored (src/lxml/lxml.etree.c:9383) TypeError: function takes exactly 5 arguments (1 given) ====================================================================== ERROR: test_beautifulstonesoup (bs4.tests.test_soup.TestDeprecatedConstructorArguments) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.1/work/beautifulsoup4-4.3.1-python3_2/lib/bs4/tests/test_soup.py", line 69, in test_beautifulstonesoup self.assertTrue("BeautifulStoneSoup class is deprecated" in str(w[0].message)) IndexError: list index out of range ---------------------------------------------------------------------- Ran 341 tests in 0.719s FAILED (errors=2) Portage 2.2.0 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.7-gentoo x86_64) ================================================================= System uname: Linux-3.10.7-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 32922288 total, 2280144 free KiB Swap: 8388604 total, 8388604 free Timestamp of tree: Unknown ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r1, 3.2.5-r1, 3.3.2-r1 dev-util/cmake: 2.8.11.1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.12.6, 1.13.4, 1.14 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.10 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo x-sunrise ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/sunrise" USE="X a52 aac acl acpi alisp alsa amd64 aria assistant berkdb bluetooth branding bzip2 cairo cdda cdr cgi cli compat consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emacs emboss encode examples exif fam firefox flac fontconfig fortran gcj gd gdbm geos gif gpm gtk iconv icu ipv6 ithreads jpeg kde kdrive kipi lcms ldap libnotify mad minizip mmx mng modules mp3 mp4 mpeg mssql mudflap multilib mysql ncurses nls nptl objc ocaml ogg opengl openmp pam pango pcre pdf perl plasma png policykit ppds pyqt4 python qt3support qt4 readline script sdl semantic-desktop session soundex spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xa xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint intel mach64 nouveau nv r128 radeon savage sis tdfx trident v4l vesa via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
New failures in 4.3.2: >>> Source compiled. * python3_3: running distutils-r1_run_phase python_test .............................................................................................E.....F....F.EFF.......................................................................................................................................................................................................................................... ====================================================================== ERROR: test_smart_quotes_converted_on_the_way_in (bs4.tests.test_lxml.LXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 337, in test_smart_quotes_converted_on_the_way_in soup = self.soup(quote) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 29, in soup return BeautifulSoup(markup, builder=builder, **kwargs) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/__init__.py", line 196, in __init__ self._feed() File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/__init__.py", line 210, in _feed self.builder.feed(self.markup) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/builder/_lxml.py", line 226, in feed self.parser.close() File "parser.pxi", line 1209, in lxml.etree._FeedParser.close (src/lxml/lxml.etree.c:90682) File "parsertarget.pxi", line 136, in lxml.etree._TargetParserContext._handleParseResult (src/lxml/lxml.etree.c:99839) File "parsertarget.pxi", line 130, in lxml.etree._TargetParserContext._handleParseResult (src/lxml/lxml.etree.c:99746) File "lxml.etree.pyx", line 291, in lxml.etree._ExceptionContext._raise_if_stored (src/lxml/lxml.etree.c:9384) TypeError: function takes exactly 5 arguments (1 given) ====================================================================== ERROR: test_namespaces_are_preserved (bs4.tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 529, in test_namespaces_are_preserved self.assertEqual("http://example.com/", root['xmlns:a']) File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/element.py", line 905, in __getitem__ return self.attrs[key] KeyError: 'xmlns:a' ====================================================================== FAIL: test_closing_namespaced_tag (bs4.tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 535, in test_closing_namespaced_tag self.assertEqual(str(soup.p), markup) AssertionError: '<p><date>20010504</date></p>' != '<p xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:date>20010504</dc:date></p>' [truncated]... - <p><date>20010504</date></p> + <p xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:date>20010504</dc:date></p> ====================================================================== FAIL: test_namespaced_attributes (bs4.tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 540, in test_namespaced_attributes self.assertEqual(str(soup.foo), markup) AssertionError: '<foo><bar schemaLocation="http://www.example.com"/></foo>' != '<foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><bar xsi:schemaLocat [truncated]... - <foo><bar schemaLocation="http://www.example.com"/></foo> + <foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><bar xsi:schemaLocation="http://www.example.com"/></foo> ====================================================================== FAIL: test_popping_namespaced_tag (bs4.tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 504, in test_popping_namespaced_tag str(soup.rss), markup) AssertionError: '<rss><creator>b</creator><date>2012-07-02T20:33:42Z</date><rights>c</rights><im [truncated]... != '<rss xmlns:dc="foo"><dc:creator>b</dc:creator><dc:date>2012-07-02T20:33:42Z</dc [truncated]... - <rss><creator>b</creator><date>2012-07-02T20:33:42Z</date><rights>c</rights><image>d</image></rss> + <rss xmlns:dc="foo"><dc:creator>b</dc:creator><dc:date>2012-07-02T20:33:42Z</dc:date><dc:rights>c</dc:rights><image>d</image></rss> ? +++++++++++++++ +++ +++ +++ +++ +++ +++ ====================================================================== FAIL: A real XHTML document should come out *exactly* the same as it went in. ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/beautifulsoup-4.3.2/work/beautifulsoup4-4.3.2-python3_3/lib/bs4/testing.py", line 481, in test_real_xhtml_document soup.encode("utf-8"), markup) AssertionError: b'<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html>\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>' != b'<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>' ---------------------------------------------------------------------- Ran 343 tests in 0.517s FAILED (errors=2, failures=4) * ERROR: dev-python/beautifulsoup-4.3.2::gentoo failed (test phase): * Tests fail with python3.3
Please bump, this version is required for subliminal-0.7.3 Even if some tests fail, you can restrict them.
tests pass now