Source: cssutils
Version: 1.0.2-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Disable tests requiring internet access.
> PYBUILD_SYSTEM=custom \
>     PYBUILD_TEST_ARGS_python3="nosetests3 -v \
>                                        --exclude=test_parseUrl \
>                                        --exclude=test_handlers \
>                                        --py3where 
> {build_dir}/cssutils/tests;" \
>     dh_auto_test
> I: pybuild base:239: nosetests3 -v                                     
> --exclude=test_parseUrl                                         
> --exclude=test_handlers                                         --py3where 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests;
> codec.decode (force) ... ok
> codecs.decoder ... ok
> codec.detectencoding_str() ... ok
> codec.detectencoding_unicode() ... ok
> codec.encoder ... ok
> codec._fixencoding() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSCharsetRule InvalidModificationErr ... ok
> CSSCharsetRule.cssText ... ok
> CSSCharsetRule.encoding ... ok
> CSSCharsetRule.__init__() ... ok
> CSSCharsetRule.__init__(encoding) ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSCharsetRule.__repr__() ... ok
> CSSCharsetRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSComment.cssText InvalidModificationErr ... ok
> CSSComment.cssText ... ok
> CSSComment.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSComment.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSFontFaceRule.cssText InvalidModificationErr ... ok
> CSSFontFaceRule.cssText ... ok
> CSSFontFaceRule (incomplete) ... ok
> CSSFontFaceRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSFontFaceRule.style properties ... ok
> CSSRule readonly ... ok
> CSSFontFaceRule.__repr__(), .__str__() ... ok
> CSSFontFaceRule.style (and references) ... ok
> CSSFontFaceRule.valid ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSImportRule.cssText InvalidModificationErr ... ok
> CSSImportRule.cssText ... ok
> CSSImportRule.href ... ok
> CSSImportRule.hrefFound ... ok
> CSSImportRule.hreftype ... ok
> CSSImportRule (incomplete) ... ok
> CSSImportRule.__init__() ... ok
> CSSImportRule.media ... ok
> CSSImportRule.name ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSImportRule.__repr__(), .__str__() ... ok
> CSSImportRule.styleSheet ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSMediaRule.cssText InvalidModificationErr ... ok
> CSSMediaRule.add() ... ok
> CSSMediaRule.cssRules ... ok
> CSSMediaRule.cssText ... ok
> CSSMediaRule.deleteRule(rule) ... ok
> CSSMediaRule.deleteRule(index) ... ok
> CSSMediaRule (incomplete) ... ok
> CSSMediaRule.__init__() ... ok
> CSSMediaRule.insertRule ... ok
> CSSMediaRule.__iter__() ... ok
> CSSMediaRule.media ... ok
> CSSMediaRule.name ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSStylesheet references ... ok
> CSSMediaRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSNamespaceRule.cssText InvalidModificationErr ... ok
> CSSNamespaceRule.cssText ... ok
> CSSNamespaceRule (incomplete) ... ok
> CSSNamespaceRule.__init__() ... ok
> CSSNamespaceRule.namespaceURI ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSNamespaceRule.prefix ... ok
> CSSRule readonly ... ok
> CSSNamespaceRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSPageRule.cssText InvalidModificationErr ... ok
> CSSPageRule.cssRules ... ok
> CSSPageRule.cssText ... ok
> CSSPageRule.cssText 2 ... ok
> CSSPageRule (incomplete) ... ok
> CSSPageRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSPageRule.style properties ... ok
> CSSRule readonly ... ok
> CSSPageRule.__repr__(), .__str__() ... ok
> CSSPageRule.selectorText ... ok
> CSSPageRule.specificity ... ok
> CSSPageRule.style (and references) ... ok
> CSS2Properties ... ok
> cssproperties _toCSSname(DOMname) ... ok
> cssproperties _toDOMname(CSSname) ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSRuleList.__init__() ... ok
> CSSRuleList.rulesOfType() ... ok
> CSSStyleDeclaration.__contains__(nameOrProperty) ... ok
> CSSStyleDeclaration.__iter__ and .item ... ok
> CSSStyleDeclaration.children() ... ok
> CSSStyleDeclaration.$css2property get set del ... ok
> CSSStyleDeclaration.cssText ... ok
> CSSStyleDeclaration.getCssText(separator) ... ok
> CSSStyleDeclaration.getProperties() ... ok
> CSSStyleDeclaration.getProperty ... ok
> CSSStyleDeclaration.getPropertyCSSValue() ... ok
> CSSStyleDeclaration.getPropertyPriority() ... ok
> CSSStyleDeclaration.getPropertyValue() ... ok
> CSSStyleDeclaration.__init__() ... ok
> CSSStyleDeclaration[CSSName] ... ok
> CSSStyleDeclaration.keys() ... ok
> CSSStyleDeclaration.length ... ok
> CSSStyleDeclaration.XXX(name) ... ok
> CSSStyleDeclaration.parentRule ... ok
> CSSStyleDeclaration parse ... ok
> CSSStyleDeclaration.removeProperty() ... ok
> CSSStyleDeclaration.__repr__(), .__str__() ... ok
> CSSStyleDeclaration serialize ... ok
> CSSStyleDeclaration.setProperty(replace=) ... ok
> CSSStyleDeclaration.valid ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSStyleRule.cssText ... ok
> CSSStyleRule (incomplete) ... ok
> CSSStyleRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSStyleRule references ... ok
> CSSStyleRule.__repr__(), .__str__() ... ok
> CSSStyleRule.selectorList ... ok
> CSSStyleRule.selectorText ... ok
> CSSStyleRule.style ... ok
> CSSStyleRule.valid ... ok
> CSSStyleSheet CDO CDC ... ok
> CSSStyleSheet NoModificationAllowedErr ... ok
> CSSStyleSheet.add() ... ok
> test_addimport (cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase) ... 
> ok
> CSSStyleSheet.cssRules ... ok
> CSSStyleSheet.cssText ... ok
> CSSStyleSheet.cssText HierarchyRequestErr ... ok
> CSSStyleSheet.cssText SyntaxErr ... ok
> CSSStyleSheet.deleteRule(rule) ... ok
> CSSStyleSheet.deleteRule(index) ... ok
> CSSStyleSheet.encoding ... ok
> CSSStyleRule (incomplete) ... ok
> CSSStyleSheet.__init__() ... ok
> CSSStyleSheet.insertRule() ... ok
> CSSStyleSheet.insertRule(@charset) ... ok
> CSSStyleSheet.insertRule(@import) ... ok
> CSSStyleSheet.insertRule(@media, @page, stylerule) ... ok
> CSSStyleSheet.insertRule(@namespace) ... ok
> CSSStyleSheet.insertRule(@ unknown, comment) ... ok
> CSSStyleSheet.__iter__() ... ok
> CSSStyleSheet.namespaces.namespaces ... ok
> CSSStyleSheet.namespaces ... ok
> CSSStyleSheet.namespaces 3 ... ok
> CSSStyleSheet.namespaces 4 ... ok
> CSSStyleSheet.namespaces 5 ... ok
> CSSStylesheet references ... ok
> CSSStyleSheet.__repr__(), .__str__() ... ok
> test_valid (cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase) ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSUnknownRule.cssText InvalidModificationErr ... ok
> CSSUnknownRule.cssText ... ok
> CSSUnknownRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSUnknownRule.__repr__(), .__str__() ... ok
> test_VERSION (cssutils.tests.test_cssutils.CSSutilsTestCase) ... ok
> cssutils.getUrls() ... ok
> cssutils.parseFile() ... ok
> cssutils.parseString() ... ok
> cssutils.parseStyle() ... ok
> cssutils.replaceUrls() ... ok
> cssutils.resolveImports(sheet) ... ok
> cssutils.setSerializer() and cssutils.ser ... ok
> from cssutils import * ... ok
> CSSVariablesDeclaration.__contains__(name) ... ok
> CSSVariablesDeclaration.cssText ... ok
> CSSVariables imports ... ok
> CSSVariablesDeclaration.__init__() ... ok
> CSSVariablesDeclaration[variableName] ... ok
> CSSVariablesDeclaration.keys() ... ok
> CSSVariablesDeclaration.parentRule ... ok
> CSSVariablesDeclaration.__repr__(), .__str__() ... ok
> CSSVariablesDeclaration.xVariable() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSVariablesRule.cssText InvalidModificationErr ... ok
> CSSVariablesRule ... ok
> CSSVariablesRule (incomplete) ... ok
> CSSVariablesRule.__init__() ... ok
> CSSVariablesRule.media ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSVariablesRule.__repr__(), .__str__() ... ok
> CSSVariablesRule.variables ... ok
> DOMImplementationCSS.createCSSStyleSheet() ... ok
> DOMImplementationCSS.createDocument() ... ok
> DOMImplementationCSS.createDocumentType() ... ok
> DOMImplementationCSS.hasFeature() ... ok
> encutils.detectXMLEncoding ... ok
> encutils.encodingByMediaType ... ok
> encutils.getEncodingInfo ... ok
> encutils.getMetaInfo ... ok
> encutils._getTextType ... ok
> encutils._getTextTypeByMediaType ... ok
> encutils.tryEncodings ... ok
> cssutils.log.* ... ok
> cssutils.log line col ... ok
> test_parsevalidation (cssutils.tests.test_errorhandler.ErrorHandlerTestCase) 
> ... ok
> helper._normalize() ... ok
> helper.string() ... ok
> helper.stringvalue() ... ok
> helper.uri() ... ok
> helper.urivalue() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> MarginRule.cssText InvalidModificationErr ... ok
> test_cssText (cssutils.tests.test_marginrule.MarginRuleTestCase) ... ok
> MarginRule (incomplete) ... ok
> MarginRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> MarginRule.__repr__(), .__str__() ... ok
> MediaList all ... ok
> MediaList.append() 2 ... ok
> MediaList.appendMedium() 1 ... ok
> MediaList.mediaText comments ... ok
> MediaList.deleteMedium() ... ok
> MediaList.item() ... ok
> MediaList.mediaText 2 ... ok
> MediaList.__repr__(), .__str__() ... ok
> MediaList.mediaText 1 ... ok
> MediaQuery.mediaText comments ... ok
> MediaQuery.mediaText ... ok
> MediaQuery.mediaType ... ok
> MediaQuery.__repr__(), .__str__() ... ok
> cssutils.parseString(href, media) ... ok
> cssutils escapes ... ok
> CSSParser.fetcher ... ok
> IEhack: $property (not since 0.9.5b3) ... ok
> CSSParser.__init__() ... ok
> cssutils.parseString(INVALID_CSS) ... ok
> cssutils.parseString(INVALID_STRING) ... ok
> cssutils.parseString nesting ... ok
> cssutils.CSSParser(parseComments=False) ... ok
> CSSParser.parseString() ... ok
> cssutils encodings ... ok
> cssutils.parseString(special_case) ... ok
> CSSParser(validate) ... ok
> Choice.__init__() ... ok
> Choice.matches() ... ok
> Choice with nested Sequence ... ok
> Choice.reset() ... ok
> ProdParser.parse() 2 ... ok
> ProdParser.parse(keepS) ... ok
> Prod.__init__(...) ... ok
> Prod.__init__(...match=...) ... ok
> Prod.__init__(...toSeq=...) ... ok
> Prod.__init__(...toStore=...) ... ok
> Prod.matches(token) ... ok
> Sequence.__init__() ... ok
> Sequence.__init__(...minmax=...) ... ok
> Sequence.matches() ... ok
> Sequence.nextProd() ... ok
> Sequence.optional ... ok
> Sequence.reset() ... ok
> Profiles.addProfile with custom validation function ... ok
> CSS Color Module Level 3 ... ok
> Profiles.knownNames ... ok
> Profiles.profiles ... ok
> Profiles.propertiesByProfile ... ok
> Profiles.removeProfile() ... ok
> Profiles.validate() ... ok
> Profiles.validate() ... ok
> properties ... ok
> Property.validate() and Property.valid ... ok
> Property.cssText ... ok
> Property.__init__() ... ok
> Property.literalname ... FAIL
> Property.name ... ok
> Property.priority ... ok
> Property.__repr__(), .__str__() ... ok
> Property.valid ... ok
> Property.value ... ok
> scripts.csscombine() ... ok
> scripts.csscombine(minify=..., resolveVariables=...) ... ok
> Selector.namespaces default ... ok
> Selector.element (TODO: RESOLVE) ... ok
> Selector.__init__() ... ok
> Selector.namespaces ... ok
> Selector.parent ... ok
> Selector.__repr__(), .__str__() ... ok
> Selector.selectorText ... ok
> Selector.specificity ... FAIL
> SelectorList.appendSelector() and .length ... ok
> SelectorList.__init__() and .length ... ok
> Selector.parentRule ... ok
> SelectorList.__repr__(), .__str__() ... ok
> SelectorList.selectorText ... ok
> CSSSerializer.do_CSSStyleSheet ... ok
> CSSSerializer.do_Property ... ok
> test_canonical (cssutils.tests.test_serialize.CSSSerializerTestCase) ... ok
> CSSSerializer._escapestring ... ok
> Preferences.defaultAtKeyword ... ok
> Preferences.defaultPropertyName ... ok
> Preferences.defaultPropertyPriority ... ok
> Preferences.importHrefFormat ... ok
> Preferences.ident ... ok
> Preferences.indentClosingBrace ... ok
> Preferences.keepAllProperties ... ok
> Preferences.keepComments ... ok
> Preferences.keepEmptyRules ... ok
> Preferences.keepUnknownAtRules ... ok
> Preferences.keepUsedNamespaceRulesOnly ... ok
> Preferences.lineNumbers ... ok
> Preferences.lineSeparator ... ok
> Preferences.listItemSpacer ... ok
> Preferences.minimizeColorHash ... ok
> Preferences.normalizedVarNames ... ok
> Preferences.omitLastSemicolon ... ok
> Preferences.paranthesisSpacer ... ok
> Preferences.propertyNameSpacer ... ok
> Preferences.resolveVariables ... ok
> Preferences.selectorCombinatorSpacer ... ok
> test_spacer (cssutils.tests.test_serialize.PreferencesTestCase) ... ok
> Preferences.useDefaults() ... ok
> Preferences.useMinified() ... ok
> Preferences.validOnly ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> settings.set() ... ok
> StyleSheet.__init__() ... ok
> cssutils Tokenizer().tokenize() ... ok
> cssutils Tokenizer().tokenize(fullsheet=True) ... ok
> test_has_at('foo', 0, 'foo', True) ... ok
> test_has_at('foo', 0, 'f', True) ... ok
> test_has_at('foo', 1, 'o', True) ... ok
> test_has_at('foo', 1, 'oo', True) ... ok
> test_has_at('foo', 4, 'foo', False) ... ok
> test_has_at('foo', 0, 'bar', False) ... ok
> test_has_at('foo', 0, 'foobar', False) ... ok
> test_suffix_eq('foobar', 0, 'foobar', True) ... ok
> test_suffix_eq('foobar', 3, 'bar', True) ... ok
> test_suffix_eq('foobar', 3, 'foo', False) ... ok
> test_suffix_eq('foobar', 10, 'bar', False) ... ok
> Base._normalize() ... ok
> Base._tokensupto2() ... ok
> util.ListSeq ... ok
> test_calling (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_ensure (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_findall (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_finditer (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_flags (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_groupindex (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_groups (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_matching (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_matching_with_position_parameters 
> (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_pattern (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_public_interface (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_searching (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_searching_with_position_parameters 
> (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_split (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_sub (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_subn (cssutils.tests.test_util.TestLazyRegex) ... ok
> CSSFunction.cssText ... ok
> CSSFunction.__init__() ... ok
> CSSVariable.cssText ... ok
> CSSVariable.__init__() ... ok
> ColorValue.cssText ... ok
> ColorValue.__init__() ... ok
> ColorValue.red .green .blue ... ok
> DimensionValue.cssText ... ok
> DimensionValue.__init__() ... ok
> PropertyValue with comment ... ok
> PropertyValue.cssText ... ok
> PropertyValue (incomplete) ... ok
> PropertyValue.__init__() .item() .length ... ok
> PropertyValue[index] ... ok
> PropertyValue._readonly ... ok
> PropertyValue.__repr__(), .__str__() ... ok
> URIValue.absoluteUri ... ok
> URIValue.cssText ... ok
> URIValue.__init__() ... ok
> Value.cssText ... ok
> Value.__init__() ... ok
> Property.priority ... ok
> 
> ======================================================================
> FAIL: Property.literalname
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/basetest.py",
>  line 131, in assertRaisesMsg
>     callableObj(*args, **kwargs)
> AttributeError: can't set attribute 'literalname'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/test_property.py",
>  line 162, in test_literalname
>     self.assertRaisesMsg(AttributeError, "can't set attribute", p.__setattr__,
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/basetest.py",
>  line 142, in assertRaisesMsg
>     raise self.failureException(
> AssertionError: Right exception, wrong message: got 'can't set attribute 
> 'literalname'' instead of 'can't set attribute'
> 
> ======================================================================
> FAIL: Selector.specificity
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/basetest.py",
>  line 131, in assertRaisesMsg
>     callableObj(*args, **kwargs)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/test_selector.py",
>  line 411, in _set
>     def _set(): selector.specificity = 1
> AttributeError: can't set attribute 'specificity'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/test_selector.py",
>  line 412, in test_specificity
>     self.assertRaisesMsg(AttributeError, "can't set attribute", _set)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests/basetest.py",
>  line 142, in assertRaisesMsg
>     raise self.failureException(
> AssertionError: Right exception, wrong message: got 'can't set attribute 
> 'specificity'' instead of 'can't set attribute'
> 
> ----------------------------------------------------------------------
> Ran 388 tests in 1.742s
> 
> FAILED (failures=2)
> E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: 
> nosetests3 -v                                    --exclude=test_parseUrl      
>                                    --exclude=test_handlers                    
>                      --py3where 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_cssutils/build/cssutils/tests;
> I: pybuild base:239: nosetests3 -v                                     
> --exclude=test_parseUrl                                         
> --exclude=test_handlers                                         --py3where 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests;
> codec.decode (force) ... ok
> codecs.decoder ... ok
> codec.detectencoding_str() ... ok
> codec.detectencoding_unicode() ... ok
> codec.encoder ... ok
> codec._fixencoding() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSCharsetRule InvalidModificationErr ... ok
> CSSCharsetRule.cssText ... ok
> CSSCharsetRule.encoding ... ok
> CSSCharsetRule.__init__() ... ok
> CSSCharsetRule.__init__(encoding) ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSCharsetRule.__repr__() ... ok
> CSSCharsetRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSComment.cssText InvalidModificationErr ... ok
> CSSComment.cssText ... ok
> CSSComment.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSComment.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSFontFaceRule.cssText InvalidModificationErr ... ok
> CSSFontFaceRule.cssText ... ok
> CSSFontFaceRule (incomplete) ... ok
> CSSFontFaceRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSFontFaceRule.style properties ... ok
> CSSRule readonly ... ok
> CSSFontFaceRule.__repr__(), .__str__() ... ok
> CSSFontFaceRule.style (and references) ... ok
> CSSFontFaceRule.valid ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSImportRule.cssText InvalidModificationErr ... ok
> CSSImportRule.cssText ... ok
> CSSImportRule.href ... ok
> CSSImportRule.hrefFound ... ok
> CSSImportRule.hreftype ... ok
> CSSImportRule (incomplete) ... ok
> CSSImportRule.__init__() ... ok
> CSSImportRule.media ... ok
> CSSImportRule.name ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSImportRule.__repr__(), .__str__() ... ok
> CSSImportRule.styleSheet ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSMediaRule.cssText InvalidModificationErr ... ok
> CSSMediaRule.add() ... ok
> CSSMediaRule.cssRules ... ok
> CSSMediaRule.cssText ... ok
> CSSMediaRule.deleteRule(rule) ... ok
> CSSMediaRule.deleteRule(index) ... ok
> CSSMediaRule (incomplete) ... ok
> CSSMediaRule.__init__() ... ok
> CSSMediaRule.insertRule ... ok
> CSSMediaRule.__iter__() ... ok
> CSSMediaRule.media ... ok
> CSSMediaRule.name ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSStylesheet references ... ok
> CSSMediaRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSNamespaceRule.cssText InvalidModificationErr ... ok
> CSSNamespaceRule.cssText ... ok
> CSSNamespaceRule (incomplete) ... ok
> CSSNamespaceRule.__init__() ... ok
> CSSNamespaceRule.namespaceURI ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSNamespaceRule.prefix ... ok
> CSSRule readonly ... ok
> CSSNamespaceRule.__repr__(), .__str__() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSPageRule.cssText InvalidModificationErr ... ok
> CSSPageRule.cssRules ... ok
> CSSPageRule.cssText ... ok
> CSSPageRule.cssText 2 ... ok
> CSSPageRule (incomplete) ... ok
> CSSPageRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSPageRule.style properties ... ok
> CSSRule readonly ... ok
> CSSPageRule.__repr__(), .__str__() ... ok
> CSSPageRule.selectorText ... ok
> CSSPageRule.specificity ... ok
> CSSPageRule.style (and references) ... ok
> CSS2Properties ... ok
> cssproperties _toCSSname(DOMname) ... ok
> cssproperties _toDOMname(CSSname) ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSRuleList.__init__() ... ok
> CSSRuleList.rulesOfType() ... ok
> CSSStyleDeclaration.__contains__(nameOrProperty) ... ok
> CSSStyleDeclaration.__iter__ and .item ... ok
> CSSStyleDeclaration.children() ... ok
> CSSStyleDeclaration.$css2property get set del ... ok
> CSSStyleDeclaration.cssText ... ok
> CSSStyleDeclaration.getCssText(separator) ... ok
> CSSStyleDeclaration.getProperties() ... ok
> CSSStyleDeclaration.getProperty ... ok
> CSSStyleDeclaration.getPropertyCSSValue() ... ok
> CSSStyleDeclaration.getPropertyPriority() ... ok
> CSSStyleDeclaration.getPropertyValue() ... ok
> CSSStyleDeclaration.__init__() ... ok
> CSSStyleDeclaration[CSSName] ... ok
> CSSStyleDeclaration.keys() ... ok
> CSSStyleDeclaration.length ... ok
> CSSStyleDeclaration.XXX(name) ... ok
> CSSStyleDeclaration.parentRule ... ok
> CSSStyleDeclaration parse ... ok
> CSSStyleDeclaration.removeProperty() ... ok
> CSSStyleDeclaration.__repr__(), .__str__() ... ok
> CSSStyleDeclaration serialize ... ok
> CSSStyleDeclaration.setProperty(replace=) ... ok
> CSSStyleDeclaration.valid ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSStyleRule.cssText ... ok
> CSSStyleRule (incomplete) ... ok
> CSSStyleRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSStyleRule references ... ok
> CSSStyleRule.__repr__(), .__str__() ... ok
> CSSStyleRule.selectorList ... ok
> CSSStyleRule.selectorText ... ok
> CSSStyleRule.style ... ok
> CSSStyleRule.valid ... ok
> CSSStyleSheet CDO CDC ... ok
> CSSStyleSheet NoModificationAllowedErr ... ok
> CSSStyleSheet.add() ... ok
> test_addimport (cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase) ... 
> ok
> CSSStyleSheet.cssRules ... ok
> CSSStyleSheet.cssText ... ok
> CSSStyleSheet.cssText HierarchyRequestErr ... ok
> CSSStyleSheet.cssText SyntaxErr ... ok
> CSSStyleSheet.deleteRule(rule) ... ok
> CSSStyleSheet.deleteRule(index) ... ok
> CSSStyleSheet.encoding ... ok
> CSSStyleRule (incomplete) ... ok
> CSSStyleSheet.__init__() ... ok
> CSSStyleSheet.insertRule() ... ok
> CSSStyleSheet.insertRule(@charset) ... ok
> CSSStyleSheet.insertRule(@import) ... ok
> CSSStyleSheet.insertRule(@media, @page, stylerule) ... ok
> CSSStyleSheet.insertRule(@namespace) ... ok
> CSSStyleSheet.insertRule(@ unknown, comment) ... ok
> CSSStyleSheet.__iter__() ... ok
> CSSStyleSheet.namespaces.namespaces ... ok
> CSSStyleSheet.namespaces ... ok
> CSSStyleSheet.namespaces 3 ... ok
> CSSStyleSheet.namespaces 4 ... ok
> CSSStyleSheet.namespaces 5 ... ok
> CSSStylesheet references ... ok
> CSSStyleSheet.__repr__(), .__str__() ... ok
> test_valid (cssutils.tests.test_cssstylesheet.CSSStyleSheetTestCase) ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSUnknownRule.cssText InvalidModificationErr ... ok
> CSSUnknownRule.cssText ... ok
> CSSUnknownRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSUnknownRule.__repr__(), .__str__() ... ok
> test_VERSION (cssutils.tests.test_cssutils.CSSutilsTestCase) ... ok
> cssutils.getUrls() ... ok
> cssutils.parseFile() ... ok
> cssutils.parseString() ... ok
> cssutils.parseStyle() ... ok
> cssutils.replaceUrls() ... ok
> cssutils.resolveImports(sheet) ... ok
> cssutils.setSerializer() and cssutils.ser ... ok
> from cssutils import * ... ok
> CSSVariablesDeclaration.__contains__(name) ... ok
> CSSVariablesDeclaration.cssText ... ok
> CSSVariables imports ... ok
> CSSVariablesDeclaration.__init__() ... ok
> CSSVariablesDeclaration[variableName] ... ok
> CSSVariablesDeclaration.keys() ... ok
> CSSVariablesDeclaration.parentRule ... ok
> CSSVariablesDeclaration.__repr__(), .__str__() ... ok
> CSSVariablesDeclaration.xVariable() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSVariablesRule.cssText InvalidModificationErr ... ok
> CSSVariablesRule ... ok
> CSSVariablesRule (incomplete) ... ok
> CSSVariablesRule.__init__() ... ok
> CSSVariablesRule.media ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> CSSVariablesRule.__repr__(), .__str__() ... ok
> CSSVariablesRule.variables ... ok
> DOMImplementationCSS.createCSSStyleSheet() ... ok
> DOMImplementationCSS.createDocument() ... ok
> DOMImplementationCSS.createDocumentType() ... ok
> DOMImplementationCSS.hasFeature() ... ok
> encutils.detectXMLEncoding ... ok
> encutils.encodingByMediaType ... ok
> encutils.getEncodingInfo ... ok
> encutils.getMetaInfo ... ok
> encutils._getTextType ... ok
> encutils._getTextTypeByMediaType ... ok
> encutils.tryEncodings ... ok
> cssutils.log.* ... ok
> cssutils.log line col ... ok
> test_parsevalidation (cssutils.tests.test_errorhandler.ErrorHandlerTestCase) 
> ... ok
> helper._normalize() ... ok
> helper.string() ... ok
> helper.stringvalue() ... ok
> helper.uri() ... ok
> helper.urivalue() ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> MarginRule.cssText InvalidModificationErr ... ok
> test_cssText (cssutils.tests.test_marginrule.MarginRuleTestCase) ... ok
> MarginRule (incomplete) ... ok
> MarginRule.__init__() ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> MarginRule.__repr__(), .__str__() ... ok
> MediaList all ... ok
> MediaList.append() 2 ... ok
> MediaList.appendMedium() 1 ... ok
> MediaList.mediaText comments ... ok
> MediaList.deleteMedium() ... ok
> MediaList.item() ... ok
> MediaList.mediaText 2 ... ok
> MediaList.__repr__(), .__str__() ... ok
> MediaList.mediaText 1 ... ok
> MediaQuery.mediaText comments ... ok
> MediaQuery.mediaText ... ok
> MediaQuery.mediaType ... ok
> MediaQuery.__repr__(), .__str__() ... ok
> cssutils.parseString(href, media) ... ok
> cssutils escapes ... ok
> CSSParser.fetcher ... ok
> IEhack: $property (not since 0.9.5b3) ... ok
> CSSParser.__init__() ... ok
> cssutils.parseString(INVALID_CSS) ... ok
> cssutils.parseString(INVALID_STRING) ... ok
> cssutils.parseString nesting ... ok
> cssutils.CSSParser(parseComments=False) ... ok
> CSSParser.parseString() ... ok
> cssutils encodings ... ok
> cssutils.parseString(special_case) ... ok
> CSSParser(validate) ... ok
> Choice.__init__() ... ok
> Choice.matches() ... ok
> Choice with nested Sequence ... ok
> Choice.reset() ... ok
> ProdParser.parse() 2 ... ok
> ProdParser.parse(keepS) ... ok
> Prod.__init__(...) ... ok
> Prod.__init__(...match=...) ... ok
> Prod.__init__(...toSeq=...) ... ok
> Prod.__init__(...toStore=...) ... ok
> Prod.matches(token) ... ok
> Sequence.__init__() ... ok
> Sequence.__init__(...minmax=...) ... ok
> Sequence.matches() ... ok
> Sequence.nextProd() ... ok
> Sequence.optional ... ok
> Sequence.reset() ... ok
> Profiles.addProfile with custom validation function ... ok
> CSS Color Module Level 3 ... ok
> Profiles.knownNames ... ok
> Profiles.profiles ... ok
> Profiles.propertiesByProfile ... ok
> Profiles.removeProfile() ... ok
> Profiles.validate() ... ok
> Profiles.validate() ... ok
> properties ... ok
> Property.validate() and Property.valid ... ok
> Property.cssText ... ok
> Property.__init__() ... ok
> Property.literalname ... FAIL
> Property.name ... ok
> Property.priority ... ok
> Property.__repr__(), .__str__() ... ok
> Property.valid ... ok
> Property.value ... ok
> scripts.csscombine() ... ok
> scripts.csscombine(minify=..., resolveVariables=...) ... ok
> Selector.namespaces default ... ok
> Selector.element (TODO: RESOLVE) ... ok
> Selector.__init__() ... ok
> Selector.namespaces ... ok
> Selector.parent ... ok
> Selector.__repr__(), .__str__() ... ok
> Selector.selectorText ... ok
> Selector.specificity ... FAIL
> SelectorList.appendSelector() and .length ... ok
> SelectorList.__init__() and .length ... ok
> Selector.parentRule ... ok
> SelectorList.__repr__(), .__str__() ... ok
> SelectorList.selectorText ... ok
> CSSSerializer.do_CSSStyleSheet ... ok
> CSSSerializer.do_Property ... ok
> test_canonical (cssutils.tests.test_serialize.CSSSerializerTestCase) ... ok
> CSSSerializer._escapestring ... ok
> Preferences.defaultAtKeyword ... ok
> Preferences.defaultPropertyName ... ok
> Preferences.defaultPropertyPriority ... ok
> Preferences.importHrefFormat ... ok
> Preferences.ident ... ok
> Preferences.indentClosingBrace ... ok
> Preferences.keepAllProperties ... ok
> Preferences.keepComments ... ok
> Preferences.keepEmptyRules ... ok
> Preferences.keepUnknownAtRules ... ok
> Preferences.keepUsedNamespaceRulesOnly ... ok
> Preferences.lineNumbers ... ok
> Preferences.lineSeparator ... ok
> Preferences.listItemSpacer ... ok
> Preferences.minimizeColorHash ... ok
> Preferences.normalizedVarNames ... ok
> Preferences.omitLastSemicolon ... ok
> Preferences.paranthesisSpacer ... ok
> Preferences.propertyNameSpacer ... ok
> Preferences.resolveVariables ... ok
> Preferences.selectorCombinatorSpacer ... ok
> test_spacer (cssutils.tests.test_serialize.PreferencesTestCase) ... ok
> Preferences.useDefaults() ... ok
> Preferences.useMinified() ... ok
> Preferences.validOnly ... ok
> CSSMediaRule.cssRules.parentRule .parentStyleSheet .type ... ok
> CSSRule.type and init ... ok
> CSSRule.parentRule .parentStyleSheet .type ... ok
> CSSRule readonly ... ok
> settings.set() ... ok
> StyleSheet.__init__() ... ok
> cssutils Tokenizer().tokenize() ... ok
> cssutils Tokenizer().tokenize(fullsheet=True) ... ok
> test_has_at('foo', 0, 'foo', True) ... ok
> test_has_at('foo', 0, 'f', True) ... ok
> test_has_at('foo', 1, 'o', True) ... ok
> test_has_at('foo', 1, 'oo', True) ... ok
> test_has_at('foo', 4, 'foo', False) ... ok
> test_has_at('foo', 0, 'bar', False) ... ok
> test_has_at('foo', 0, 'foobar', False) ... ok
> test_suffix_eq('foobar', 0, 'foobar', True) ... ok
> test_suffix_eq('foobar', 3, 'bar', True) ... ok
> test_suffix_eq('foobar', 3, 'foo', False) ... ok
> test_suffix_eq('foobar', 10, 'bar', False) ... ok
> Base._normalize() ... ok
> Base._tokensupto2() ... ok
> util.ListSeq ... ok
> test_calling (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_ensure (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_findall (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_finditer (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_flags (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_groupindex (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_groups (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_matching (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_matching_with_position_parameters 
> (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_pattern (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_public_interface (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_searching (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_searching_with_position_parameters 
> (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_split (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_sub (cssutils.tests.test_util.TestLazyRegex) ... ok
> test_subn (cssutils.tests.test_util.TestLazyRegex) ... ok
> CSSFunction.cssText ... ok
> CSSFunction.__init__() ... ok
> CSSVariable.cssText ... ok
> CSSVariable.__init__() ... ok
> ColorValue.cssText ... ok
> ColorValue.__init__() ... ok
> ColorValue.red .green .blue ... ok
> DimensionValue.cssText ... ok
> DimensionValue.__init__() ... ok
> PropertyValue with comment ... ok
> PropertyValue.cssText ... ok
> PropertyValue (incomplete) ... ok
> PropertyValue.__init__() .item() .length ... ok
> PropertyValue[index] ... ok
> PropertyValue._readonly ... ok
> PropertyValue.__repr__(), .__str__() ... ok
> URIValue.absoluteUri ... ok
> URIValue.cssText ... ok
> URIValue.__init__() ... ok
> Value.cssText ... ok
> Value.__init__() ... ok
> Property.priority ... ok
> 
> ======================================================================
> FAIL: Property.literalname
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/basetest.py",
>  line 131, in assertRaisesMsg
>     callableObj(*args, **kwargs)
> AttributeError: can't set attribute 'literalname'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/test_property.py",
>  line 162, in test_literalname
>     self.assertRaisesMsg(AttributeError, "can't set attribute", p.__setattr__,
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/basetest.py",
>  line 142, in assertRaisesMsg
>     raise self.failureException(
> AssertionError: Right exception, wrong message: got 'can't set attribute 
> 'literalname'' instead of 'can't set attribute'
> 
> ======================================================================
> FAIL: Selector.specificity
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/basetest.py",
>  line 131, in assertRaisesMsg
>     callableObj(*args, **kwargs)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/test_selector.py",
>  line 411, in _set
>     def _set(): selector.specificity = 1
> AttributeError: can't set attribute 'specificity'
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/test_selector.py",
>  line 412, in test_specificity
>     self.assertRaisesMsg(AttributeError, "can't set attribute", _set)
>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests/basetest.py",
>  line 142, in assertRaisesMsg
>     raise self.failureException(
> AssertionError: Right exception, wrong message: got 'can't set attribute 
> 'specificity'' instead of 'can't set attribute'
> 
> ----------------------------------------------------------------------
> Ran 388 tests in 1.863s
> 
> FAILED (failures=2)
> E: pybuild pybuild:369: test: plugin custom failed with: exit code=1: 
> nosetests3 -v                                    --exclude=test_parseUrl      
>                                    --exclude=test_handlers                    
>                      --py3where 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_cssutils/build/cssutils/tests;
> dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 
> 3.10" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/04/12/cssutils_1.0.2-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to