Source: python-bottle
Version: 0.12.23-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 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>>'
> dh_auto_build
>       pybuild --build -i python{version} -p "3.10 3.11"
> I: pybuild base:240: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> copying bottle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottle/build
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying bottle.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottle/build
> PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -E -bhtml docs 
> build/html
> Running Sphinx v5.3.0
> making output directory... done
> loading intersphinx inventory from http://docs.python.org/objects.inv...
> loading intersphinx inventory from 
> http://werkzeug.pocoo.org/docs/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due 
> to <class 'requests.exceptions.ProxyError'>: 
> HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: 
> http://docs.python.org/objects.inv (Caused by ProxyError('Cannot connect to 
> proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 
> 0x7f7ae8af2690>: Failed to establish a new connection: [Errno 111] Connection 
> refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://werkzeug.pocoo.org/docs/objects.inv' not 
> fetchable due to <class 'requests.exceptions.ProxyError'>: 
> HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: 
> http://werkzeug.pocoo.org/docs/objects.inv (Caused by ProxyError('Cannot 
> connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection 
> object at 0x7f7ae8b04710>: Failed to establish a new connection: [Errno 111] 
> Connection refused')))
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 19 source files that are out of date
> updating environment: [new config] 19 added, 0 changed, 0 removed
> reading sources... [  5%] api
> reading sources... [ 10%] async
> reading sources... [ 15%] changelog
> reading sources... [ 21%] cli
> reading sources... [ 26%] configuration
> reading sources... [ 31%] contact
> reading sources... [ 36%] deployment
> reading sources... [ 42%] development
> reading sources... [ 47%] faq
> reading sources... [ 52%] index
> reading sources... [ 57%] plugindev
> reading sources... [ 63%] plugins/index
> reading sources... [ 68%] plugins/sqlite
> reading sources... [ 73%] plugins/werkzeug
> reading sources... [ 78%] recipes
> reading sources... [ 84%] routing
> reading sources... [ 89%] stpl
> reading sources... [ 94%] tutorial
> reading sources... [100%] tutorial_app
> 
> /<<PKGBUILDDIR>>/bottle.py:docstring of bottle.request:1: WARNING: duplicate 
> object description of bottle.request, other instance in api, use :noindex: 
> for one of them
> /<<PKGBUILDDIR>>/bottle.py:docstring of bottle.ConfigDict:1: WARNING: Inline 
> emphasis start-string without end-string.
> /<<PKGBUILDDIR>>/docs/contact.rst:: WARNING: image file not readable: 
> _static/myface_small.png
> /<<PKGBUILDDIR>>/docs/faq.rst:1: WARNING: duplicate object description of 
> bottle, other instance in api, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/plugindev.rst:1: WARNING: duplicate object description 
> of bottle, other instance in faq, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/plugins/index.rst:1: WARNING: duplicate object 
> description of bottle, other instance in plugindev, use :noindex: for one of 
> them
> /<<PKGBUILDDIR>>/docs/recipes.rst:1: WARNING: duplicate object description of 
> bottle, other instance in plugins/index, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/tutorial.rst:1: WARNING: duplicate object description 
> of bottle, other instance in recipes, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... /<<PKGBUILDDIR>>/docs/cli.rst: WARNING: document 
> isn't included in any toctree
> /<<PKGBUILDDIR>>/docs/contact.rst: WARNING: document isn't included in any 
> toctree
> /<<PKGBUILDDIR>>/docs/deployment.rst: WARNING: document isn't included in any 
> toctree
> done
> preparing documents... done
> writing output... [  5%] api
> writing output... [ 10%] async
> writing output... [ 15%] changelog
> writing output... [ 21%] cli
> writing output... [ 26%] configuration
> writing output... [ 31%] contact
> writing output... [ 36%] deployment
> writing output... [ 42%] development
> writing output... [ 47%] faq
> writing output... [ 52%] index
> writing output... [ 57%] plugindev
> writing output... [ 63%] plugins/index
> writing output... [ 68%] plugins/sqlite
> writing output... [ 73%] plugins/werkzeug
> writing output... [ 78%] recipes
> writing output... [ 84%] routing
> writing output... [ 89%] stpl
> writing output... [ 94%] tutorial
> writing output... [100%] tutorial_app
> 
> /<<PKGBUILDDIR>>/docs/stpl.rst:89: WARNING: undefined label: 
> 'stpl-custom-tokens'
> /<<PKGBUILDDIR>>/docs/stpl.rst:61: WARNING: Could not lex literal_block as 
> "html+django". Highlighting skipped.
> /<<PKGBUILDDIR>>/docs/stpl.rst:84: WARNING: Could not lex literal_block as 
> "html+django". Highlighting skipped.
> /<<PKGBUILDDIR>>/docs/tutorial.rst:175: WARNING: unknown document: 'Routing'
> /<<PKGBUILDDIR>>/docs/tutorial.rst:287: WARNING: undefined label: 
> 'tutorial-output-filter'
> generating indices... genindex py-modindex done
> highlighting module code... [100%] bottle
> 
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 18 warnings.
> 
> The HTML pages are in build/html.
> PYTHONPATH=. http_proxy='http://127.0.0.1:9/' sphinx-build -N -E -bman docs 
> build/man
> Running Sphinx v5.3.0
> making output directory... done
> loading intersphinx inventory from http://docs.python.org/objects.inv...
> loading intersphinx inventory from 
> http://werkzeug.pocoo.org/docs/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due 
> to <class 'requests.exceptions.ProxyError'>: 
> HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: 
> http://docs.python.org/objects.inv (Caused by ProxyError('Cannot connect to 
> proxy.', NewConnectionError('<urllib3.connection.HTTPConnection object at 
> 0x7ffbf5c41e10>: Failed to establish a new connection: [Errno 111] Connection 
> refused')))
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://werkzeug.pocoo.org/docs/objects.inv' not 
> fetchable due to <class 'requests.exceptions.ProxyError'>: 
> HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: 
> http://werkzeug.pocoo.org/docs/objects.inv (Caused by ProxyError('Cannot 
> connect to proxy.', NewConnectionError('<urllib3.connection.HTTPConnection 
> object at 0x7ffbf5c433d0>: Failed to establish a new connection: [Errno 111] 
> Connection refused')))
> building [mo]: targets for 0 po files that are out of date
> building [man]: all manpages
> updating environment: [new config] 19 added, 0 changed, 0 removed
> reading sources... [  5%] api
> reading sources... [ 10%] async
> reading sources... [ 15%] changelog
> reading sources... [ 21%] cli
> reading sources... [ 26%] configuration
> reading sources... [ 31%] contact
> reading sources... [ 36%] deployment
> reading sources... [ 42%] development
> reading sources... [ 47%] faq
> reading sources... [ 52%] index
> reading sources... [ 57%] plugindev
> reading sources... [ 63%] plugins/index
> reading sources... [ 68%] plugins/sqlite
> reading sources... [ 73%] plugins/werkzeug
> reading sources... [ 78%] recipes
> reading sources... [ 84%] routing
> reading sources... [ 89%] stpl
> reading sources... [ 94%] tutorial
> reading sources... [100%] tutorial_app
> 
> /<<PKGBUILDDIR>>/bottle.py:docstring of bottle.request:1: WARNING: duplicate 
> object description of bottle.request, other instance in api, use :noindex: 
> for one of them
> /<<PKGBUILDDIR>>/bottle.py:docstring of bottle.ConfigDict:1: WARNING: Inline 
> emphasis start-string without end-string.
> /<<PKGBUILDDIR>>/docs/contact.rst:: WARNING: image file not readable: 
> _static/myface_small.png
> /<<PKGBUILDDIR>>/docs/faq.rst:1: WARNING: duplicate object description of 
> bottle, other instance in api, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/plugindev.rst:1: WARNING: duplicate object description 
> of bottle, other instance in faq, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/plugins/index.rst:1: WARNING: duplicate object 
> description of bottle, other instance in plugindev, use :noindex: for one of 
> them
> /<<PKGBUILDDIR>>/docs/recipes.rst:1: WARNING: duplicate object description of 
> bottle, other instance in plugins/index, use :noindex: for one of them
> /<<PKGBUILDDIR>>/docs/tutorial.rst:1: WARNING: duplicate object description 
> of bottle, other instance in recipes, use :noindex: for one of them
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... /<<PKGBUILDDIR>>/docs/cli.rst: WARNING: document 
> isn't included in any toctree
> /<<PKGBUILDDIR>>/docs/contact.rst: WARNING: document isn't included in any 
> toctree
> /<<PKGBUILDDIR>>/docs/deployment.rst: WARNING: document isn't included in any 
> toctree
> done
> writing... bottle.1 { } done
> build succeeded, 13 warnings.
> 
> The manual pages are in build/man.
> rm -rf ./build/html/.doctrees
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild -O--test-tox
>       pybuild --test --test-tox -i python{version} -p "3.10 3.11"
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottle/build; 
> tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py310 
> GLOB sdist-make: /<<PKGBUILDDIR>>/setup.py
> py310 create: /<<PKGBUILDDIR>>/.tox/py310
> py310 installdeps: Mako, jinja2
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> py310 inst: /<<PKGBUILDDIR>>/.tox/.tmp/package/1/bottle-0.12.23.zip
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> py310 installed: alabaster==0.7.12,Babel==2.10.3,bottle @ 
> file:///<<PKGBUILDDIR>>/.tox/.tmp/package/1/bottle-0.12.23.zip,certifi==2022.9.24,chardet==5.1.0,charset-normalizer==3.0.1,distlib==0.3.6,docutils==0.17.1,filelock==3.9.0,idna==3.3,imagesize==1.4.1,Jinja2==3.0.3,Mako==1.2.4.dev0,MarkupSafe==2.1.1,packaging==22.0,Paste==3.5.2,platformdirs==2.6.0,pluggy==1.0.0+repack,py==1.11.0,Pygments==2.14.0,pytz==2022.7,requests==2.28.1,roman==3.3,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,Tempita==0.5.2,tornado==6.2,tox==3.28.0,urllib3==1.26.12,virtualenv==20.17.1+ds,Werkzeug==2.2.2
> py310 run-test-pre: PYTHONHASHSEED='1828942243'
> py310 run-test: commands[0] | /<<PKGBUILDDIR>>/.tox/py310/bin/python -m 
> unittest discover
> /<<PKGBUILDDIR>>/test/test_importhook.py:4: DeprecationWarning: the imp 
> module is deprecated in favour of importlib and slated for removal in Python 
> 3.12; see the module's documentation for alternative uses
>   import imp
> /<<PKGBUILDDIR>>/test/test_server.py:53: SyntaxWarning: "is" with a literal. 
> Did you mean "=="?
>   if rv is 128: # Import error
> /<<PKGBUILDDIR>>/test/test_server.py:57: SyntaxWarning: "is" with a literal. 
> Did you mean "=="?
>   if rv is 3: # Port in use
> ./<<PKGBUILDDIR>>/test/test_config.py:39: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(c['a.b.foo'], 5)
> ...../<<PKGBUILDDIR>>/test/test_configdict.py:30: DeprecationWarning: 
> Attribute assignment is deprecated.
>   c.test = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:31: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.test)
> /<<PKGBUILDDIR>>/test/test_configdict.py:34: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(6, c.test)
> /<<PKGBUILDDIR>>/test/test_configdict.py:38: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(None, c.test)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:61: DeprecationWarning: Calling 
> ConfDict is deprecated. Use the update() method.
>   self.assertEqual(c, c(a=1))
> /<<PKGBUILDDIR>>/test/test_configdict.py:63: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(1, c.a)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:12: DeprecationWarning: Constructor 
> does no longer accept parameters.
>   d, m = dict(a=5), ConfigDict(a=5)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:70: DeprecationWarning: Accessing 
> namespaces as dicts is discouraged. Only use flat item access: 
> cfg["names"]["pace"]["key"] -> cfg["name.space.key"]
>   self.assertEqual('c', c['a']['b'])
> /usr/lib/python3.10/_collections_abc.py:911: DeprecationWarning: Accessing 
> namespaces as dicts is discouraged. Only use flat item access: 
> cfg["names"]["pace"]["key"] -> cfg["name.space.key"]
>   yield (key, self._mapping[key])
> ../<<PKGBUILDDIR>>/test/test_configdict.py:43: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(ConfigDict.Namespace, c.Name.Space.__class__)
> /usr/lib/python3.10/_collections_abc.py:824: DeprecationWarning: Accessing 
> namespaces as dicts is discouraged. Only use flat item access: 
> cfg["names"]["pace"]["key"] -> cfg["name.space.key"]
>   return self[key]
> /<<PKGBUILDDIR>>/test/test_configdict.py:44: DeprecationWarning: Attribute 
> access is deprecated.
>   c.Name.Space.value = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:44: DeprecationWarning: Attribute 
> assignment is deprecated.
>   c.Name.Space.value = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:45: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.Name.Space.value)
> /<<PKGBUILDDIR>>/test/test_configdict.py:46: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertTrue('value' in c.Name.Space)
> /<<PKGBUILDDIR>>/test/test_configdict.py:47: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertTrue('Space' in c.Name)
> /<<PKGBUILDDIR>>/test/test_configdict.py:51: DeprecationWarning: Attribute 
> assignment is deprecated.
>   self.assertRaises(AttributeError, lambda: setattr(c, 'Name', 5))
> /<<PKGBUILDDIR>>/test/test_configdict.py:53: DeprecationWarning: Attribute 
> assignment is deprecated.
>   self.assertRaises(AttributeError, lambda: setattr(c, 'keys', 5))
> /<<PKGBUILDDIR>>/test/test_configdict.py:56: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.Name)
> ................../<<PKGBUILDDIR>>/test/test_environ.py:302: 
> DeprecationWarning: Please use assertEqual instead.
>   self.assertEquals(tob(expect), BaseRequest(e).body.read())
> ..................../usr/lib/python3.10/mimetypes.py:99: ResourceWarning: 
> unclosed file <_io.FileIO name=3 mode='rb+' closefd=True>
>   exts = self.types_map_inv[strict].setdefault(type, [])
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ....................s.................../usr/lib/python3.10/unittest/case.py:549:
>  ResourceWarning: unclosed file <_io.BufferedReader 
> name='/<<PKGBUILDDIR>>/test/test_fileupload.py'>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_fileupload.py:67: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/tmp/tmpbgnuxxyo/test_fileupload.py'>
>   self.assertEqual(fu.file.read(), open(filepath, 'rb').read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./usr/lib/python3.10/unittest/case.py:549: ResourceWarning: unclosed file 
> <_io.BufferedRandom name=4>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ......<frozen importlib._bootstrap>:914: ImportWarning: 
> _ImportRedirect.find_spec() not found; falling back to find_module()
> <frozen importlib._bootstrap>:671: ImportWarning: 
> _ImportRedirect.exec_module() not found; falling back to load_module()
> ......../<<PKGBUILDDIR>>/bottle.py:3265: DeprecationWarning: The template 
> lookup path list should not be empty.
>   self.filename = self.search(self.name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3265: DeprecationWarning: Absolute template path 
> names are deprecated.
>   self.filename = self.search(self.name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3380: DeprecationWarning: The template lookup path 
> list should not be empty.
>   fname = self.search(name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3380: DeprecationWarning: Absolute template path 
> names are deprecated.
>   fname = self.search(name, self.lookup)
> ..................................................../<<PKGBUILDDIR>>/bottle.py:539:
>  DeprecationWarning: Switch to Plugin API v2 and access the Route object 
> directly.
>   context = self if api > 1 else self._context
> ..../<<PKGBUILDDIR>>/test/test_plugins.py:197: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(getattr(plugin, 'app', None), self.app)
> ................/<<PKGBUILDDIR>>/test/test_resources.py:76: ResourceWarning: 
> unclosed file <_io.TextIOWrapper 
> name='/<<PKGBUILDDIR>>/test/test_resources.py' mode='r' encoding='UTF-8'>
>   self.assertEqual(fp.read(), open(__file__).read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.10/unittest/case.py:549: ResourceWarning: unclosed file 
> <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/test/test_resources.py' mode='r' 
> encoding='UTF-8'>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ............./<<PKGBUILDDIR>>/bottle.py:392: RuntimeWarning: Route <GET 
> /object/<id:float>> overwrites a previously defined route
>   warnings.warn(msg % (method, rule), RuntimeWarning)
> .../<<PKGBUILDDIR>>/bottle.py:392: RuntimeWarning: Route <GET 
> /func2(:param#(foo|bar)#)> overwrites a previously defined route
>   warnings.warn(msg % (method, rule), RuntimeWarning)
> ................................/<<PKGBUILDDIR>>/test/test_sendfile.py:87: 
> ResourceWarning: unclosed file <_io.BufferedReader 
> name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:88: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), f.body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.10/unittest/case.py:549: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   method()
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_sendfile.py:80: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), static_file(basename, 
> root=root).body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ../<<PKGBUILDDIR>>/test/test_sendfile.py:65: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='some/type')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:67: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='text/foo')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:69: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='text/foo', charset='latin1')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_sendfile.py:94: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(c.read(16), tob('').join(f.body))
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:95: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual('bytes 10-25/%d' % len(open(__file__, 'rb').read()),
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ../<<PKGBUILDDIR>>/test/test_sendfile.py:46: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), out.body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48260)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'meinheld' test (ImportError).
> ./usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=3>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=5>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48262)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48264)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'bjoern' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48266)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'cherrypy' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48268)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'diesel' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48270)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48272)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'eventlet' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48274)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'fapws3' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48276)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'gevent' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48278)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'gunicorn' test (ImportError).
> .F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=6, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48284)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'rocket' test (ImportError).
> ./usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=4>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=7>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=8, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48290)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=10, family=AddressFamily.AF_INET, 
> type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 48296)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'twisted' test (ImportError).
> ./usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=8>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=11>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ........./<<PKGBUILDDIR>>/bottle.py:3619: DeprecationWarning: The include and 
> rebase keywords are functions now.
>   line, comment = self.fix_backward_compatibility(line, comment)
> ...../<<PKGBUILDDIR>>/bottle.py:3619: DeprecationWarning: PEP263 encoding 
> strings in templates are deprecated.
>   line, comment = self.fix_backward_compatibility(line, comment)
> ....../<<PKGBUILDDIR>>/bottle.py:201: DeprecationWarning: Template encodings 
> other than utf8 are no longer supported.
>   value = obj.__dict__[self.func.__name__] = self.func(obj)
> ..../<<PKGBUILDDIR>>/bottle.py:3413: DeprecationWarning: Escape code lines 
> with a backslash.
>   code = parser.translate()
> ..../<<PKGBUILDDIR>>/test/test_stpl.py:57: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals('"&lt;&#039;&#13;&#10;&#9;&quot;\\&gt;"', 
> html_quote('<\'\r\n\t"\\>'));
> ......................................../<<PKGBUILDDIR>>/test/test_wsgi.py:260:
>  DeprecationWarning: Please use assertEqual instead.
>   self.assertEquals('/test/6', bottle.url('foo', x=6))
> ....................
> ======================================================================
> FAIL: test_simple (test.test_server.TestPasteServer)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ======================================================================
> FAIL: test_simple (test.test_server.TestServer)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ======================================================================
> FAIL: test_simple (test.test_server.TestTornadoServer)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ----------------------------------------------------------------------
> Ran 333 tests in 3.550s
> 
> FAILED (failures=3, skipped=1)
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=3>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=5>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=4>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=7>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=6>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ERROR: InvocationError for command /<<PKGBUILDDIR>>/.tox/py310/bin/python -m 
> unittest discover (exited with code 1)
> ___________________________________ summary 
> ____________________________________
> ERROR:   py310: commands failed
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_bottle/build; tox -c 
> /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py310 
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottle/build; 
> tox -c /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py311 
> GLOB sdist-make: /<<PKGBUILDDIR>>/setup.py
> py311 create: /<<PKGBUILDDIR>>/.tox/py311
> py311 installdeps: Mako, jinja2
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> py311 inst: /<<PKGBUILDDIR>>/.tox/.tmp/package/1/bottle-0.12.23.zip
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> WARNING: Discarding $PYTHONPATH from environment, to override specify 
> PYTHONPATH in 'passenv' in your configuration.
> py311 installed: alabaster==0.7.12,Babel==2.10.3,bottle @ 
> file:///<<PKGBUILDDIR>>/.tox/.tmp/package/1/bottle-0.12.23.zip,certifi==2022.9.24,chardet==5.1.0,charset-normalizer==3.0.1,distlib==0.3.6,docutils==0.17.1,filelock==3.9.0,idna==3.3,imagesize==1.4.1,Jinja2==3.0.3,Mako==1.2.4.dev0,MarkupSafe==2.1.1,packaging==22.0,Paste==3.5.2,platformdirs==2.6.0,pluggy==1.0.0+repack,py==1.11.0,Pygments==2.14.0,pytz==2022.7,requests==2.28.1,roman==3.3,six==1.16.0,snowballstemmer==2.2.0,Sphinx==5.3.0,Tempita==0.5.2,tornado==6.2,tox==3.28.0,urllib3==1.26.12,virtualenv==20.17.1+ds,Werkzeug==2.2.2
> py311 run-test-pre: PYTHONHASHSEED='1248029930'
> py311 run-test: commands[0] | /<<PKGBUILDDIR>>/.tox/py311/bin/python -m 
> unittest discover
> /<<PKGBUILDDIR>>/test/test_importhook.py:4: DeprecationWarning: the imp 
> module is deprecated in favour of importlib and slated for removal in Python 
> 3.12; see the module's documentation for alternative uses
>   import imp
> /<<PKGBUILDDIR>>/test/test_server.py:53: SyntaxWarning: "is" with a literal. 
> Did you mean "=="?
>   if rv is 128: # Import error
> /<<PKGBUILDDIR>>/test/test_server.py:57: SyntaxWarning: "is" with a literal. 
> Did you mean "=="?
>   if rv is 3: # Port in use
> ./<<PKGBUILDDIR>>/test/test_config.py:39: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(c['a.b.foo'], 5)
> ...../<<PKGBUILDDIR>>/test/test_configdict.py:30: DeprecationWarning: 
> Attribute assignment is deprecated.
>   c.test = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:31: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.test)
> /<<PKGBUILDDIR>>/test/test_configdict.py:34: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(6, c.test)
> /<<PKGBUILDDIR>>/test/test_configdict.py:38: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(None, c.test)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:61: DeprecationWarning: Calling 
> ConfDict is deprecated. Use the update() method.
>   self.assertEqual(c, c(a=1))
> /<<PKGBUILDDIR>>/test/test_configdict.py:63: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(1, c.a)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:12: DeprecationWarning: Constructor 
> does no longer accept parameters.
>   d, m = dict(a=5), ConfigDict(a=5)
> ./<<PKGBUILDDIR>>/test/test_configdict.py:70: DeprecationWarning: Accessing 
> namespaces as dicts is discouraged. Only use flat item access: 
> cfg["names"]["pace"]["key"] -> cfg["name.space.key"]
>   self.assertEqual('c', c['a']['b'])
> <frozen _collections_abc>:861: DeprecationWarning: Accessing namespaces as 
> dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] 
> -> cfg["name.space.key"]
> ../<<PKGBUILDDIR>>/test/test_configdict.py:43: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(ConfigDict.Namespace, c.Name.Space.__class__)
> <frozen _collections_abc>:774: DeprecationWarning: Accessing namespaces as 
> dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] 
> -> cfg["name.space.key"]
> /<<PKGBUILDDIR>>/test/test_configdict.py:44: DeprecationWarning: Attribute 
> access is deprecated.
>   c.Name.Space.value = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:44: DeprecationWarning: Attribute 
> assignment is deprecated.
>   c.Name.Space.value = 5
> /<<PKGBUILDDIR>>/test/test_configdict.py:45: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.Name.Space.value)
> /<<PKGBUILDDIR>>/test/test_configdict.py:46: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertTrue('value' in c.Name.Space)
> /<<PKGBUILDDIR>>/test/test_configdict.py:47: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertTrue('Space' in c.Name)
> /<<PKGBUILDDIR>>/test/test_configdict.py:51: DeprecationWarning: Attribute 
> assignment is deprecated.
>   self.assertRaises(AttributeError, lambda: setattr(c, 'Name', 5))
> /<<PKGBUILDDIR>>/test/test_configdict.py:53: DeprecationWarning: Attribute 
> assignment is deprecated.
>   self.assertRaises(AttributeError, lambda: setattr(c, 'keys', 5))
> /<<PKGBUILDDIR>>/test/test_configdict.py:56: DeprecationWarning: Attribute 
> access is deprecated.
>   self.assertEqual(5, c.Name)
> ................../<<PKGBUILDDIR>>/test/test_environ.py:302: 
> DeprecationWarning: Please use assertEqual instead.
>   self.assertEquals(tob(expect), BaseRequest(e).body.read())
> ./<<PKGBUILDDIR>>/bottle.py:1731: ResourceWarning: unclosed file <_io.FileIO 
> name=3 mode='rb+' closefd=True>
>   super(HTTPError, self).__init__(body, status, **options)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> .......................................s.................../usr/lib/python3.11/unittest/case.py:579:
>  ResourceWarning: unclosed file <_io.BufferedReader 
> name='/<<PKGBUILDDIR>>/test/test_fileupload.py'>
>   if method() is not None:
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_fileupload.py:67: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/tmp/tmp3rk7cw_f/test_fileupload.py'>
>   self.assertEqual(fu.file.read(), open(filepath, 'rb').read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./usr/lib/python3.11/unittest/case.py:579: ResourceWarning: unclosed file 
> <_io.BufferedRandom name=4>
>   if method() is not None:
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ......<frozen importlib._bootstrap>:1049: ImportWarning: 
> _ImportRedirect.find_spec() not found; falling back to find_module()
> <frozen importlib._bootstrap>:673: ImportWarning: 
> _ImportRedirect.exec_module() not found; falling back to load_module()
> ......../<<PKGBUILDDIR>>/bottle.py:3265: DeprecationWarning: The template 
> lookup path list should not be empty.
>   self.filename = self.search(self.name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3265: DeprecationWarning: Absolute template path 
> names are deprecated.
>   self.filename = self.search(self.name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3380: DeprecationWarning: The template lookup path 
> list should not be empty.
>   fname = self.search(name, self.lookup)
> /<<PKGBUILDDIR>>/bottle.py:3380: DeprecationWarning: Absolute template path 
> names are deprecated.
>   fname = self.search(name, self.lookup)
> ..................................................../<<PKGBUILDDIR>>/bottle.py:539:
>  DeprecationWarning: Switch to Plugin API v2 and access the Route object 
> directly.
>   context = self if api > 1 else self._context
> ..../<<PKGBUILDDIR>>/test/test_plugins.py:197: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals(getattr(plugin, 'app', None), self.app)
> ................/<<PKGBUILDDIR>>/test/test_resources.py:76: ResourceWarning: 
> unclosed file <_io.TextIOWrapper 
> name='/<<PKGBUILDDIR>>/test/test_resources.py' mode='r' encoding='UTF-8'>
>   self.assertEqual(fp.read(), open(__file__).read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.11/unittest/case.py:579: ResourceWarning: unclosed file 
> <_io.TextIOWrapper name='/<<PKGBUILDDIR>>/test/test_resources.py' mode='r' 
> encoding='UTF-8'>
>   if method() is not None:
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ............./<<PKGBUILDDIR>>/bottle.py:392: RuntimeWarning: Route <GET 
> /object/<id:float>> overwrites a previously defined route
>   warnings.warn(msg % (method, rule), RuntimeWarning)
> .../<<PKGBUILDDIR>>/bottle.py:392: RuntimeWarning: Route <GET 
> /func2(:param#(foo|bar)#)> overwrites a previously defined route
>   warnings.warn(msg % (method, rule), RuntimeWarning)
> ................................/<<PKGBUILDDIR>>/test/test_sendfile.py:87: 
> ResourceWarning: unclosed file <_io.BufferedReader 
> name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:88: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), f.body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.11/unittest/case.py:579: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   if method() is not None:
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_sendfile.py:80: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), static_file(basename, 
> root=root).body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ../<<PKGBUILDDIR>>/test/test_sendfile.py:65: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='some/type')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:67: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='text/foo')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:69: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   f = static_file(basename, root=root, mimetype='text/foo', charset='latin1')
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_sendfile.py:94: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(c.read(16), tob('').join(f.body))
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_sendfile.py:95: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual('bytes 10-25/%d' % len(open(__file__, 'rb').read()),
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ../<<PKGBUILDDIR>>/test/test_sendfile.py:46: ResourceWarning: unclosed file 
> <_io.BufferedReader name='/<<PKGBUILDDIR>>/test/test_sendfile.py'>
>   self.assertEqual(open(__file__,'rb').read(), out.body.read())
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48298)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'meinheld' test (ImportError).
> ./usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=3>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=5>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48300)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'bjoern' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48302)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'cherrypy' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48304)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'diesel' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48306)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'eventlet' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48308)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'fapws3' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48310)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'gevent' test (ImportError).
> ./<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=4, family=2, type=1, proto=0, laddr=('0.0.0.0', 48312)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'gunicorn' test (ImportError).
> .F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=6, family=2, type=1, proto=0, laddr=('0.0.0.0', 48318)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'rocket' test (ImportError).
> ./usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=4>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=7>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=8, family=2, type=1, proto=0, laddr=('0.0.0.0', 48324)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> F/<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=10, family=2, type=1, proto=0, laddr=('0.0.0.0', 48330)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/test/test_server.py:47: ResourceWarning: unclosed 
> <socket.socket fd=10, family=2, type=1, proto=0, laddr=('0.0.0.0', 48332)>
>   if ping('127.0.0.1', port): return
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> WARNING: Skipping 'twisted' test (ImportError).
> ./usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=8>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /usr/lib/python3.11/unittest/suite.py:84: ResourceWarning: unclosed file 
> <_io.BufferedReader name=11>
>   return self.run(*args, **kwds)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ........./<<PKGBUILDDIR>>/bottle.py:3619: DeprecationWarning: The include and 
> rebase keywords are functions now.
>   line, comment = self.fix_backward_compatibility(line, comment)
> ...../<<PKGBUILDDIR>>/bottle.py:3619: DeprecationWarning: PEP263 encoding 
> strings in templates are deprecated.
>   line, comment = self.fix_backward_compatibility(line, comment)
> ....../<<PKGBUILDDIR>>/bottle.py:201: DeprecationWarning: Template encodings 
> other than utf8 are no longer supported.
>   value = obj.__dict__[self.func.__name__] = self.func(obj)
> ..../<<PKGBUILDDIR>>/bottle.py:3413: DeprecationWarning: Escape code lines 
> with a backslash.
>   code = parser.translate()
> ..../<<PKGBUILDDIR>>/test/test_stpl.py:57: DeprecationWarning: Please use 
> assertEqual instead.
>   self.assertEquals('"&lt;&#039;&#13;&#10;&#9;&quot;\\&gt;"', 
> html_quote('<\'\r\n\t"\\>'));
> ......................................../<<PKGBUILDDIR>>/test/test_wsgi.py:260:
>  DeprecationWarning: Please use assertEqual instead.
>   self.assertEquals('/test/6', bottle.url('foo', x=6))
> ....................
> ======================================================================
> FAIL: test_simple (test.test_server.TestPasteServer.test_simple)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ======================================================================
> FAIL: test_simple (test.test_server.TestServer.test_simple)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ======================================================================
> FAIL: test_simple (test.test_server.TestTornadoServer.test_simple)
> Test a simple static page with this server adapter.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/test/test_server.py", line 88, in test_simple
>     self.assertEqual(tob('OK'), self.fetch('test'))
> AssertionError: b'OK' != "URLError(ConnectionRefusedError(111, 'Connection 
> refused'))"
> 
> ----------------------------------------------------------------------
> Ran 333 tests in 3.334s
> 
> FAILED (failures=3, skipped=1)
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=3>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=5>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=4>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=7>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=6>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> sys:1: ResourceWarning: unclosed file <_io.BufferedReader name=9>
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ERROR: InvocationError for command /<<PKGBUILDDIR>>/.tox/py311/bin/python -m 
> unittest discover (exited with code 1)
> ___________________________________ summary 
> ____________________________________
> ERROR:   py311: commands failed
> E: pybuild pybuild:388: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_bottle/build; tox -c 
> /<<PKGBUILDDIR>>/tox.ini --sitepackages -e py311 
>       rm -fr -- /tmp/dh-xdg-rundir-U3hTxxe8
> dh_auto_test: error: pybuild --test --test-tox -i python{version} -p "3.10 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/python-bottle_0.12.23-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&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 mark 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.

Reply via email to