Your message dated Wed, 28 May 2025 13:09:45 +0000
with message-id <e1ukgxr-000gsw...@fasolo.debian.org>
and subject line Bug#1106444: fixed in python-structlog 25.3.0-2
has caused the Debian Bug report #1106444,
regarding python-structlog: FTBFS: FAILED 
tests/test_stdlib.py::TestProcessorFormatter::test_foreign_pre_chain_filter_by_level
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1106444: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106444
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-structlog
Version: 25.3.0-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C docs clean BUILDDIR=/<<PKGBUILDDIR>>/.pybuild/docs
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
rm -rf /<<PKGBUILDDIR>>/.pybuild/docs/*
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog  
* Building wheel...
Successfully built structlog-25.3.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build \
  http_proxy=http://127.0.0.1:9 \
  https_proxy=https://127.0.0.1:9 \
  make -C docs html BUILDDIR=/<<PKGBUILDDIR>>/.pybuild/docs
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -n -b html -d /<<PKGBUILDDIR>>/.pybuild/docs/doctrees   . 
/<<PKGBUILDDIR>>/.pybuild/docs/html
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = ['.rst', '.md']` to `source_suffix = {'.rst': 
'restructuredtext', '.md': 'restructuredtext'}`.
myst v4.0.1: MdParserConfig(commonmark_only=False, gfm_only=False, 
enable_extensions={'deflist', 'smartquotes', 'colon_fence'}, disable_syntax=[], 
all_links_external=False, links_external_new_tab=False, url_schemes=('http', 
'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), 
number_code_blocks=[], title_to_header=False, heading_anchors=0, 
heading_slug_func=None, html_meta={}, footnote_sort=True, 
footnote_transition=True, words_per_minute=200, substitutions={}, 
linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, 
dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, 
mathjax_classes='tex2jax_process|mathjax_process|math|output_area', 
enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
loading intersphinx inventory 'python' from 
/usr/share/doc/python3-doc/html/objects.inv ...
loading intersphinx inventory 'rich' from 
https://rich.readthedocs.io/en/stable/objects.inv ...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://rich.readthedocs.io/en/stable/objects.inv' not 
fetchable due to <class 'requests.exceptions.ProxyError'>: 
HTTPSConnectionPool(host='rich.readthedocs.io', port=443): Max retries exceeded 
with url: /en/stable/objects.inv (Caused by ProxyError('Unable to connect to 
proxy', NewConnectionError('<urllib3.connection.HTTPSConnection object at 
0x7f2e221296a0>: Failed to establish a new connection: [Errno 111] Connection 
refused')))
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 21 source files that are out of date
updating environment: [new config] 21 added, 0 changed, 0 removed
reading sources... [  5%] api
reading sources... [ 10%] bound-loggers
reading sources... [ 14%] configuration
reading sources... [ 19%] console-output
reading sources... [ 24%] contextvars
reading sources... [ 29%] exceptions
reading sources... [ 33%] frameworks
reading sources... [ 38%] getting-started
reading sources... [ 43%] glossary
reading sources... [ 48%] index
reading sources... [ 52%] license
reading sources... [ 57%] logging-best-practices
reading sources... [ 62%] performance
reading sources... [ 67%] processors
reading sources... [ 71%] recipes
reading sources... [ 76%] standard-library
reading sources... [ 81%] testing
reading sources... [ 86%] thread-local
reading sources... [ 90%] twisted
reading sources... [ 95%] typing
reading sources... [100%] why

/<<PKGBUILDDIR>>/README.md:335: WARNING: image file not readable: 
docs/_static/console_renderer.png [image.not_readable]
/<<PKGBUILDDIR>>/docs/standard-library.md.rst:168: WARNING: Unknown directive 
type: 'mermaid' [myst.directive_unknown]
/<<PKGBUILDDIR>>/docs/standard-library.md.rst:263: WARNING: Unknown directive 
type: 'mermaid' [myst.directive_unknown]
/<<PKGBUILDDIR>>/docs/standard-library.md.rst:345: WARNING: Unknown directive 
type: 'mermaid' [myst.directive_unknown]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to 
/<<PKGBUILDDIR>>/.pybuild/docs/html/_static/language_data.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/.pybuild/docs/html/_static/basic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/.pybuild/docs/html/_static/documentation_options.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [  5%] api
writing output... [ 10%] bound-loggers
writing output... [ 14%] configuration
writing output... [ 19%] console-output
writing output... [ 24%] contextvars
writing output... [ 29%] exceptions
writing output... [ 33%] frameworks
writing output... [ 38%] getting-started
writing output... [ 43%] glossary
writing output... [ 48%] index
writing output... [ 52%] license
writing output... [ 57%] logging-best-practices
writing output... [ 62%] performance
writing output... [ 67%] processors
writing output... [ 71%] recipes
writing output... [ 76%] standard-library
writing output... [ 81%] testing
writing output... [ 86%] thread-local
writing output... [ 90%] twisted
writing output... [ 95%] typing
writing output... [100%] why

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build/structlog/dev.py:docstring
 of structlog.dev.RichTracebackFormatter:5: WARNING: py:class reference target 
not found: rich.traceback.Traceback [ref.class]
/<<PKGBUILDDIR>>/README.md:335: WARNING: 'myst' cross-reference target not 
found: 'docs/_static/console_renderer.png' [myst.xref_missing]
generating indices... genindex py-modindex done
highlighting module code... [  6%] structlog._base
highlighting module code... [ 12%] structlog._config
highlighting module code... [ 19%] structlog._generic
highlighting module code... [ 25%] structlog._log_levels
highlighting module code... [ 31%] structlog._native
highlighting module code... [ 38%] structlog._output
highlighting module code... [ 44%] structlog.contextvars
highlighting module code... [ 50%] structlog.dev
highlighting module code... [ 56%] structlog.exceptions
highlighting module code... [ 62%] structlog.processors
highlighting module code... [ 69%] structlog.stdlib
highlighting module code... [ 75%] structlog.testing
highlighting module code... [ 81%] structlog.threadlocal
highlighting module code... [ 88%] structlog.tracebacks
highlighting module code... [ 94%] structlog.twisted
highlighting module code... [100%] structlog.typing

writing additional pages... search done
copying images... [ 50%] _static/BoundLogger.svg
copying images... [100%] _static/console_renderer.png

dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 7 warnings.

The HTML pages are in ../.pybuild/docs/html.

Build finished. The HTML pages are in /<<PKGBUILDDIR>>/.pybuild/docs/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build; python3.13 -m pytest 
tests
============================= test session starts ==============================
platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build
configfile: pyproject.toml
plugins: asyncio-0.25.1, typeguard-4.4.2
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=function
collected 880 items

tests/processors/test_processors.py .................................... [  4%]
........................................................................ [ 12%]
..............................................................           [ 19%]
tests/processors/test_renderers.py ..................................... [ 23%]
......s...s...s...s...s...s...s...s...s...s...s...s................      [ 31%]
tests/test_base.py ....................                                  [ 33%]
tests/test_config.py ..........................................          [ 38%]
tests/test_contextvars.py ..................                             [ 40%]
tests/test_dev.py ..s................................................... [ 46%]
........sssss.                                                           [ 47%]
tests/test_frames.py ............                                        [ 49%]
tests/test_generic.py .....                                              [ 49%]
tests/test_native.py .......................................             [ 54%]
tests/test_output.py ................................................... [ 60%]
......................................................................   [ 68%]
tests/test_packaging.py .....                                            [ 68%]
tests/test_stdlib.py ................................................... [ 74%]
..............................................................F......... [ 82%]
..............                                                           [ 84%]
tests/test_testing.py ...................                                [ 86%]
tests/test_threadlocal.py .............s.................                [ 89%]
tests/test_tracebacks.py ...........sssssssss........................... [ 95%]
..........                                                               [ 96%]
tests/test_twisted.py ............................                       [ 99%]
tests/test_utils.py ....                                                 [100%]

=================================== FAILURES ===================================
________ TestProcessorFormatter.test_foreign_pre_chain_filter_by_level _________

self = <tests.test_stdlib.TestProcessorFormatter object at 0x7f937ccedbd0>
capsys = <_pytest.capture.CaptureFixture object at 0x7f937ce8b2d0>

    def test_foreign_pre_chain_filter_by_level(self, capsys):
        """
        foreign_pre_chain works with filter_by_level processor.
        """
        logger = logging.getLogger()
        configure_logging([filter_by_level], logger=logger)
        configure(
            processors=[ProcessorFormatter.wrap_for_formatter],
            logger_factory=LoggerFactory(),
            wrapper_class=BoundLogger,
        )
    
>       logger.warning("foo")

tests/test_stdlib.py:1350: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3.13/logging/__init__.py:1534: in warning
    self._log(WARNING, msg, args, **kwargs)
/usr/lib/python3.13/logging/__init__.py:1667: in _log
    self.handle(record)
/usr/lib/python3.13/logging/__init__.py:1686: in handle
    self.callHandlers(record)
/usr/lib/python3.13/logging/__init__.py:1744: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.13/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3.13/logging/__init__.py:1151: in emit
    msg = self.format(record)
/usr/lib/python3.13/logging/__init__.py:999: in format
    return fmt.format(record)
structlog/stdlib.py:1143: in format
    ed = cast(EventDict, proc(logger, meth_name, ed))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

logger = <RootLogger root (DEBUG)>, method_name = 'warning'
event_dict = {'_from_structlog': False, '_record': <LogRecord: root, 30, 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build/tests/test_stdlib.py, 
1350, "foo">, 'event': 'foo'}

    def filter_by_level(
        logger: logging.Logger, method_name: str, event_dict: EventDict
    ) -> EventDict:
        """
        Check whether logging is configured to accept messages from this log 
level.
    
        Should be the first processor if stdlib's filtering by level is used so
        possibly expensive processors like exception formatters are avoided in 
the
        first place.
    
        >>> import logging
        >>> from structlog.stdlib import filter_by_level
        >>> logging.basicConfig(level=logging.WARN)
        >>> logger = logging.getLogger()
        >>> filter_by_level(logger, 'warn', {})
        {}
        >>> filter_by_level(logger, 'debug', {})
        Traceback (most recent call last):
        ...
        DropEvent
        """
        if logger.isEnabledFor(NAME_TO_LEVEL[method_name]):
            return event_dict
    
>       raise DropEvent
E       structlog.exceptions.DropEvent

structlog/stdlib.py:793: DropEvent
=========================== short test summary info ============================
SKIPPED [12] tests/processors/test_renderers.py:489: Skipped
SKIPPED [1] tests/test_dev.py:49: Must be running on Windows.
SKIPPED [1] tests/test_dev.py:654: Needs Rich.
SKIPPED [1] tests/test_dev.py:660: Needs Rich.
SKIPPED [1] tests/test_dev.py:672: Needs Rich.
SKIPPED [1] tests/test_dev.py:691: Needs better-exceptions.
SKIPPED [1] tests/test_dev.py:701: Needs better-exceptions.
SKIPPED [1] tests/test_threadlocal.py:260: Needs greenlet.
SKIPPED [9] tests/test_tracebacks.py:112: rich not installed
FAILED 
tests/test_stdlib.py::TestProcessorFormatter::test_foreign_pre_chain_filter_by_level
================== 1 failed, 851 passed, 28 skipped in 1.25s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_structlog/build; python3.13 -m pytest 
tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202505/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-structlog, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-structlog
Source-Version: 25.3.0-2
Done: Faidon Liambotis <parav...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-structlog, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1106...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Faidon Liambotis <parav...@debian.org> (supplier of updated python-structlog 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 28 May 2025 15:33:37 +0300
Source: python-structlog
Architecture: source
Version: 25.3.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Faidon Liambotis <parav...@debian.org>
Closes: 1106444
Changes:
 python-structlog (25.3.0-2) unstable; urgency=medium
 .
   * Backport upstream PR #723, resolving a Python 3.14 compatibility issue.
     This, by extension, makes this compatible with the Python 3.13 snapshot as
     packaged in the Debian python3.13 3.13.3-4 package. (Closes: #1106444)
Checksums-Sha1:
 cf745c4596d012e42d003d8c916a0626402fca6d 2547 python-structlog_25.3.0-2.dsc
 736a1d70dd82b1ba70e4ce6bcb6e83513d36a1b9 7996 
python-structlog_25.3.0-2.debian.tar.xz
 78384b86c5a57b33f5ca67934400863c5edf1e69 9509 
python-structlog_25.3.0-2_amd64.buildinfo
Checksums-Sha256:
 fe6cb86a6339b16a237c93b2a0d82ddaab709c231d19a50604fa4b9e7656b046 2547 
python-structlog_25.3.0-2.dsc
 59f00230ecc22992d295f96a31d7af5132dc5ad37a8d24c75e379950e9a3c78f 7996 
python-structlog_25.3.0-2.debian.tar.xz
 ce38a4fe0c6d3b63c807f6bdb69936e1a726c0ccffa270c0d7a685177a6a14f0 9509 
python-structlog_25.3.0-2_amd64.buildinfo
Files:
 983c28ba290d1cf4ca9b074c6efd5b84 2547 python optional 
python-structlog_25.3.0-2.dsc
 b476104114e3749a2110532de6f24e8b 7996 python optional 
python-structlog_25.3.0-2.debian.tar.xz
 97a857e1c24eec49f5746bd2657c8320 9509 python optional 
python-structlog_25.3.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqVksUhy5BAd9ZZgAnQteWx7sjw4FAmg3BDsACgkQnQteWx7s
jw4n7Q/9E8CfkvchP1mbgYn3+ZATq2nH6NkZzkIvqkxdm5iq/jMT6wNUQ+uoLO3J
ZCshH0/n5CaaJUxr73dxNvxY8ZuBbRBqImjLmZzCjX0Lu3V+RXTo+/M5nOj5YbZ8
uKBli9L0K+pZryaGBbPCtEcG3pXlBfnTHi2pXK2pwLffP7a37Z+8Mu5gIejgYS1m
gvath+tkouZhmddZkFtWu8exUu/oDVDi1MEojmJKaMpFlLe2umcSMvmxs+5mboTS
mT0Bw/0Bo3QHYHbqAFByh+B6/ji7gCVHZcHDwanU7jTajuUcAunHibZaJdt3s7B2
PK7oOOvdxF0IBPnC2HEuDDHOma7nQiqQqNR/4+iR2Yb89mFL2AWd3yqYtibb+PeE
s3UdRu/q8m0UZWVAi+vgpGdnx4JNl5Xbcw7uno4PnXUptcvZleO2Ta0pLrXg+EHl
f8Voc9aAGHXCiSQIDKbXXt1LmPvrJkrYUTrt9761n/6Tdjz3/5CwbR/GQQ+gGvTI
rR0MOBIVOHLCmrRIJw2zIroTn33i+aD6mnl6e75GCw6pyPQaLy3IbYjyEOna2jXg
bCZgIvzasJo0ShYKGnLjSWGsGZvtyEpBkodbnJ8PmZStlEbiRUPsOR+LTU+1Ar3X
sOkH2/qmKZ8SPBw3BlES16ro/65D0lFrALCn+aIxLJNpySfU/m4=
=avAR
-----END PGP SIGNATURE-----

Attachment: pgp0irSudAUSl.pgp
Description: PGP signature


--- End Message ---

Reply via email to