🚀 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 Tue, 27 Oct 2026 10:40
Bug#1151827: marked as done (python-sepaxml: FTBFS: E ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/d...
#1819
Author: Debian Bug Tracking System
Date: Tue, 27 Oct 2026 10:40
303 lines
18397 bytes
This is a multi-part message in MIME format...

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

Your message dated Tue, 27 Oct 2026 10:31:37 +0000
with message-id <auB9iZxSdxBDEgua@riva.ucam.org>
and subject line Re: Bug#1151827: python-sepaxml: FTBFS: E   ImportError: c=
annot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/=
__init__.py)
has caused the Debian Bug report #1151827,
regarding python-sepaxml: FTBFS: E   ImportError: cannot import name 'etree=
' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)
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
1151827: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1151827
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1793097182-2631751-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 23 Oct 2026 16:44:56 +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=-121.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
	USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 49; hammy, 150; neutral, 173; spammy,
	0. spammytokens: hammytokens:0.000-+--python3, 0.000-+--pkgbuilddir,
	0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky
Return-path: <sanvila@debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:52016)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xKIO1-00EuFY-0j
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:44:56 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.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 <sanvila@debian.org>)
	id 1xKIO1-004R0G-2c
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:44:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
	MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=M4mGQwrJIzXrdlE/O4rXGHjbfn49ShWz4cmmvNU8jkE=; b=DPp/7ZuZOHd/jYYVcotka7allG
	iXPCeEDsUn1TXYZq9xFTi15Pn3JHPvQ9fNJahHxC6pMtS7pqRv7M833MTyHOoYShRqqn6yMMNKlfR
	lNPIxAxmIgx1N6RA27ffsPcziq8LRif4qTw3e7I9kYl960YwYYxVYGHqrSXLmvFkNCFzz7oRUIIdq
	ARDmMK99TKktzOCdIwA1GR2fxR518/gZis0+gyo8q8CJYxGeFq6H/6Bu1TqLQMvnjgAjP+R+WP8HU
	dyPlron1Bj8TKRawtVVNG8l9/tJducy/qDg6dRrbwgr4U2s7riVTsmchG5DDoXYxL9mRGg1Wb3HGS
	+pffYI/g==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xKIO0-0052zW-18
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:44:56 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: python-sepaxml: FTBFS: E   ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xKIO0-0052zW-18@paradis.debian.org>
Date: Fri, 23 Oct 2026 16:44:56 +0000
Delivered-To: submit@bugs.debian.org

Package: src:python-sepaxml
Version: 2.7.0+dfsg-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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-sepaxml, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/transfer/test_timestamps.py:9: in <module>
    from tests.utils import validate_xml
tests/utils.py:4: in <module>
    from lxml import etree
E   ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)
=========================== short test summary info ============================
ERROR tests/debit/test_00800102.py
ERROR tests/debit/test_00800108.py
ERROR tests/debit/test_00800109.py
ERROR tests/debit/test_00800110.py
ERROR tests/debit/test_currency_override.py
ERROR tests/debit/test_endtoendid.py
ERROR tests/debit/test_escaped.py
ERROR tests/debit/test_no_bic.py
ERROR tests/debit/test_non_batch.py
ERROR tests/debit/test_timestamps.py
ERROR tests/transfer/test_00100103.py
ERROR tests/transfer/test_00100109.py
ERROR tests/transfer/test_00100110.py
ERROR tests/transfer/test_00100111.py
ERROR tests/transfer/test_currency_override.py
ERROR tests/transfer/test_domestic.py
ERROR tests/transfer/test_endtoendid.py
ERROR tests/transfer/test_no_bic.py
ERROR tests/transfer/test_non_batch.py
ERROR tests/transfer/test_timestamps.py
!!!!!!!!!!!!!!!!!!! Interrupted: 20 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 20 errors in 0.16s ==============================
E: pybuild pybuild:485: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_python-sepaxml/build; python3.15 -m pytest --ignore tests/debit/test_00800302.py
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-sepaxml/build; python3.14 -m pytest --ignore tests/debit/test_00800302.py
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
collected 25 items

tests/debit/test_00800102.py .                                           [  4%]
tests/debit/test_00800108.py .                                           [  8%]
tests/debit/test_00800109.py .                                           [ 12%]
tests/debit/test_00800110.py .                                           [ 16%]
tests/debit/test_config.py ..                                            [ 24%]
tests/debit/test_currency_override.py .                                  [ 28%]
tests/debit/test_endtoendid.py .                                         [ 32%]
tests/debit/test_escaped.py .                                            [ 36%]
tests/debit/test_no_bic.py .                                             [ 40%]
tests/debit/test_non_batch.py .                                          [ 44%]
tests/debit/test_timestamps.py .                                         [ 48%]
tests/transfer/test_00100103.py .                                        [ 52%]
tests/transfer/test_00100109.py .                                        [ 56%]
tests/transfer/test_00100110.py .                                        [ 60%]
tests/transfer/test_00100111.py .                                        [ 64%]
tests/transfer/test_config.py ..                                         [ 72%]
tests/transfer/test_currency_override.py .                               [ 76%]
tests/transfer/test_domestic.py .                                        [ 80%]
tests/transfer/test_endtoendid.py .                                      [ 84%]
tests/transfer/test_no_bic.py .                                          [ 88%]
tests/transfer/test_non_batch.py ..                                      [ 96%]
tests/transfer/test_timestamps.py .                                      [100%]

=============================== warnings summary ===============================
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800102.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800108.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800109.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800110.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_currency_override.py: 1 warning
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_endtoendid.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_escaped.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_no_bic.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_timestamps.py: 2 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-sepaxml/build/sepaxml/debit.py:401: DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
    if TX_nodes['PstlAdr_Dbtr_Node']:

.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800102.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800108.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800109.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_00800110.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_currency_override.py: 1 warning
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_endtoendid.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_escaped.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_no_bic.py: 2 warnings
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_timestamps.py: 2 warnings
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-sepaxml/build/sepaxml/debit.py:491: DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
    if PmtInf_nodes['PstlAdr_Cdtr_Node']:

.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_non_batch.py::test_two_debits
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_non_batch.py::test_two_debits
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-sepaxml/build/sepaxml/debit.py:306: DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
    if PmtInf_nodes['PstlAdr_Cdtr_Node']:

.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_non_batch.py::test_two_debits
.pybuild/cpython3_3.14_python-sepaxml/build/tests/debit/test_non_batch.py::test_two_debits
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_python-sepaxml/build/sepaxml/debit.py:360: DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.
    if TX_nodes['PstlAdr_Dbtr_Node']:

.pybuild/cpython3_3.14_python-sepaxml/build/tests/transfer/test_config.py::test_valid_config
  /usr/lib/python3/dist-packages/_pytest/python.py:171: PytestReturnNotNoneWarning: Test functions should return None, but .pybuild/cpython3_3.14_python-sepaxml/build/tests/transfer/test_config.py::test_valid_config returned <class 'sepaxml.transfer.SepaTransfer'>.
  Did you mean to use `assert` instead of `return`?
  See https://docs.pytest.org/en/stable/how-to/assert.html#return-not-none for more information.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 25 passed, 39 warnings in 0.08s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

------------=_1793097182-2631751-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1151827-close) by bugs.debian.org; 27 Oct 2026 10:31:41 +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=-109.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_PASS,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, 14; hammy, 139; neutral, 21; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <cjwatson@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:45174)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeSz-00B2Qr-2g
	for 1151827-close@bugs.debian.org;
	Tue, 27 Oct 2026 10:31:41 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version:
	References:Message-ID:Subject:To:From:Date:Reply-To:Cc:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=lxcgOaaQCgyP+vG+XE5+QLTN+5+BWUlOyCQ0dl3yaP0=; b=S6wzxuGoDqO15/TIVEJYWggno3
	l3/2nEq+5L591NvQQ0YueLWl0CwDqhQhq/QM/VVbOuHvdiWRZahq3jNbVGUninAAOMd6gqGS2c4WZ
	88QYN9my/HCxpQY7WJw3wnAIoZkIK4j/GVw3Bb7XnxBzt0O5RDuL6PJDG1Slr3VnLqVk2e4KD3MkF
	rUjsyqHZu+0d2trJ0mNvhDdWMBG8oBdx7eAzWE8HTavcTrPQsxMKtV9YButnNFFGx9qSt1xFjAYV6
	1VyLZTzgTdqKM9pEynvrNfCjqTchVGq1/9lyZe8/CMRpdpLHyRbxgpeEvZi0sO9m/H7JeCg+by8eB
	HO0IKvig==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeSx-001OQS-2Q;
	Tue, 27 Oct 2026 10:31:39 +0000
Received: from ns1.rosewood.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org)
	by riva.rosewood.vpn.ucam.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeSw-000000077n4-3vwj;
	Tue, 27 Oct 2026 10:31:38 +0000
Date: Tue, 27 Oct 2026 10:31:37 +0000
From: Colin Watson <cjwatson@debian.org>
To: Santiago Vila <sanvila@debian.org>, 1151827-close@bugs.debian.org
Subject: Re: Bug#1151827: python-sepaxml: FTBFS: E   ImportError: cannot
 import name 'etree' from 'lxml'
 (/usr/lib/python3/dist-packages/lxml/__init__.py)
Message-ID: <auB9iZxSdxBDEgua@riva.ucam.org>
References: <E1xKIO0-0052zW-18@paradis.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <E1xKIO0-0052zW-18@paradis.debian.org>
X-Debian-User: cjwatson

On Fri, Oct 23, 2026 at 04:44:56PM +0000, Santiago Vila wrote:
>tests/transfer/test_timestamps.py:9: in <module>
>    from tests.utils import validate_xml
>tests/utils.py:4: in <module>
>    from lxml import etree
>E   ImportError: cannot import name 'etree' from 'lxml' (/usr/lib/python3/dist-packages/lxml/__init__.py)

This was a temporary problem, fixed by rebuilding lxml against Python 
3.15.  I've confirmed that python-sepaxml builds again now.

Thanks,

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
------------=_1793097182-2631751-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