Source: python-repoze.who
Version: 2.2-4
Severity: important
Tags: ftbfs
User: mity...@debian.org
Usertags: sphinx5.0

Hi,

python-repoze.who fails to build with Sphinx 5.0 and docutils 0.18, both of 
which
are currently available in experimental.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=. python3 -m sphinx -b html -D today="September 10, 2019" docs 
> /<<PKGBUILDDIR>>/debian/python-repoze.who/usr/share/doc/python-repoze.who/html
> Running Sphinx v5.0.2
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> running egg_info
> writing repoze.who.egg-info/PKG-INFO
> writing dependency_links to repoze.who.egg-info/dependency_links.txt
> writing entry points to repoze.who.egg-info/entry_points.txt
> writing namespace_packages to repoze.who.egg-info/namespace_packages.txt
> writing requirements to repoze.who.egg-info/requires.txt
> writing top-level names to repoze.who.egg-info/top_level.txt
> reading manifest file 'repoze.who.egg-info/SOURCES.txt'
> adding license file 'LICENSE.txt'
> writing manifest file 'repoze.who.egg-info/SOURCES.txt'
> running build_ext
> ........................../<<PKGBUILDDIR>>/repoze/who/utils.py:5: 
> PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call 
> .resolve and .require separately.
>   return EntryPoint.parse('x=%s' % dotted_or_ep).load(False)
> ........................................................................................................................................................................................E....................../<<PKGBUILDDIR>>/repoze/who/config.py:74:
>  DeprecationWarning: The SafeConfigParser class has been renamed to 
> ConfigParser in Python 3.2. This alias will be removed in Python 3.12. Use 
> ConfigParser directly instead.
>   cp = SafeConfigParser(defaults={'here': self.here})
> /<<PKGBUILDDIR>>/repoze/who/config.py:23: PkgResourcesDeprecationWarning: 
> Parameters to load are deprecated.  Call .resolve and .require separately.
>   return EntryPoint.parse('x=%s' % name).load(False)
> ....................../<<PKGBUILDDIR>>/repoze/who/config.py:74: 
> DeprecationWarning: The SafeConfigParser class has been renamed to 
> ConfigParser in Python 3.2. This alias will be removed in Python 3.12. Use 
> ConfigParser directly instead.
>   cp = SafeConfigParser(defaults={'here': self.here})
> /<<PKGBUILDDIR>>/repoze/who/config.py:23: PkgResourcesDeprecationWarning: 
> Parameters to load are deprecated.  Call .resolve and .require separately.
>   return EntryPoint.parse('x=%s' % name).load(False)
> /<<PKGBUILDDIR>>/repoze/who/utils.py:5: PkgResourcesDeprecationWarning: 
> Parameters to load are deprecated.  Call .resolve and .require separately.
>   return EntryPoint.parse('x=%s' % dotted_or_ep).load(False)
> .........................../<<PKGBUILDDIR>>/repoze/who/restrict.py:32: 
> PkgResourcesDeprecationWarning: Parameters to load are deprecated.  Call 
> .resolve and .require separately.
>   predicate = EntryPoint.parse('x=%s' % predicate).load(False)
> .....
> ======================================================================
> ERROR: test_brokenimpl (repoze.who.tests.test_api.TestMakeRegistries)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/repoze/who/tests/test_api.py", line 114, in 
> test_brokenimpl
>     self.assertRaises(ValueError, self._callFUT,
>   File "/usr/lib/python3.10/unittest/case.py", line 738, in assertRaises
>     return context.handle('assertRaises', args, kwargs)
>   File "/usr/lib/python3.10/unittest/case.py", line 201, in handle
>     callable_obj(*args, **kwargs)
>   File "/<<PKGBUILDDIR>>/repoze/who/tests/test_api.py", line 105, in _callFUT
>     return make_registries(identifiers, authenticators,
>   File "/<<PKGBUILDDIR>>/repoze/who/api.py", line 72, in make_registries
>     verify(value, iface)
>   File "/<<PKGBUILDDIR>>/repoze/who/api.py", line 57, in verify
>     verifyObject(iface, plugin, tentative=True)
>   File "/usr/lib/python3/dist-packages/zope/interface/verify.py", line 172, 
> in verifyObject
>     return _verify(iface, candidate, tentative, vtype='o')
>   File "/usr/lib/python3/dist-packages/zope/interface/verify.py", line 92, in 
> _verify
>     raise MultipleInvalid(iface, candidate, excs)
> zope.interface.exceptions.MultipleInvalid: The object <object object at 
> 0x7f11daa0eab0> has failed to implement interface 
> repoze.who.interfaces.IIdentifier:
>     The repoze.who.interfaces.IIdentifier.identify(environ) attribute was not 
> provided
>     The repoze.who.interfaces.IIdentifier.remember(environ, identity) 
> attribute was not provided
>     The repoze.who.interfaces.IIdentifier.forget(environ, identity) attribute 
> was not provided
> 
> ----------------------------------------------------------------------
> Ran 287 tests in 0.071s
> 
> FAILED (errors=1)
> Test failed: <unittest.runner.TextTestResult run=287 errors=1 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=287 errors=1 
> failures=0>
> 
> Extension error:
> Could not import extension repoze.sphinx.autointerface (exception: cannot 
> import name 'force_decode' from 'sphinx.util' 
> (/usr/lib/python3/dist-packages/sphinx/util/__init__.py))
> make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2022/06/23/python-repoze.who_2.2-4_unstable_sphinx-exp.log

Please see [1] for Sphinx changelog and [2] for Docutils changelog.

Also see [3] for the list of deprecated/removed APIs in Sphinx and possible
alternatives to them.

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/master/changes.html
[2]: 
https://repo.or.cz/docutils.git/blob/refs/tags/docutils-0.18.1:/RELEASE-NOTES.txt
[3]: 
https://www.sphinx-doc.org/en/master/extdev/deprecated.html#dev-deprecated-apis

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

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

Reply via email to