Your message dated Thu, 26 Dec 2024 19:19:52 +0000
with message-id <e1tqtoi-000xc9...@fasolo.debian.org>
and subject line Bug#1090277: fixed in python-libusb1 3.1.0+ds-2
has caused the Debian Bug report #1090277,
regarding python-libusb1: FTBFS: FAIL: testDefaultEnumScope 
(usb1.testUSB1.USBTransferTests.testDefaultEnumScope)
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.)


-- 
1090277: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090277
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-libusb1
Version: 3.1.0+ds-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 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
I: pybuild base:311: python3.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
I: pybuild base:311: python3.12 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3.13 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
copying libusb1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
copying usb1/_libusb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
copying usb1/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
copying usb1/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
copying usb1/testUSB1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
copying usb1/libusb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/test_libusb1_packaging.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/hook-usb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/__pyinstaller
UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/_version.py
set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/_version.py to 
'3.1.0'
I: pybuild base:311: /usr/bin/python3 setup.py build 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running build
running build_py
copying libusb1.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/_libusb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/testUSB1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/libusb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/test_libusb1_packaging.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/hook-usb1.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__pyinstaller
copying usb1/__pyinstaller/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__pyinstaller
UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/_version.py
set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/_version.py to 
'3.1.0'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build; 
python3.13 -m unittest discover -v 
testDefaultEnumScope (usb1.testUSB1.USBTransferTests.testDefaultEnumScope)
Enum instances must only affect the scope they are created in. ... FAIL
testDescriptors (usb1.testUSB1.USBTransferTests.testDescriptors) ... skipped 
'descriptor walk test did not complete'
testDescriptorsWithExtra 
(usb1.testUSB1.USBTransferTests.testDescriptorsWithExtra) ... skipped 
'descriptor walk test did not complete'
testExplicitEnumScope (usb1.testUSB1.USBTransferTests.testExplicitEnumScope)
Enum instances must only affect the scope they are created in. ... ok
testGetVersion (usb1.testUSB1.USBTransferTests.testGetVersion)
Just testing getVersion doesn't raise... ... ok
testHasCapability (usb1.testUSB1.USBTransferTests.testHasCapability)
Just testing hasCapability doesn't raise... ... ok
testHasVersion (usb1.testUSB1.USBTransferTests.testHasVersion) ... ok
testImplicitUSBContextOpening 
(usb1.testUSB1.USBTransferTests.testImplicitUSBContextOpening)
Test pre-1.5 API backward compatibility. ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/__init__.py:2092: 
DeprecationWarning: Use "with USBContext() as context:" for safer cleanup on 
interpreter shutdown. See also USBContext.open().
  warnings.warn(
ok
testSetBulk (usb1.testUSB1.USBTransferTests.testSetBulk)
Simplest test: feed some data, must not raise. ... ok
testSetControl (usb1.testUSB1.USBTransferTests.testSetControl)
Simplest test: feed some data, must not raise. ... ok
testSetGetCallback (usb1.testUSB1.USBTransferTests.testSetGetCallback) ... ok
testSetInterrupt (usb1.testUSB1.USBTransferTests.testSetInterrupt)
Simplest test: feed some data, must not raise. ... ok
testSetIsochronous (usb1.testUSB1.USBTransferTests.testSetIsochronous)
Simplest test: feed some data, must not raise. ... ok

======================================================================
FAIL: testDefaultEnumScope (usb1.testUSB1.USBTransferTests.testDefaultEnumScope)
Enum instances must only affect the scope they are created in.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build/usb1/testUSB1.py", 
line 287, in testDefaultEnumScope
    self.assertEqual(local_dict.get(ENUM_NAME), ENUM_VALUE)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: None != 42

----------------------------------------------------------------------
Ran 13 tests in 0.008s

FAILED (failures=1, skipped=2)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_usb1/build; python3.13 -m unittest 
discover -v 
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build; 
python3.12 -m unittest discover -v 
testDefaultEnumScope (usb1.testUSB1.USBTransferTests.testDefaultEnumScope)
Enum instances must only affect the scope they are created in. ... ok
testDescriptors (usb1.testUSB1.USBTransferTests.testDescriptors) ... skipped 
'descriptor walk test did not complete'
testDescriptorsWithExtra 
(usb1.testUSB1.USBTransferTests.testDescriptorsWithExtra) ... skipped 
'descriptor walk test did not complete'
testExplicitEnumScope (usb1.testUSB1.USBTransferTests.testExplicitEnumScope)
Enum instances must only affect the scope they are created in. ... ok
testGetVersion (usb1.testUSB1.USBTransferTests.testGetVersion)
Just testing getVersion doesn't raise... ... ok
testHasCapability (usb1.testUSB1.USBTransferTests.testHasCapability)
Just testing hasCapability doesn't raise... ... ok
testHasVersion (usb1.testUSB1.USBTransferTests.testHasVersion) ... ok
testImplicitUSBContextOpening 
(usb1.testUSB1.USBTransferTests.testImplicitUSBContextOpening)
Test pre-1.5 API backward compatibility. ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__init__.py:2092: 
DeprecationWarning: Use "with USBContext() as context:" for safer cleanup on 
interpreter shutdown. See also USBContext.open().
  warnings.warn(
ok
testSetBulk (usb1.testUSB1.USBTransferTests.testSetBulk)
Simplest test: feed some data, must not raise. ... ok
testSetControl (usb1.testUSB1.USBTransferTests.testSetControl)
Simplest test: feed some data, must not raise. ... ok
testSetGetCallback (usb1.testUSB1.USBTransferTests.testSetGetCallback) ... ok
testSetInterrupt (usb1.testUSB1.USBTransferTests.testSetInterrupt)
Simplest test: feed some data, must not raise. ... ok
testSetIsochronous (usb1.testUSB1.USBTransferTests.testSetIsochronous)
Simplest test: feed some data, must not raise. ... ok

----------------------------------------------------------------------
Ran 13 tests in 0.008s

OK (skipped=2)
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make: *** [debian/rules:9: 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/202412/

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

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-libusb1
Source-Version: 3.1.0+ds-2
Done: Soren Stoutner <so...@debian.org>

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

Debian distribution maintenance software
pp.
Soren Stoutner <so...@debian.org> (supplier of updated python-libusb1 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: Thu, 26 Dec 2024 11:59:17 -0700
Source: python-libusb1
Architecture: source
Version: 3.1.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Soren Stoutner <so...@debian.org>
Closes: 1090277
Changes:
 python-libusb1 (3.1.0+ds-2) unstable; urgency=medium
 .
   * Add debian/patches/support-python-3.13.patch to fix FTBFS with Python 3.13
     (Closes: #1090277).
   * Add debian/salsa-ci.yml.
   * debian/gbp.conf:  Enforce sign-tags.
Checksums-Sha1:
 c1ce0029b491c9547db140ec5c8c8107a176c29b 2163 python-libusb1_3.1.0+ds-2.dsc
 6c5b6543aedf7ca0091d1b4bc3fc8ccb3ff609ca 4280 
python-libusb1_3.1.0+ds-2.debian.tar.xz
 e77af23bd7a2676d117998fd620bfec2d0f6e67e 7189 
python-libusb1_3.1.0+ds-2_amd64.buildinfo
Checksums-Sha256:
 d349e4336e1bf69a89d0efcc46c842599b5a4880d7fb5a4f4c33ad5a946edde0 2163 
python-libusb1_3.1.0+ds-2.dsc
 8d865506110948027f405533c074262298aca17b49578a331c3c2a3b434cd9b1 4280 
python-libusb1_3.1.0+ds-2.debian.tar.xz
 9dd79608d22e823b21ce246938bdccd48a4124a6d9943b9bb81d8502728e2e7b 7189 
python-libusb1_3.1.0+ds-2_amd64.buildinfo
Files:
 382c1b8963a62abd4b4d7429e8b7fbbb 2163 python optional 
python-libusb1_3.1.0+ds-2.dsc
 bebb001b0b57306ecef0997b456d0ecf 4280 python optional 
python-libusb1_3.1.0+ds-2.debian.tar.xz
 2ae47e2959b004ed298a91cc72685a6a 7189 python optional 
python-libusb1_3.1.0+ds-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmdtqJQACgkQwufLJ66w
tgNO+hAAmTzU7Hf6AiS3EHmFyhvNXfyx1ujACmX/alKshi7wAar2I5xxL7Huv3bs
yojwZo6GmHFglrx9+OYK0sGn3Lc1sXSbqXWVFSeF+XSSM3uJieaiXy0NkG0iBYbd
QaNQhiNz0Ln+o8lJmfFW9ObqADpoVU9hgnFFXpzerBtWtnRdvhbtjll3bBlxwD+U
UcwAlBEurB65Fkj1tBsy9F4ROJBLyRkAlD8LFpnXTqV6N0D8zcWn3IoTAwv5pUTp
K+4YnAzABYX6zYe5hG2dVQOyx1dPXmt45YSHotUX3BU2UmgCkI0lYJp1u5G6T4h4
0mZj52g+qGbNYtdsyywDVMq9qm+ahkPN/2DcGPpwJXxaGtGOHf/6wfVsTlgjpe9v
IN/jBfWZLru2QQld6WExalhaSDDXjO3D5HndKrCfU/F6YpFNLdQ3nV6TP7+y295s
5A/3qqZZXcSzm+rGOuD7pUCil3eCGqedIXQ0IPc6mD7ON1+dUnCDTUisskhqnbuz
Fh0HXFJyUIwsTdJOVSvcQpvTaQ/hMwxrTqrGVDQ2lWp0VRLNNf1G6tPg/zpZU/Vk
dvJiqdBXjHUJAkSydnJnKZOh5Lb0CHo9iiTceIYmhXWTjOscIFOAAxMTbWjlxzqg
ijdJvdg4Idj6HRe+zZ6oDTN/O1gV6D8fApTLPJ0aEXyzNiwN6aI=
=srex
-----END PGP SIGNATURE-----

Attachment: pgpopas2WTSQE.pgp
Description: PGP signature


--- End Message ---

Reply via email to