Your message dated Tue, 12 Dec 2023 15:34:45 +0000
with message-id <[email protected]>
and subject line Bug#1058347: fixed in jupyter-telemetry 0.1.0-6
has caused the Debian Bug report #1058347,
regarding jupyter-telemetry: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.12 3.11" returned exit code 13
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 [email protected]
immediately.)


-- 
1058347: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: jupyter-telemetry
Version: 0.1.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/traits.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/eventlog.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/jupyter_telemetry
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/traits.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/eventlog.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build/jupyter_telemetry
> copying jupyter_telemetry/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build/jupyter_telemetry
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build; python3.12 
> -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 14 items
> 
> tests/test_eventlog.py ..                                                [ 
> 14%]
> tests/test_register_schema.py ....F...F                                  [ 
> 78%]
> tests/test_traits.py ...                                                 
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ______________________________ test_record_event 
> _______________________________
> 
>     def test_record_event():
>         """
>         Simple test for emitting valid events
>         """
>         schema = {
>             '$id': 'test/test',
>             'version': 1,
>             'properties': {
>                 'something': {
>                     'type': 'string'
>                 },
>             },
>         }
>     
>         output = io.StringIO()
>         handler = logging.StreamHandler(output)
>         el = EventLog(handlers=[handler])
>         el.register_schema(schema)
>         el.allowed_schemas = ['test/test']
>     
>         el.record_event('test/test', 1, {
>             'something': 'blah',
>         })
>         handler.flush()
>     
>         event_capsule = json.loads(output.getvalue())
>     
>         assert '__timestamp__' in event_capsule
>         # Remove timestamp from capsule when checking equality, since it is 
> gonna vary
>         del event_capsule['__timestamp__']
> >       assert event_capsule == {
>             '__schema__': 'test/test',
>             '__schema_version__': 1,
>             '__metadata_version__': 1,
>             'something': 'blah'
>         }
> E       AssertionError: assert {'__metadata_...: 'blah', ...} == 
> {'__metadata_...hing': 'blah'}
> E         Omitting 4 identical items, use -vv to show
> E         Left contains 1 more item:
> E         {'taskName': None}
> E         Use -v to get more diff
> 
> tests/test_register_schema.py:124: AssertionError
> _________________________ test_unique_logger_instances 
> _________________________
> 
>     def test_unique_logger_instances():
>         schema0 = {
>             '$id': 'test/test0',
>             'version': 1,
>             'properties': {
>                 'something': {
>                     'type': 'string'
>                 },
>             },
>         }
>     
>         schema1= {
>             '$id': 'test/test1',
>             'version': 1,
>             'properties': {
>                 'something': {
>                     'type': 'string'
>                 },
>             },
>         }
>     
>         output0 = io.StringIO()
>         output1 = io.StringIO()
>         handler0 = logging.StreamHandler(output0)
>         handler1 = logging.StreamHandler(output1)
>     
>         el0 = EventLog(handlers=[handler0])
>         el0.register_schema(schema0)
>         el0.allowed_schemas = ['test/test0']
>     
>         el1 = EventLog(handlers=[handler1])
>         el1.register_schema(schema1)
>         el1.allowed_schemas = ['test/test1']
>     
>         el0.record_event('test/test0', 1, {
>             'something': 'blah',
>         })
>         el1.record_event('test/test1', 1, {
>             'something': 'blah',
>         })
>         handler0.flush()
>         handler1.flush()
>     
>         event_capsule0 = json.loads(output0.getvalue())
>     
>         assert '__timestamp__' in event_capsule0
>         # Remove timestamp from capsule when checking equality, since it is 
> gonna vary
>         del event_capsule0['__timestamp__']
> >       assert event_capsule0 == {
>             '__schema__': 'test/test0',
>             '__schema_version__': 1,
>             '__metadata_version__': 1,
>             'something': 'blah'
>         }
> E       AssertionError: assert {'__metadata_...: 'blah', ...} == 
> {'__metadata_...hing': 'blah'}
> E         Omitting 4 identical items, use -vv to show
> E         Left contains 1 more item:
> E         {'taskName': None}
> E         Use -v to get more diff
> 
> tests/test_register_schema.py:264: AssertionError
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.12_jupyter-telemetry/build/tests/test_register_schema.py::test_timestamp_override
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/tests/test_register_schema.py:84:
>  DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled 
> for removal in a future version. Use timezone-aware objects to represent 
> datetimes in UTC: datetime.datetime.now(datetime.UTC).
>     timestamp_override = datetime.utcnow() - timedelta(days=1)
> 
> .pybuild/cpython3_3.12_jupyter-telemetry/build/tests/test_register_schema.py::test_record_event
> .pybuild/cpython3_3.12_jupyter-telemetry/build/tests/test_register_schema.py::test_unique_logger_instances
> .pybuild/cpython3_3.12_jupyter-telemetry/build/tests/test_register_schema.py::test_unique_logger_instances
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build/jupyter_telemetry/eventlog.py:147:
>  DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled 
> for removal in a future version. Use timezone-aware objects to represent 
> datetimes in UTC: datetime.datetime.now(datetime.UTC).
>     timestamp = datetime.utcnow()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_register_schema.py::test_record_event - AssertionError: 
> ass...
> FAILED tests/test_register_schema.py::test_unique_logger_instances - 
> Assertio...
> =================== 2 failed, 12 passed, 4 warnings in 0.22s 
> ===================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_jupyter-telemetry/build; python3.12 
> -m pytest tests
> I: pybuild base:310: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_jupyter-telemetry/build; python3.11 
> -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 14 items
> 
> tests/test_eventlog.py ..                                                [ 
> 14%]
> tests/test_register_schema.py .........                                  [ 
> 78%]
> tests/test_traits.py ...                                                 
> [100%]
> 
> ============================== 14 passed in 0.12s 
> ==============================
> 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/jupyter-telemetry_0.1.0-5_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&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: jupyter-telemetry
Source-Version: 0.1.0-6
Done: Roland Mas <[email protected]>

We believe that the bug you reported is fixed in the latest version of
jupyter-telemetry, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roland Mas <[email protected]> (supplier of updated jupyter-telemetry 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 [email protected])


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

Format: 1.8
Date: Tue, 12 Dec 2023 16:11:03 +0100
Source: jupyter-telemetry
Architecture: source
Version: 0.1.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Roland Mas <[email protected]>
Closes: 1058347
Changes:
 jupyter-telemetry (0.1.0-6) unstable; urgency=medium
 .
   * Patch testsuite to work with Python 3.12's logging. This fixes "FTBFS:
     dh_auto_test: error: pybuild --test -i python{version} -p '3.12 3.11';
     returned exit code 13", thanks to Lucas Nussbaum (Closes: #1058347).
Checksums-Sha1:
 44a44e6c7e336794d4b416346a81b3cca4a95443 2268 jupyter-telemetry_0.1.0-6.dsc
 2de4bc58bcfafa3f45450a968b9149855aa6c360 3636 
jupyter-telemetry_0.1.0-6.debian.tar.xz
 0246b90abafb906cbb53c232fc7a23d33b2b983c 7254 
jupyter-telemetry_0.1.0-6_amd64.buildinfo
Checksums-Sha256:
 38cd3ef8c5c7896214bdb29c3eb5c9b89f505a8074370a0e6448dd3a6cb4385a 2268 
jupyter-telemetry_0.1.0-6.dsc
 fca1e7e97e9ee5cc325e76f93716ea2744acd8eab99508bc7ce4436465adfbd5 3636 
jupyter-telemetry_0.1.0-6.debian.tar.xz
 bf17d419df5c40f77d1c9cea82ca6362f60a8d40567c486548353bbd92050d5a 7254 
jupyter-telemetry_0.1.0-6_amd64.buildinfo
Files:
 9587552b44222c08ffe60b7584301218 2268 python optional 
jupyter-telemetry_0.1.0-6.dsc
 8dc664d7f2f989458368cb1989958313 3636 python optional 
jupyter-telemetry_0.1.0-6.debian.tar.xz
 8779b53aa919751b0a31963b4d967be3 7254 python optional 
jupyter-telemetry_0.1.0-6_amd64.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmV4eEUACgkQ0w3s0lmT
IvynjhAAk6JwkiVZz89SlTtgM2EKbexqLjy5gaHk2KZ540Ra9V+yA5oHY1ttf7sO
UyBWCoWIEZ5LyBogNBaxcRYYRWIURScytb94GhH9j1ZD77GJgcpk1QPV+K6DPT1P
Fcip3PrLsoLKkUi316EPdqRzqz8FdJZ38RC2wsrHy13gg0xMCXqWJZVOPpqKBCZH
xbU4TpgiEfb72eCyLZ2fomaYSiaySsC3e2fX9zgP9+IdaoMSBZadLxOdkDEVtX+2
MvpjRyOaG8n8SR3OV1ESXmm6rRUinaRO+7l7XI2SRFRvkeY2EABaqRCjRJ96+eaS
oRFEk+7CnebO2pOK12atcIySab9CEDGl5GMOLFT7L/jTyCOdlb1nvDFaLm4w6L4H
i3kIzY7aESApH6Z6d5y7uK/18RzVfOPdNAfJKkb2Ysc4a9IYiAMOb59YSelYXJAw
s8I/4dGyQo0rVJcsobfrfNtCtIhSN8Z/n29cn/uB4TQUq0/S8rHDwhWG4fClgB4s
RJ+BINAuC4MVpRWHqYGGEetLReevvZ54LXcfYGI6BR/2PwTEeWSV8jKgyTHhvmuR
oT9H+VOvNf3zE9Wx4/I7VUiFfakKkmNJyeOnKMGNYzVvqA3EZUY8SFyNbYH8LVz6
kyXYRcf5VDFRjbITqlHf/+/KlQ7+9wIXBa8NrQDPKFyQc/kvzsw=
=bbjQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to