python-structlog: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13

Bug #2006634 reported by Nick Rosbrook
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-structlog (Debian)
Fix Released
Unknown
python-structlog (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/1026725:

Source: python-structlog
Version: 20.1.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: <email address hidden>
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

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

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -n -b html -d _build/doctrees . _build/html
> Running Sphinx v5.3.0
> making output directory... done
> loading intersphinx inventory from https://docs.python.org/3/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff139d8ef80>: 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 21 source files that are out of date
> updating environment: [new config] 21 added, 0 changed, 0 removed
> reading sources... [ 4%] api
> reading sources... [ 9%] backward-compatibility
> reading sources... [ 14%] changelog
> reading sources... [ 19%] configuration
> reading sources... [ 23%] contextvars
> reading sources... [ 28%] contributing
> reading sources... [ 33%] custom-wrappers
> reading sources... [ 38%] development
> reading sources... [ 42%] examples
> reading sources... [ 47%] getting-started
> reading sources... [ 52%] index
> reading sources... [ 57%] license
> reading sources... [ 61%] loggers
> reading sources... [ 66%] logging-best-practices
> reading sources... [ 71%] performance
> reading sources... [ 76%] processors
> reading sources... [ 80%] standard-library
> reading sources... [ 85%] testing
> reading sources... [ 90%] thread-local
> reading sources... [ 95%] twisted
> reading sources... [100%] why
>
> WARNING: autodoc: failed to import function 'get_logger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'getLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'wrap_logger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'configure' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'configure_once' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'reset_defaults' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'is_configured' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'get_config' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'BoundLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'PrintLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'PrintLoggerFactory' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import exception 'DropEvent' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'BoundLoggerBase' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'dev' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'ConsoleRenderer' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'set_exc_info' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'testing' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'capture_logs' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'LogCapture' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'ReturnLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'ReturnLoggerFactory' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'threadlocal' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'merge_threadlocal' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'clear_threadlocal' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'bind_threadlocal' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'wrap_dict' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'tmp_bind' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'as_immutable' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'contextvars' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'merge_contextvars' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'clear_contextvars' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'bind_contextvars' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'unbind_contextvars' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'processors' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'JSONRenderer' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'KeyValueRenderer' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'UnicodeDecoder' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'UnicodeEncoder' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'format_exc_info' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'StackInfoRenderer' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'ExceptionPrettyPrinter' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'TimeStamper' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'stdlib' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'BoundLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'LoggerFactory' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'render_to_log_kwargs' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'filter_by_level' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'add_log_level' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'add_log_level_number' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'add_logger_name' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'PositionalArgumentsFormatter' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'ProcessorFormatter' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import module 'twisted' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'BoundLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'LoggerFactory' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'EventAdapter' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'JSONRenderer' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'plainJSONStdOutLogger' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import function 'JSONLogObserverWrapper' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> WARNING: autodoc: failed to import class 'PlainFileLogObserver' from module 'structlog'; the following exception was raised:
> No module named 'structlog'
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 4%] api
> writing output... [ 9%] backward-compatibility
> writing output... [ 14%] changelog
> writing output... [ 19%] configuration
> writing output... [ 23%] contextvars
> writing output... [ 28%] contributing
> writing output... [ 33%] custom-wrappers
> writing output... [ 38%] development
> writing output... [ 42%] examples
> writing output... [ 47%] getting-started
> writing output... [ 52%] index
> writing output... [ 57%] license
> writing output... [ 61%] loggers
> writing output... [ 66%] logging-best-practices
> writing output... [ 71%] performance
> writing output... [ 76%] processors
> writing output... [ 80%] standard-library
> writing output... [ 85%] testing
> writing output... [ 90%] thread-local
> writing output... [ 95%] twisted
> writing output... [100%] why
>
> /<<PKGBUILDDIR>>/docs/api.rst:7: WARNING: 'any' reference target not found: structlog.processors.KeyValueRenderer
> /<<PKGBUILDDIR>>/docs/api.rst:59: WARNING: 'any' reference target not found: structlog.dev
> /<<PKGBUILDDIR>>/docs/api.rst:70: WARNING: 'any' reference target not found: structlog.testing
> /<<PKGBUILDDIR>>/docs/api.rst:83: WARNING: 'any' reference target not found: structlog.threadlocal
> /<<PKGBUILDDIR>>/docs/api.rst:112: WARNING: 'any' reference target not found: structlog.contextvars
> /<<PKGBUILDDIR>>/docs/api.rst:125: WARNING: 'any' reference target not found: structlog.processors
> /<<PKGBUILDDIR>>/docs/api.rst:204: WARNING: 'any' reference target not found: structlog.stdlib
> /<<PKGBUILDDIR>>/docs/api.rst:231: WARNING: 'any' reference target not found: structlog.twisted
> /<<PKGBUILDDIR>>/docs/backward-compatibility.rst:14: WARNING: py:mod reference target not found: structlog.dev
> /<<PKGBUILDDIR>>/CHANGELOG.rst:80: WARNING: 'any' reference target not found: exception
> /<<PKGBUILDDIR>>/docs/configuration.rst:8: WARNING: py:func reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:18: WARNING: py:func reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/configuration.rst:47: WARNING: py:class reference target not found: structlog.PrintLogger
> /<<PKGBUILDDIR>>/docs/configuration.rst:49: WARNING: py:func reference target not found: structlog.wrap_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:62: WARNING: py:func reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/configuration.rst:66: WARNING: py:func reference target not found: structlog.wrap_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:68: WARNING: py:func reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/configuration.rst:71: WARNING: py:func reference target not found: structlog.reset_defaults
> /<<PKGBUILDDIR>>/docs/configuration.rst:91: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:94: WARNING: py:func reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:107: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:114: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:116: WARNING: py:class reference target not found: structlog.stdlib.LoggerFactory
> /<<PKGBUILDDIR>>/docs/configuration.rst:124: WARNING: 'any' reference target not found: structlog.stdlib.LoggerFactory
> /<<PKGBUILDDIR>>/docs/configuration.rst:125: WARNING: 'any' reference target not found: structlog.twisted.LoggerFactory
> /<<PKGBUILDDIR>>/docs/configuration.rst:136: WARNING: 'any' reference target not found: structlog.stdlib.LoggerFactory
> /<<PKGBUILDDIR>>/docs/configuration.rst:145: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/configuration.rst:145: WARNING: 'any' reference target not found: structlog.PrintLogger
> /<<PKGBUILDDIR>>/docs/configuration.rst:169: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/configuration.rst:169: WARNING: 'any' reference target not found: structlog.configure_once
> /<<PKGBUILDDIR>>/docs/configuration.rst:169: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/configuration.rst:169: WARNING: py:func reference target not found: structlog.configure_once
> /<<PKGBUILDDIR>>/docs/contextvars.rst:15: WARNING: py:mod reference target not found: contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:15: WARNING: py:mod reference target not found: asyncio
> /<<PKGBUILDDIR>>/docs/contextvars.rst:18: WARNING: 'any' reference target not found: structlog.contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:23: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/contextvars.rst:23: WARNING: 'any' reference target not found: structlog.contextvars.merge_contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:24: WARNING: 'any' reference target not found: structlog.contextvars.clear_contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:25: WARNING: 'any' reference target not found: structlog.contextvars.bind_contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:25: WARNING: 'any' reference target not found: structlog.contextvars.unbind_contextvars
> /<<PKGBUILDDIR>>/docs/contextvars.rst:26: WARNING: 'any' reference target not found: structlog.contextvars.merge_contextvars
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:17: WARNING: 'any' reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:20: WARNING: 'any' reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:23: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:23: WARNING: 'any' reference target not found: structlog.BoundLoggerBase
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:53: WARNING: 'any' reference target not found: structlog.BoundLoggerBase._logger
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:54: WARNING: 'any' reference target not found: structlog.BoundLoggerBase._proxy_to_logger
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:54: WARNING: 'any' reference target not found: DropEvent
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:54: WARNING: 'any' reference target not found: _logger
> /<<PKGBUILDDIR>>/docs/custom-wrappers.rst:55: WARNING: 'any' reference target not found: structlog.BoundLoggerBase._process_event
> /<<PKGBUILDDIR>>/docs/development.rst:4: WARNING: 'any' reference target not found: structlog.dev
> /<<PKGBUILDDIR>>/docs/development.rst:6: WARNING: 'any' reference target not found: structlog.dev.ConsoleRenderer
> /<<PKGBUILDDIR>>/docs/development.rst:14: WARNING: 'any' reference target not found: ConsoleRenderer
> /<<PKGBUILDDIR>>/docs/examples.rst:24: WARNING: 'any' reference target not found: structlog.stdlib.LoggerFactory
> /<<PKGBUILDDIR>>/docs/examples.rst:24: WARNING: 'any' reference target not found: logging.getLogger
> /<<PKGBUILDDIR>>/docs/examples.rst:24: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/examples.rst:24: WARNING: 'any' reference target not found: get_logger
> /<<PKGBUILDDIR>>/docs/examples.rst:50: WARNING: py:class reference target not found: structlog.twisted.EventAdapter
> /<<PKGBUILDDIR>>/docs/getting-started.rst:34: WARNING: 'any' reference target not found: structlog.dev.ConsoleRenderer
> /<<PKGBUILDDIR>>/docs/getting-started.rst:34: WARNING: 'any' reference target not found: repr
> /<<PKGBUILDDIR>>/docs/getting-started.rst:59: WARNING: 'any' reference target not found: structlog.processors.KeyValueRenderer()
> /<<PKGBUILDDIR>>/docs/getting-started.rst:103: WARNING: 'any' reference target not found: collections.OrderedDict
> /<<PKGBUILDDIR>>/docs/getting-started.rst:148: WARNING: py:class reference target not found: structlog.processors.JSONRenderer
> /<<PKGBUILDDIR>>/docs/getting-started.rst:177: WARNING: py:func reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/getting-started.rst:188: WARNING: py:class reference target not found: structlog.processors.JSONRenderer
> /<<PKGBUILDDIR>>/docs/loggers.rst:8: WARNING: py:class reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/loggers.rst:16: WARNING: 'any' reference target not found: logging.Logger
> /<<PKGBUILDDIR>>/docs/loggers.rst:21: WARNING: py:func reference target not found: structlog.BoundLogger.bind
> /<<PKGBUILDDIR>>/docs/loggers.rst:21: WARNING: py:func reference target not found: structlog.BoundLogger.new
> /<<PKGBUILDDIR>>/docs/loggers.rst:22: WARNING: py:func reference target not found: structlog.BoundLogger.unbind
> /<<PKGBUILDDIR>>/docs/loggers.rst:26: WARNING: py:class reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/loggers.rst:44: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/loggers.rst:48: WARNING: 'any' reference target not found: structlog.wrap_logger
> /<<PKGBUILDDIR>>/docs/loggers.rst:82: WARNING: 'any' reference target not found: None
> /<<PKGBUILDDIR>>/docs/loggers.rst:88: WARNING: py:class reference target not found: structlog.processors.StackInfoRenderer
> /<<PKGBUILDDIR>>/docs/loggers.rst:88: WARNING: py:func reference target not found: structlog.processors.format_exc_info
> /<<PKGBUILDDIR>>/docs/loggers.rst:88: WARNING: py:class reference target not found: structlog.processors.TimeStamper
> /<<PKGBUILDDIR>>/docs/loggers.rst:88: WARNING: py:class reference target not found: structlog.dev.ConsoleRenderer
> /<<PKGBUILDDIR>>/docs/loggers.rst:94: WARNING: 'any' reference target not found: dict
> /<<PKGBUILDDIR>>/docs/loggers.rst:94: WARNING: 'any' reference target not found: collections.OrderedDict
> /<<PKGBUILDDIR>>/docs/loggers.rst:100: WARNING: py:class reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/performance.rst:9: WARNING: 'any' reference target not found: dict
> /<<PKGBUILDDIR>>/docs/performance.rst:14: WARNING: py:class reference target not found: structlog.processors.KeyValueRenderer
> /<<PKGBUILDDIR>>/docs/performance.rst:21: WARNING: py:func reference target not found: structlog.wrap_logger
> /<<PKGBUILDDIR>>/docs/performance.rst:21: WARNING: py:func reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/performance.rst:33: WARNING: 'any' reference target not found: True
> /<<PKGBUILDDIR>>/docs/performance.rst:37: WARNING: py:func reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/processors.rst:16: WARNING: 'any' reference target not found: logging.Logger
> /<<PKGBUILDDIR>>/docs/processors.rst:64: WARNING: 'any' reference target not found: TimeStamper
> /<<PKGBUILDDIR>>/docs/processors.rst:70: WARNING: 'any' reference target not found: structlog.DropEvent
> /<<PKGBUILDDIR>>/docs/processors.rst:106: WARNING: 'any' reference target not found: dict
> /<<PKGBUILDDIR>>/docs/processors.rst:112: WARNING: 'any' reference target not found: structlog.processors.JSONRenderer
> /<<PKGBUILDDIR>>/docs/standard-library.rst:4: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:4: WARNING: 'any' reference target not found: logging.getLogger
> /<<PKGBUILDDIR>>/docs/standard-library.rst:4: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/standard-library.rst:7: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:14: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:14: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:28: WARNING: 'any' reference target not found: logging.debug
> /<<PKGBUILDDIR>>/docs/standard-library.rst:30: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:36: WARNING: 'any' reference target not found: structlog.stdlib.BoundLogger
> /<<PKGBUILDDIR>>/docs/standard-library.rst:36: WARNING: 'any' reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/standard-library.rst:40: WARNING: 'any' reference target not found: logging.Logger
> /<<PKGBUILDDIR>>/docs/standard-library.rst:51: WARNING: 'any' reference target not found: render_to_log_kwargs
> /<<PKGBUILDDIR>>/docs/standard-library.rst:50: WARNING: 'any' reference target not found: logging.log
> /<<PKGBUILDDIR>>/docs/standard-library.rst:50: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:56: WARNING: 'any' reference target not found: filter_by_level
> /<<PKGBUILDDIR>>/docs/standard-library.rst:59: WARNING: 'any' reference target not found: add_logger_name
> /<<PKGBUILDDIR>>/docs/standard-library.rst:62: WARNING: 'any' reference target not found: add_log_level
> /<<PKGBUILDDIR>>/docs/standard-library.rst:74: WARNING: 'any' reference target not found: add_log_level_number
> /<<PKGBUILDDIR>>/docs/standard-library.rst:78: WARNING: 'any' reference target not found: PositionalArgumentsFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:80: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:80: WARNING: 'any' reference target not found: logging.Formatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:91: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:141: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:144: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:144: WARNING: 'any' reference target not found: logging.Formatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:144: WARNING: 'any' reference target not found: logging.handlers
> /<<PKGBUILDDIR>>/docs/standard-library.rst:146: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:148: WARNING: 'any' reference target not found: structlog.stdlib.ProcessorFormatter.wrap_for_formatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:148: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/standard-library.rst:150: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:189: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:189: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/standard-library.rst:224: WARNING: 'any' reference target not found: logging.config.dictConfig
> /<<PKGBUILDDIR>>/docs/standard-library.rst:291: WARNING: 'any' reference target not found: add_log_level
> /<<PKGBUILDDIR>>/docs/standard-library.rst:309: WARNING: 'any' reference target not found: None
> /<<PKGBUILDDIR>>/docs/standard-library.rst:309: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/standard-library.rst:309: WARNING: 'any' reference target not found: ProcessorFormatter
> /<<PKGBUILDDIR>>/docs/standard-library.rst:340: WARNING: 'any' reference target not found: UnicodeDecoder
> /<<PKGBUILDDIR>>/docs/standard-library.rst:340: WARNING: 'any' reference target not found: UnicodeEncoder
> /<<PKGBUILDDIR>>/docs/standard-library.rst:342: WARNING: 'any' reference target not found: logging
> /<<PKGBUILDDIR>>/docs/testing.rst:6: WARNING: 'any' reference target not found: unittest.TestCase.assertLogs
> /<<PKGBUILDDIR>>/docs/testing.rst:6: WARNING: 'any' reference target not found: structlog.testing.capture_logs
> /<<PKGBUILDDIR>>/docs/testing.rst:17: WARNING: 'any' reference target not found: structlog.testing.LogCapture
> /<<PKGBUILDDIR>>/docs/testing.rst:36: WARNING: 'any' reference target not found: structlog.testing.ReturnLogger
> /<<PKGBUILDDIR>>/docs/thread-local.rst:30: WARNING: 'any' reference target not found: structlog.threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:41: WARNING: 'any' reference target not found: structlog.configure
> /<<PKGBUILDDIR>>/docs/thread-local.rst:41: WARNING: 'any' reference target not found: structlog.threadlocal.merge_threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:42: WARNING: 'any' reference target not found: structlog.threadlocal.clear_threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:43: WARNING: 'any' reference target not found: structlog.threadlocal.bind_threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:44: WARNING: 'any' reference target not found: structlog.threadlocal.merge_threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:82: WARNING: 'any' reference target not found: merge_threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:88: WARNING: 'any' reference target not found: structlog.threadlocal.wrap_dict
> /<<PKGBUILDDIR>>/docs/thread-local.rst:116: WARNING: 'any' reference target not found: structlog.threadlocal.wrap_dict
> /<<PKGBUILDDIR>>/docs/thread-local.rst:131: WARNING: 'any' reference target not found: structlog.threadlocal
> /<<PKGBUILDDIR>>/docs/thread-local.rst:131: WARNING: 'any' reference target not found: structlog.threadlocal.tmp_bind
> /<<PKGBUILDDIR>>/docs/thread-local.rst:154: WARNING: 'any' reference target not found: structlog.threadlocal.as_immutable
> /<<PKGBUILDDIR>>/docs/thread-local.rst:163: WARNING: py:func reference target not found: structlog.BoundLogger.new
> /<<PKGBUILDDIR>>/docs/thread-local.rst:163: WARNING: py:func reference target not found: structlog.BoundLogger.bind
> /<<PKGBUILDDIR>>/docs/twisted.rst:16: WARNING: 'any' reference target not found: structlog.twisted.BoundLogger
> /<<PKGBUILDDIR>>/docs/twisted.rst:16: WARNING: 'any' reference target not found: structlog.BoundLogger
> /<<PKGBUILDDIR>>/docs/twisted.rst:20: WARNING: py:func reference target not found: structlog.twisted.BoundLogger.msg
> /<<PKGBUILDDIR>>/docs/twisted.rst:20: WARNING: py:func reference target not found: structlog.twisted.BoundLogger.err
> /<<PKGBUILDDIR>>/docs/twisted.rst:23: WARNING: 'any' reference target not found: structlog.get_logger
> /<<PKGBUILDDIR>>/docs/twisted.rst:23: WARNING: 'any' reference target not found: structlog.getLogger
> /<<PKGBUILDDIR>>/docs/twisted.rst:50: WARNING: 'any' reference target not found: structlog.twisted.EventAdapter
> /<<PKGBUILDDIR>>/docs/twisted.rst:55: WARNING: 'any' reference target not found: structlog.twisted.JSONRenderer
> /<<PKGBUILDDIR>>/docs/twisted.rst:60: WARNING: 'any' reference target not found: structlog.twisted.JSONLogObserverWrapper
> /<<PKGBUILDDIR>>/docs/twisted.rst:62: WARNING: 'any' reference target not found: structlog.twisted.JSONRenderer
> /<<PKGBUILDDIR>>/docs/twisted.rst:75: WARNING: 'any' reference target not found: structlog.twisted.PlainFileLogObserver
> /<<PKGBUILDDIR>>/docs/twisted.rst:75: WARNING: 'any' reference target not found: structlog.twisted.plainJSONStdOutLogger
> /<<PKGBUILDDIR>>/docs/twisted.rst:75: WARNING: 'any' reference target not found: structlog.twisted.JSONLogObserverWrapper
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying images... [ 50%] _static/console_renderer.png
> copying images... [100%] _static/BoundLogger.svg
>
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 224 warnings.
>
> The HTML pages are in _build/html.
>
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_structlog/build; python3.11 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.1, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: asyncio-0.20.3
> asyncio: mode=Mode.STRICT
> collected 391 items
>
> tests/test_base.py .................. [ 4%]
> tests/test_config.py ...................................... [ 14%]
> tests/test_contextvars.py ......... [ 16%]
> tests/test_dev.py ......sss..................................... [ 28%]
> tests/test_frames.py ............ [ 31%]
> tests/test_generic.py ....... [ 33%]
> tests/test_loggers.py .................................. [ 41%]
> tests/test_processors.py ...............s........s...s...s...s...s...s.. [ 53%]
> .s...s...s...s.......................... [ 64%]
> tests/test_stdlib.py ................................................... [ 77%]
> .................... [ 82%]
> tests/test_testing.py .............. [ 85%]
> tests/test_threadlocal.py ............s.F........ [ 91%]
> tests/test_twisted.py ........x.................... [ 99%]
> tests/test_utils.py ... [100%]
>
> =================================== FAILURES ===================================
> ___________________ TestThreadLocalDict.test_delattr_missing ___________________
>
> self = <tests.test_threadlocal.TestThreadLocalDict object at 0x7fb8dad07b90>
> D = <class 'structlog.threadlocal.WrappedDict-e7fa17f5-eab7-47fa-8683-0dbf91594b30'>
>
> def test_delattr_missing(self, D):
> """
> __delattr__ on an inexisting attribute raises AttributeError.
> """
> d = D()
>
> with pytest.raises(AttributeError) as e:
> d._tl.__delattr__("does_not_exist")
>
> > assert "does_not_exist" == e.value.args[0]
> E assert 'does_not_exist' == "'_thread._lo...es_not_exist'"
> E - '_thread._local' object has no attribute 'does_not_exist'
> E + does_not_exist
>
> tests/test_threadlocal.py:254: AssertionError
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: strict
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> SKIPPED [3] tests/test_dev.py:94: Problem only exists on Python 2.
> SKIPPED [1] tests/test_processors.py:209: python-rapidjson is missing.
> SKIPPED [10] tests/test_processors.py:300: Skipped
> SKIPPED [1] tests/test_threadlocal.py:217: Needs greenlet.
> XFAIL tests/test_twisted.py::TestExtractStuffAndWhy::test_recognizesErrorsAndCleansThem - Py3 does not allow for cleaning exc_info
> FAILED tests/test_threadlocal.py::TestThreadLocalDict::test_delattr_missing
> ======= 1 failed, 374 passed, 15 skipped, 1 xfailed, 1 warning in 0.98s ========
> E: pybuild pybuild:386: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_structlog/build; python3.11 -m pytest tests
> I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_structlog/build; python3.10 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0+repack
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: asyncio-0.20.3
> asyncio: mode=strict
> collected 391 items
>
> tests/test_base.py .................. [ 4%]
> tests/test_config.py ...................................... [ 14%]
> tests/test_contextvars.py ......... [ 16%]
> tests/test_dev.py ......sss..................................... [ 28%]
> tests/test_frames.py ............ [ 31%]
> tests/test_generic.py ....... [ 33%]
> tests/test_loggers.py .................................. [ 41%]
> tests/test_processors.py ...............s........s...s...s...s...s...s.. [ 53%]
> .s...s...s...s.......................... [ 64%]
> tests/test_stdlib.py ................................................... [ 77%]
> .................... [ 82%]
> tests/test_testing.py .............. [ 85%]
> tests/test_threadlocal.py ............s.......... [ 91%]
> tests/test_twisted.py ........x.................... [ 99%]
> tests/test_utils.py ... [100%]
>
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1294: PytestConfigWarning: Unknown config option: strict
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> SKIPPED [3] tests/test_dev.py:94: Problem only exists on Python 2.
> SKIPPED [1] tests/test_processors.py:209: python-rapidjson is missing.
> SKIPPED [10] tests/test_processors.py:300: Skipped
> SKIPPED [1] tests/test_threadlocal.py:217: Needs greenlet.
> XFAIL tests/test_twisted.py::TestExtractStuffAndWhy::test_recognizesErrorsAndCleansThem - Py3 does not allow for cleaning exc_info
> ============ 375 passed, 15 skipped, 1 xfailed, 1 warning in 1.04s =============
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13

The full build log is available from:
http://qa-logs.debian.net/2022/12/20/python-structlog_20.1.0-3_unstable.log

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

Nick Rosbrook (enr0n)
tags: added: update-excuse
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Upstream has a commit that contains a fix for this already[1], so I created a patch with just the relevant part.

[1] https://github.com/hynek/structlog/commit/1012f5606b356d4fe1a9027513602c758bf51ab8

Revision history for this message
Simon Quigley (tsimonq2) wrote :

Nice DEP-3 header, and I appreciate that you already sent it to Debian as well. Sponsoring, thanks!

Changed in python-structlog (Ubuntu):
status: New → Fix Committed
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Thanks for sponsoring!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-structlog - 20.1.0-3ubuntu1

---------------
python-structlog (20.1.0-3ubuntu1) lunar; urgency=medium

  * debian/patches/fix-assertion-in-test_delattr_missing.patch:
    Fix FTBFS due to failure in test_delattr_missing. (LP: #2006634)

 -- Nick Rosbrook <email address hidden> Wed, 08 Feb 2023 15:50:24 -0500

Changed in python-structlog (Ubuntu):
status: Fix Committed → Fix Released
Changed in python-structlog (Debian):
importance: Undecided → Unknown
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.