Your message dated Tue, 23 Jan 2024 09:50:16 +0000
with message-id <e1rsdq8-00ap4q...@fasolo.debian.org>
and subject line Bug#1058131: fixed in python-pythonjsonlogger 2.0.1-4
has caused the Debian Bug report #1058131,
regarding python-pythonjsonlogger: FTBFS: AssertionError: '{"message": " 
message", "taskName": null, "special": [3.0, 8.0]}\n' != '{"message": " 
message", "special": [3.0, 8.0]}\n'
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.)


-- 
1058131: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058131
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pythonjsonlogger
Version: 2.0.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pythonjsonlogger/build/pythonjsonlogger
> copying src/pythonjsonlogger/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pythonjsonlogger/build/pythonjsonlogger
> copying src/pythonjsonlogger/jsonlogger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pythonjsonlogger/build/pythonjsonlogger
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pythonjsonlogger/build/pythonjsonlogger
> copying src/pythonjsonlogger/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pythonjsonlogger/build/pythonjsonlogger
> copying src/pythonjsonlogger/jsonlogger.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pythonjsonlogger/build/pythonjsonlogger
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating src/python_json_logger.egg-info
> writing src/python_json_logger.egg-info/PKG-INFO
> writing dependency_links to 
> src/python_json_logger.egg-info/dependency_links.txt
> writing top-level names to src/python_json_logger.egg-info/top_level.txt
> writing manifest file 'src/python_json_logger.egg-info/SOURCES.txt'
> reading manifest file 'src/python_json_logger.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'src/python_json_logger.egg-info/SOURCES.txt'
> running build_ext
> testCustomObjectSerialization 
> (tests.tests.TestJsonLogger.testCustomObjectSerialization) ...  message
> FAIL
> testDefaultFormat (tests.tests.TestJsonLogger.testDefaultFormat) ... testing 
> logging format
> ok
> testEnsureAsciiFalse (tests.tests.TestJsonLogger.testEnsureAsciiFalse) ... 
> Привет
> ok
> testEnsureAsciiTrue (tests.tests.TestJsonLogger.testEnsureAsciiTrue) ... 
> Привет
> ok
> testExcInfo (tests.tests.TestJsonLogger.testExcInfo) ... hello
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/tests.py", line 187, in testExcInfo
>     raise Exception('test')
> Exception: test
> ok
> testFormatKeys (tests.tests.TestJsonLogger.testFormatKeys) ... testing 
> logging format
> ok
> testJsonCustomDefault (tests.tests.TestJsonLogger.testJsonCustomDefault) ... 
> {'adate': datetime.datetime(1999, 12, 31, 23, 59), 'normal': 'value'}
> ok
> testJsonCustomLogicAddsField 
> (tests.tests.TestJsonLogger.testJsonCustomLogicAddsField) ... message
> ok
> testJsonDefaultEncoder (tests.tests.TestJsonLogger.testJsonDefaultEncoder) 
> ... {'adate': datetime.datetime(1999, 12, 31, 23, 59), 'otherdate': 
> datetime.date(1789, 7, 14), 'otherdatetime': datetime.datetime(1789, 7, 14, 
> 23, 59), 'otherdatetimeagain': datetime.datetime(1900, 1, 1, 0, 0)}
> ok
> testJsonDefaultEncoderWithTimestamp 
> (tests.tests.TestJsonLogger.testJsonDefaultEncoderWithTimestamp) ... Hello
> ok
> testLogADict (tests.tests.TestJsonLogger.testLogADict) ... {'text': 'testing 
> logging', 'num': 1, 5: '9', 'nested': {'more': 'data'}}
> ok
> testLogExtra (tests.tests.TestJsonLogger.testLogExtra) ... hello
> ok
> testRenameBaseField (tests.tests.TestJsonLogger.testRenameBaseField) ... 
> testing logging format
> ok
> testUnknownFormatKey (tests.tests.TestJsonLogger.testUnknownFormatKey) ... 
> testing unknown logging format
> ok
> 
> ======================================================================
> FAIL: testCustomObjectSerialization 
> (tests.tests.TestJsonLogger.testCustomObjectSerialization)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/tests.py", line 232, in 
> testCustomObjectSerialization
>     self.assertEqual(msg, "{\"message\": \" message\", \"special\": [3.0, 
> 8.0]}\n")
> AssertionError: '{"message": " message", "taskName": null, "special": [3.0, 
> 8.0]}\n' != '{"message": " message", "special": [3.0, 8.0]}\n'
> - {"message": " message", "taskName": null, "special": [3.0, 8.0]}
> ?                        ------------------
> + {"message": " message", "special": [3.0, 8.0]}
> 
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 0.004s
> 
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=14 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=14 errors=0 
> failures=1>
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: 
> python3.12 setup.py test 
> I: pybuild base:310: python3.11 setup.py test 
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing src/python_json_logger.egg-info/PKG-INFO
> writing dependency_links to 
> src/python_json_logger.egg-info/dependency_links.txt
> writing top-level names to src/python_json_logger.egg-info/top_level.txt
> reading manifest file 'src/python_json_logger.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'src/python_json_logger.egg-info/SOURCES.txt'
> running build_ext
> testCustomObjectSerialization 
> (tests.tests.TestJsonLogger.testCustomObjectSerialization) ...  message
> ok
> testDefaultFormat (tests.tests.TestJsonLogger.testDefaultFormat) ... testing 
> logging format
> ok
> testEnsureAsciiFalse (tests.tests.TestJsonLogger.testEnsureAsciiFalse) ... 
> Привет
> ok
> testEnsureAsciiTrue (tests.tests.TestJsonLogger.testEnsureAsciiTrue) ... 
> Привет
> ok
> testExcInfo (tests.tests.TestJsonLogger.testExcInfo) ... hello
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/tests.py", line 187, in testExcInfo
>     raise Exception('test')
> Exception: test
> ok
> testFormatKeys (tests.tests.TestJsonLogger.testFormatKeys) ... testing 
> logging format
> ok
> testJsonCustomDefault (tests.tests.TestJsonLogger.testJsonCustomDefault) ... 
> {'adate': datetime.datetime(1999, 12, 31, 23, 59), 'normal': 'value'}
> ok
> testJsonCustomLogicAddsField 
> (tests.tests.TestJsonLogger.testJsonCustomLogicAddsField) ... message
> ok
> testJsonDefaultEncoder (tests.tests.TestJsonLogger.testJsonDefaultEncoder) 
> ... {'adate': datetime.datetime(1999, 12, 31, 23, 59), 'otherdate': 
> datetime.date(1789, 7, 14), 'otherdatetime': datetime.datetime(1789, 7, 14, 
> 23, 59), 'otherdatetimeagain': datetime.datetime(1900, 1, 1, 0, 0)}
> ok
> testJsonDefaultEncoderWithTimestamp 
> (tests.tests.TestJsonLogger.testJsonDefaultEncoderWithTimestamp) ... Hello
> ok
> testLogADict (tests.tests.TestJsonLogger.testLogADict) ... {'text': 'testing 
> logging', 'num': 1, 5: '9', 'nested': {'more': 'data'}}
> ok
> testLogExtra (tests.tests.TestJsonLogger.testLogExtra) ... hello
> ok
> testRenameBaseField (tests.tests.TestJsonLogger.testRenameBaseField) ... 
> testing logging format
> ok
> testUnknownFormatKey (tests.tests.TestJsonLogger.testUnknownFormatKey) ... 
> testing unknown logging format
> ok
> 
> ----------------------------------------------------------------------
> Ran 14 tests in 0.007s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-pythonjsonlogger_2.0.1-3_unstable.log

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

--- End Message ---
--- Begin Message ---
Source: python-pythonjsonlogger
Source-Version: 2.0.1-4
Done: Thomas Goirand <z...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pythonjsonlogger, 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 1058...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-pythonjsonlogger 
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: SHA256

Format: 1.8
Date: Tue, 23 Jan 2024 09:05:33 +0100
Source: python-pythonjsonlogger
Architecture: source
Version: 2.0.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1058131
Changes:
 python-pythonjsonlogger (2.0.1-4) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Update standards version to 4.6.2, no changes needed.
 .
   [ Thomas Goirand ]
   * Team upload.
   * Add py3.12-repair-unit-test.patch (Closes: #1058131).
Checksums-Sha1:
 bebdb7aee0fe62bcc980bfb41492a250f1dbb008 2156 
python-pythonjsonlogger_2.0.1-4.dsc
 293ac6e602f8679e4023d488d7788c55573cdd51 3096 
python-pythonjsonlogger_2.0.1-4.debian.tar.xz
 7c9a885e3436669ba88e8964890719dd79a9369e 7163 
python-pythonjsonlogger_2.0.1-4_amd64.buildinfo
Checksums-Sha256:
 377b6f4851015ac9f8175b4b133ad630eccacf05fdbc8a5448877dcd879feab7 2156 
python-pythonjsonlogger_2.0.1-4.dsc
 ed2fa5800f0746595bb8b97ff18babfe9cbb6e834b01c57dd14091d1454bd584 3096 
python-pythonjsonlogger_2.0.1-4.debian.tar.xz
 94a54c20b7ab64b6a1531787d2094061f432a18afb606378ac2f13a08af8c914 7163 
python-pythonjsonlogger_2.0.1-4_amd64.buildinfo
Files:
 7efab1c8cc7f6bc0b8d03a0a97ed8a66 2156 python optional 
python-pythonjsonlogger_2.0.1-4.dsc
 eb192814971d05fe69687a36ae651868 3096 python optional 
python-pythonjsonlogger_2.0.1-4.debian.tar.xz
 d1629863d0ffe7997b3f9af188ba1505 7163 python optional 
python-pythonjsonlogger_2.0.1-4_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmWvdDsACgkQ1BatFaxr
Q/5rXw/+NWh8M2wsPESUoIrCs7dNggYuy/+v+a0UbWm+KgGzC3O58h5897UxAYcF
2SHeUNu/Eg68zlAMJuAHIQkA59mrIOWGGiIvfj17+qmhUZljqv8QKtDK8qI2L21W
frEAHTpI/lAkmi+bFdbY3SuIcQlv/SxcVcuNdD3+5stXXiMAp/wwRKW56ZUFzUMn
YmR3a8WGpd320RJtPbp4n3WoO76LmGBy4FY+f/DtHkHm0/7vWyh6F9gpLu7jAAXi
ENxDhla0HjwsSLDR8E8Az34Spe1oY55/4z+ffvrrbYtNMD+FLsIrQBCd8gV/ptjV
lihAymM/+1RwkWwXGZSnp2M2hR4tOr/i+H0JaAEOw8PpXG2CK/GBwRNUPjqfrvlW
WCLNh4/d59IAmU0y74fUib9BGFJjAabfJ4uXIQkJkJSeYn0i13o3eUzQY3bBZB6Y
4dqys08mBuDE+nNaVK0ezR643UA/pprZduDhXB2mC6rk9c1W0mRNxCaStkDfajaa
OrAT1rvqn3SbZ/JKPCGjvCyo91oDr/UaSIDRaDy+pJSKNc+wiZ7qYDAlDHA6cwCx
m8YcitU341zn6fx++uzXCvPWNF6v4mtBsRH0nOdb/KnktAN7jz8dvk67Ai8lN3sA
Fw5KqUy5fBWXoafzLEBvwnC+Hocn7d3KyCh/ja3C1wxZ+E/lHQU=
=EyhO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to