[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python
From: |
Andreas Enge |
Subject: |
Re: Python |
Date: |
Sat, 25 Feb 2023 19:29:24 +0100 |
Am Sat, Feb 25, 2023 at 07:00:30PM +0100 schrieb Andreas Enge:
> It is also a propagated input of python-feedparser
And this fails its tests after disabling the tests of python-sgmllib3k,
even after updating to its latest version 6.0.10, like below.
Then why I was at it, I also disabled the tests of python-feedparser.
But then quodlibet fails its tests...
Andreas
======================================================================
FAIL: test_000629 (__main__.TestStrictParser)
./tests/wellformed/sanitize/xml_declaration_unexpected_character.xml: xml
declaration unexpected character
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/guix-build-python-feedparser-6.0.10.drv-0/feedparser-6.0.10/tests/runtests.py",
line 912, in fn
self.fail_unless_eval(xmlfile, eval_string)
File
"/tmp/guix-build-python-feedparser-6.0.10.drv-0/feedparser-6.0.10/tests/runtests.py",
line 173, in fail_unless_eval
env = feedparser.parse(xmlfile)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/api.py",
line 263, in parse
saxparser.parse(source)
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/xml/sax/expatreader.py",
line 111, in parse
xmlreader.IncrementalParser.parse(self, source)
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/xml/sax/xmlreader.py",
line 125, in parse
self.feed(buffer)
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/xml/sax/expatreader.py",
line 217, in feed
self._parser.Parse(data, isFinal)
File "./Modules/pyexpat.c", line 468, in EndElement
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/xml/sax/expatreader.py",
line 381, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/parsers/strict.py",
line 124, in endElementNS
self.unknown_endtag(localname)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 321, in unknown_endtag
method()
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/namespaces/_base.py",
line 385, in _end_title
value = self.pop_content('title')
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 629, in pop_content
value = self.pop(tag)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 543, in pop
output = resolve_relative_uris(output, self.baseuri, self.encoding,
self.contentparams.get('type', 'text/html'))
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/urls.py",
line 154, in resolve_relative_uris
p.feed(html_source)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/html.py",
line 156, in feed
super(_BaseHTMLProcessor, self).feed(data)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 98, in feed
self.goahead(0)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 168, in goahead
k = self.parse_declaration(i)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/html.py",
line 351, in parse_declaration
return sgmllib.SGMLParser.parse_declaration(self, i)
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/_markupbase.py",
line 134, in parse_declaration
raise AssertionError("unexpected %r char in declaration" % rawdata[j])
AssertionError: unexpected '~' char in declaration
======================================================================
FAIL: test_000629 (__main__.TestLooseParser)
./tests/wellformed/sanitize/xml_declaration_unexpected_character.xml: xml
declaration unexpected character
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 352, in finish_endtag
method = getattr(self, 'end_' + tag)
AttributeError: 'LooseFeedParser' object has no attribute 'end_title'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/tmp/guix-build-python-feedparser-6.0.10.drv-0/feedparser-6.0.10/tests/runtests.py",
line 912, in fn
self.fail_unless_eval(xmlfile, eval_string)
File
"/tmp/guix-build-python-feedparser-6.0.10.drv-0/feedparser-6.0.10/tests/runtests.py",
line 173, in fail_unless_eval
env = feedparser.parse(xmlfile)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/api.py",
line 272, in parse
feedparser.feed(data.decode('utf-8', 'replace'))
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/html.py",
line 156, in feed
super(_BaseHTMLProcessor, self).feed(data)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 98, in feed
self.goahead(0)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 137, in goahead
k = self.parse_endtag(i)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 314, in parse_endtag
self.finish_endtag(tag)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 354, in finish_endtag
self.unknown_endtag(tag)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 321, in unknown_endtag
method()
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/namespaces/_base.py",
line 385, in _end_title
value = self.pop_content('title')
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 629, in pop_content
value = self.pop(tag)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/mixin.py",
line 543, in pop
output = resolve_relative_uris(output, self.baseuri, self.encoding,
self.contentparams.get('type', 'text/html'))
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/urls.py",
line 154, in resolve_relative_uris
p.feed(html_source)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/html.py",
line 156, in feed
super(_BaseHTMLProcessor, self).feed(data)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 98, in feed
self.goahead(0)
File
"/gnu/store/map94l87lb8fxb6q0szwg02sq0r3s74w-python-sgmllib3k-1.0.0-1.7999646/lib/python3.10/site-packages/sgmllib.py",
line 168, in goahead
k = self.parse_declaration(i)
File
"/gnu/store/ipizx6yzh9ndb58xp0fhfmdgikw160d9-python-feedparser-6.0.10/lib/python3.10/site-packages/feedparser/html.py",
line 351, in parse_declaration
return sgmllib.SGMLParser.parse_declaration(self, i)
File
"/gnu/store/blals34ar25fiifvm17m2b504waxzys0-python-3.10.7/lib/python3.10/_markupbase.py",
line 134, in parse_declaration
raise AssertionError("unexpected %r char in declaration" % rawdata[j])
AssertionError: unexpected '~' char in declaration
----------------------------------------------------------------------
Ran 4335 tests in 3.675s
FAILED (failures=2)
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("tests/runtests.py")
exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 4.0 seconds
command "python" "tests/runtests.py" failed with status 1
builder for
`/gnu/store/xdmf42yd69nhbrwvjs5fhqz2m2774xc7-python-feedparser-6.0.10.drv'
failed with exit code 1
build of
/gnu/store/xdmf42yd69nhbrwvjs5fhqz2m2774xc7-python-feedparser-6.0.10.drv failed
View build log at
'/var/log/guix/drvs/xd/mf42yd69nhbrwvjs5fhqz2m2774xc7-python-feedparser-6.0.10.drv.gz'.
- Re: Python, (continued)
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Lars-Dominik Braun, 2023/02/25
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Lars-Dominik Braun, 2023/02/25
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python, Lars-Dominik Braun, 2023/02/27
- Re: Python, Andreas Enge, 2023/02/28
- Re: Python,
Andreas Enge <=
- Re: Python, Efraim Flashner, 2023/02/27
- Re: Python, Lars-Dominik Braun, 2023/02/27
- Re: Python (was: Merging core-updates?), Andreas Enge, 2023/02/21
- Re: Python (was: Merging core-updates?), Lars-Dominik Braun, 2023/02/19
- Re: Python (was: Merging core-updates?), Andreas Enge, 2023/02/19
- Re: Python (was: Merging core-updates?), Lars-Dominik Braun, 2023/02/19
- Re: Python, Andreas Enge, 2023/02/19
- Re: Python, Andreas Enge, 2023/02/25
- Re: Python (was: Merging core-updates?), Andreas Enge, 2023/02/19
- Re: Python (was: Merging core-updates?), Andreas Enge, 2023/02/19