🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Sun, 18 Oct 2026 00:40
Bug#1146575: marked as done (python-memray autopkg test failures, python version check)
#848
Author: Debian Bug Tracking System
Date: Sun, 18 Oct 2026 00:40
465 lines
20736 bytes
This is a multi-part message in MIME format...

------------=_1792283821-395279-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sun, 18 Oct 2026 00:33:59 +0000
with message-id <E1xIEqd-0000000DQH9-1A1i@fasolo.debian.org>
and subject line Bug#1146575: fixed in python-memray 1.20.0+dfsg-2
has caused the Debian Bug report #1146575,
regarding python-memray autopkg test failures, python version check
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 owner@bugs.debian.org
immediately.)


--=20
1146575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1146575
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1792283821-395279-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 3 Sep 2026 10:54:42 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.8 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,FORGED_SPF_HELO,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
	KHOP_HELO_FCRDNS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,
	SPF_SOFTFAIL,WEIRD_PORT autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 82; hammy, 150; neutral, 173; spammy,
	0. spammytokens: hammytokens:0.000-+--H*F:U*doko, 0.000-+--H*Ad:N*Bug,
	0.000-+--HTo:N*Debian, 0.000-+--forky, 0.000-+--HTo:N*System
Return-path: <doko@debian.org>
Received: from einhorn.in-berlin.de ([192.109.42.8]:48213 helo=einhorn-mail-out.in-berlin.de)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <doko@debian.org>)
	id 1x255c-002HNU-2b
	for submit@bugs.debian.org;
	Thu, 03 Sep 2026 10:54:42 +0000
X-Envelope-From: doko@debian.org
X-Envelope-To: <submit@bugs.debian.org>
Received: from authenticated.user (localhost [127.0.0.1]) by einhorn.in-berlin.de  with ESMTPSA id 683AsdBu3762286
        (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
        for <submit@bugs.debian.org>; Thu, 3 Sep 2026 12:54:39 +0200
Message-ID: <aaff3bfa-9bdd-4d1a-93d9-651bac7970db@debian.org>
Date: Thu, 3 Sep 2026 12:54:38 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Matthias Klose <doko@debian.org>
Subject: python-memray autopkg test failures, python version check
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: submit@bugs.debian.org

Package: src:python-memray
Version: 1.20.0+dfsg-1
Severity: serious
Tags: sid forky

seen in the autopkg tests triggered by elfutils, this seems to be an 
overly strict version check:

[...]
224s =================================== FAILURES 
===================================
224s ___________________________ test_write_basic_records 
___________________________
224s
224s tmp_path = 
PosixPath('/tmp/pytest-of-test/pytest-1/test_write_basic_records0')
224s
224s     def test_write_basic_records(tmp_path):
224s         """Test writing basic records to a file."""
224s         # GIVEN
224s         output_file = tmp_path / "test.memray"
224s
224s         # WHEN
224s         writer = RecordWriterTestHarness(
224s             str(output_file),
224s             native_traces=True,
224s             trace_python_allocators=True,
224s             file_format=FileFormat.ALL_ALLOCATIONS,
224s             main_tid=10,
224s             skipped_frames=15,
224s             libdest='/some/path with spaces and a ":" too',
224s             site_packages=["/some/path", '/"another"/path too'],
224s             sys_path=["/some/path", '/"another"/path too'],
224s         )
224s
224s         assert writer.write_memory_record(1757101101880, 1024)
224s         assert writer.write_memory_record(1757101102880, 2048)
224s
224s         assert writer.write_thread_record(1, "MainThread")
224s         assert writer.write_thread_record(2, "Other Thread")
224s
224s         assert writer.write_code_object(1, "a", "a.py", b"", 1)
224s         assert writer.write_code_object(2, "b", "b.py", b"", 11)
224s         assert writer.write_code_object(3, "c", "c.py", b"", 21)
224s
224s         assert writer.write_frame_push(1, 1, 12, True)
224s         assert writer.write_frame_push(1, 2, 34, True)
224s         assert writer.write_frame_push(1, 3, 56, True)
224s
224s         assert writer.write_frame_pop(1, 0)
224s         assert writer.write_frame_pop(1, 1)
224s         assert writer.write_frame_pop(1, 16)
224s         assert writer.write_frame_pop(1, 17)
224s
224s         assert writer.write_unresolved_native_frame(0xDEADBEEF, 1)
224s         assert writer.write_unresolved_native_frame(0xFEEDCAFE, 2)
224s
224s         assert writer.write_allocation_record(1, 0x1000, 1024, 
AllocatorType.MALLOC, 1)
224s         assert writer.write_allocation_record(1, 0x2000, 2048, 
AllocatorType.PYMALLOC_FREE)
224s         assert writer.write_allocation_record(1, 0x3000, 4096, 
AllocatorType.POSIX_MEMALIGN)
224s
224s         assert writer.write_allocation_record(2, 0x4000, 4096, 
AllocatorType.MALLOC, 2)
224s
224s         assert writer.write_mappings(
224s             [
224s                 {
224s                     "filename": "/usr/lib/libc.so.6",
224s                     "addr": 0xF1234567,
224s                     "segments": [
224s                         {"vaddr": 0x12345678, "memsz": 0x1000},
224s                         {"vaddr": 0xF2345678, "memsz": 0x2000},
224s                     ],
224s                 }
224s             ]
224s         )
224s
224s         assert writer.write_trailer()
224s
224s         # THEN
224s         header_fields, records = parse_capture_file(output_file)
224s         allocator = (
224s             "mimalloc" if 
sysconfig.get_config_var("Py_GIL_DISABLED") else "pymalloc"
224s         )
224s
224s >       assert header_fields == [
224s             ("magic", "memray"),
224s             ("version", "13"),
224s             ("python_version", f"{sys.hexversion:08x}"),
224s             ("native_traces", "true"),
224s             ("file_format", "ALL_ALLOCATIONS"),
224s             ("n_allocations", "0"),
224s             ("n_frames", "0"),
224s             ("start_time", ANY),
224s             ("end_time", ANY),
224s             ("pid", f"{os.getpid()}"),
224s             ("main_tid", "10"),
224s             ("skipped_frames_on_main_tid", "15"),
224s             ("command_line", "memray test harness"),
224s             ("python_allocator", allocator),
224s             ("trace_python_allocators", "true"),
224s             ("track_object_lifetimes", "false"),
224s             ("libdest", '/some/path with spaces and a ":" too'),
224s             ("site_packages", '[/some/path, /"another"/path too]'),
224s             ("sys.path", '[/some/path, /"another"/path too]'),
224s         ]
224s E       AssertionError: assert [('magic', 'm...s', '0'), ...] == 
[('magic', 'm...s', '0'), ...]
224s E
224s E         At index 2 diff: ('python_version', '030e07f0') != 
('python_version', '030e06f0')
224s E
224s E         Full diff:
224s E           [
224s E               (
224s E                   'magic',...
224s E
224s E         ...Full output truncated (80 lines hidden), use '-vv' to show
224s
224s tests/integration/test_record_writer.py:146: AssertionError
224s ________________________ test_write_aggregated_records 
_________________________
224s
224s tmp_path = 
PosixPath('/tmp/pytest-of-test/pytest-1/test_write_aggregated_records0')
224s
224s     def test_write_aggregated_records(tmp_path):
224s         """Test writing aggregated records to a file."""
224s         # GIVEN
224s         output_file = tmp_path / "test_aggregated.memray"
224s
224s         # WHEN
224s         writer = RecordWriterTestHarness(
224s             str(output_file),
224s             native_traces=False,
224s             trace_python_allocators=False,
224s             file_format=FileFormat.AGGREGATED_ALLOCATIONS,
224s         )
224s
224s         assert writer.write_memory_record(1757105244685, 10000)
224s
224s         assert writer.write_code_object(10, "a", "a.py", b"", 1)
224s         assert writer.write_code_object(20, "b", "b.py", b"", 11)
224s         assert writer.write_code_object(30, "c", "c.py", b"", 21)
224s
224s         assert writer.write_frame_push(1, 1, 12, True)
224s         assert writer.write_frame_push(1, 2, 34, True)
224s         assert writer.write_allocation_record(1, 0x1000, 1024, 
AllocatorType.MALLOC)
224s
224s         assert writer.write_frame_push(2, 3, 56, True)
224s         assert writer.write_allocation_record(2, 0x2000, 2048, 
AllocatorType.MALLOC)
224s
224s         assert writer.write_memory_record(1757105245685, 20000)
224s
224s         assert writer.write_trailer()
224s
224s         # THEN
224s         header_fields, records = parse_capture_file(output_file)
224s         allocator = (
224s             "mimalloc" if 
sysconfig.get_config_var("Py_GIL_DISABLED") else "pymalloc"
224s         )
224s
224s >       assert header_fields == [
224s             ("magic", "memray"),
224s             ("version", "13"),
224s             ("python_version", f"{sys.hexversion:08x}"),
224s             ("native_traces", "false"),
224s             ("file_format", "AGGREGATED_ALLOCATIONS"),
224s             ("n_allocations", "0"),
224s             ("n_frames", "0"),
224s             ("start_time", ANY),
224s             ("end_time", ANY),
224s             ("pid", f"{os.getpid()}"),
224s             ("main_tid", "1"),
224s             ("skipped_frames_on_main_tid", "0"),
224s             ("command_line", "memray test harness"),
224s             ("python_allocator", allocator),
224s             ("trace_python_allocators", "false"),
224s             ("track_object_lifetimes", "false"),
224s             ("libdest", ""),
224s             ("site_packages", "[]"),
224s             ("sys.path", "[]"),
224s         ]
224s E       AssertionError: assert [('magic', 'm...s', '0'), ...] == 
[('magic', 'm...s', '0'), ...]
224s E
224s E         At index 2 diff: ('python_version', '030e07f0') != 
('python_version', '030e06f0')
224s E
224s E         Full diff:
224s E           [
224s E               (
224s E                   'magic',...
224s E
224s E         ...Full output truncated (80 lines hidden), use '-vv' to show
224s
224s tests/integration/test_record_writer.py:267: AssertionError
224s =============================== warnings summary 
===============================
224s tests/conftest.py:60
224s   /tmp/autopkgtest.WCj8Ou/autopkgtest_tmp/tests/conftest.py:60: 
UserWarning: snapshot tests require pytest-textual-snapshot but it is 
not installed
224s     config.issue_config_time_warning(UserWarning(reason), stacklevel=2)
224s
224s tests/integration/test_processes.py: 57 warnings
224s   /usr/lib/python3.14/multiprocessing/popen_fork.py:76: 
DeprecationWarning: This process (pid=5799) is multi-threaded, use of 
fork() may lead to deadlocks in the child.
224s     self.pid = os.fork()
224s
224s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
224s =========================== short test summary info 
============================
224s FAILED 
tests/integration/test_record_writer.py::test_write_basic_records - As...
224s FAILED 
tests/integration/test_record_writer.py::test_write_aggregated_records
224s = 2 failed, 567 passed, 31 skipped, 14 deselected, 58 warnings in 
61.93s (0:01:01) =

------------=_1792283821-395279-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1146575-close) by bugs.debian.org; 18 Oct 2026 00:34:01 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 45; hammy, 150; neutral, 125; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:58830)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xIEqf-001eYk-0K
	for 1146575-close@bugs.debian.org;
	Sun, 18 Oct 2026 00:34:01 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xIEqe-009KO4-1U
	for 1146575-close@bugs.debian.org;
	Sun, 18 Oct 2026 00:34:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=eqrb/ckxyze5cP6HfxhzE6g0wcvg73P7tkVF8d8OL8A=; b=Yte8YzJXBoNx1YuGEOH8oUik1h
	btBSsKQtpRjWEA/Ow3biJ1T5h+PnqbMFR+007IdYrzFP5vwF916HDd8v9TnrawvOoIWDnKu2pEZw7
	N5u8Nx/2AJvlXoIGOEbKhvam16OmhCzQrl6vPV5SJHjljFmDpauLpDk7o5mBaFUU4vhZl2D7QehOX
	xTsTDa6RdxmcNoY60uJ3EXbsalSpP/WHUKyBMtLP9qcc6aQd1g9DapC52OlZIffqWINqdnOuPPXuV
	QL/bnntLBHGNn9YiIo0+74Nbe8udRbcWlzVxNDczo1GH9fzxT5XJprBUnS3ry2Z54eOlWxziQ8BeJ
	NbBiDtgQ==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xIEqd-0000000DQH9-1A1i;
	Sun, 18 Oct 2026 00:33:59 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Santiago Vila <sanvila@debian.org>
To: 1146575-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: python-memray
Debian: DAK
Debian-Changes: python-memray_1.20.0+dfsg-2_source.changes
Debian-Source: python-memray
Debian-Version: 1.20.0+dfsg-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1146575: fixed in python-memray 1.20.0+dfsg-2
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============0574182626858805893=="
Message-Id: <E1xIEqd-0000000DQH9-1A1i@fasolo.debian.org>
Date: Sun, 18 Oct 2026 00:33:59 +0000

--===============0574182626858805893==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: python-memray
Source-Version: 1.20.0+dfsg-2
Done: Santiago Vila <sanvila@debian.org>

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

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated python-memray 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 18 Oct 2026 01:55:00 +0200
Source: python-memray
Architecture: source
Version: 1.20.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1146575
Changes:
 python-memray (1.20.0+dfsg-2) unstable; urgency=3Dmedium
 .
   * Team upload.
 .
   [ Adrian Bunk ]
   * Build only for the default Python version. Closes: #1146575.
 .
   [ Santiago Vila ]
   * Pass CPPFLAGS to the C++ compiler to make blhc happy.
Checksums-Sha1:
 347edbce346c5ef433243a38a98fedcb24c10bc4 2772 python-memray_1.20.0+dfsg-2.dsc
 7f184b5d4e199ef3dc53750acde88899ad10be78 12664 python-memray_1.20.0+dfsg-2.d=
ebian.tar.xz
 298e8a00195ba6af2156e6cb96d116bc8170ea13 8288 python-memray_1.20.0+dfsg-2_so=
urce.buildinfo
Checksums-Sha256:
 2257d32a2ffd6cb7aa92352119f9231f5f5d773a6f73cc08a3e82e32bdc82a62 2772 python=
-memray_1.20.0+dfsg-2.dsc
 098ca9db612064b8e8aecc00f49b5b06167b2eb3112895c664a1b4b6689163c8 12664 pytho=
n-memray_1.20.0+dfsg-2.debian.tar.xz
 20fcd2bb8a9f160c909e9de95fac172c3ae5ced3cbe9e54635827c3c855154a3 8288 python=
-memray_1.20.0+dfsg-2_source.buildinfo
Files:
 2d957476cfcb81a196f76a84c556cd8a 2772 python optional python-memray_1.20.0+d=
fsg-2.dsc
 c46e743936d7cb13204619ed03367583 12664 python optional python-memray_1.20.0+=
dfsg-2.debian.tar.xz
 01b2e3fc86d735ac9a064ec1807bdb28 8288 python optional python-memray_1.20.0+d=
fsg-2_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmrUD6oACgkQQc5/C58b
izKkuwf+O7pqpVhR4GNLMUv2Cn/GrtcKMHSlk181pOTc3yWB7sJlMEhbqWUP5TrZ
u2Lmd25CkQDF2CMTZXdozwAuMnrhXi8KguqDY4EyjseIK6pzljKCeQ4sDep6r6es
do00VJc8uT0NwhmmIKsLVAJPy4vn22hiSDibaNxnz5JS1/6GB97W8ugkoG3o7Z+4
FpON4EFrC1BlszViCGG9CWh1XBTLxhLaIpCbygOk0qC8lL72yAb0IxMQOuogdkXT
agDSa5QaNSYBPTaTeo3cESaDfWkWYMHxkfXMgL5wH7fs64GnVDozJlvxJKkkn2Ui
Fi+83LAlJYFcKoV7QtabHKRLMD6ytQ=3D=3D
=3DLHWI
-----END PGP SIGNATURE-----


--===============0574182626858805893==
Content-Type: application/pgp-signature

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCatQT9wAKCRCb9qggYcy5
IdEOAQDUc/I17H+LCed0ymep9RvOoj3+k/7w3QSuSOJ3avTaBQEAuCDBqCSf75q9
MyKoCmFGv5fgKkg6A0WvAi80YIfO2A8=
=9aSb
-----END PGP SIGNATURE-----

--===============0574182626858805893==--
------------=_1792283821-395279-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads