Your message dated Mon, 21 Oct 2024 18:21:34 +0000
with message-id <[email protected]>
and subject line Bug#1080134: fixed in python-libusb1 3.1.0+ds-1
has caused the Debian Bug report #1080134,
regarding python-libusb1: FTBFS: ModuleNotFoundError: No module named 
'PyInstaller'
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.)


-- 
1080134: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080134
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-libusb1
Version: 2.0.1+ds-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --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:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:268: 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/_version.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1
copying usb1/_libusb1.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/__init__.py -> 
/<<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
UPDATING /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/_version.py
set /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/_version.py to 
'2.0.1'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build; 
python3.12 -m unittest discover -v
usb1.__pyinstaller.test_libusb1_packaging 
(unittest.loader._FailedTest.usb1.__pyinstaller.test_libusb1_packaging) ... 
ERROR
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:2093: 
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

======================================================================
ERROR: usb1.__pyinstaller.test_libusb1_packaging 
(unittest.loader._FailedTest.usb1.__pyinstaller.test_libusb1_packaging)
----------------------------------------------------------------------
ImportError: Failed to import test module: 
usb1.__pyinstaller.test_libusb1_packaging
Traceback (most recent call last):
  File "/usr/lib/python3.12/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build/usb1/__pyinstaller/test_libusb1_packaging.py",
 line 14, in <module>
    from PyInstaller import __main__ as pyi_main
ModuleNotFoundError: No module named 'PyInstaller'


----------------------------------------------------------------------
Ran 14 tests in 0.011s

FAILED (errors=1, skipped=2)
running
done
running
done
running
done
running
done
running
done
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_usb1/build; python3.12 -m unittest 
discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:7: build] Error 25
dpkg-buildpackage: error: debian/rules build 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/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large 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-1
Done: Soren Stoutner <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Soren Stoutner <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Tue, 15 Oct 2024 16:49:27 -0700
Source: python-libusb1
Architecture: source
Version: 3.1.0+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Soren Stoutner <[email protected]>
Closes: 1038266 1080134
Changes:
 python-libusb1 (3.1.0+ds-1) unstable; urgency=medium
 .
   * New upstream release.
   * Remove debian/tests (tests will be reenabled in debian/control once
     PyInstaller has been packaged for Debian, Closes: #1080134).
   * debian/control:
     - Add myself to Uploaders.
     - Move Arnaud Fontaine <[email protected]> from Maintainer to Uploaders.
     - Move Debian Python Team <[email protected]> from Uploaders 
to
       Maintainer.
     - Replace Build-Depends on dh-python with dh-sequence-python3.
     - Add "Rules-Requires-Root: no".
     - Drop obsolete python3-libusb1 transitional packages as well as obsolete
       Replaces, Breaks, and Provides (Closes: #1038266).
     - Bump standards version to 4.7.0 (no changes required).
   * debian/copyright:  Add myself to debian/*.
   * debian/patches:
     - Remove usb1.testUSB1-Do-not-allocate-libusb-transfers-in-tests.patch,
       applied upstream.
     - Add remove-pyinstaller-dependency.patch.
   * debian/rules:  Remove redundant "--with python3" from dh command.
   * debian/watch:  Update from version 3 to version 4.
Checksums-Sha1:
 4ed16158edf6e56f321236975f3f930b69d2c94d 2163 python-libusb1_3.1.0+ds-1.dsc
 42575cc123d8f8131f787f4052f92048950adce4 50292 
python-libusb1_3.1.0+ds.orig.tar.xz
 faae5f311d3808831ff03687c6ef30e491fdb575 3824 
python-libusb1_3.1.0+ds-1.debian.tar.xz
 2d0b4b51485727d87a9de78b5c06fc51ee8bc677 7147 
python-libusb1_3.1.0+ds-1_amd64.buildinfo
Checksums-Sha256:
 2d9aae89ed47068f13a2afa4752a47e3bbbdd536f296ad568c8b66ea5b36defe 2163 
python-libusb1_3.1.0+ds-1.dsc
 c269e14bbff29c1a5e3175a5b952341793714e3f9a3d79563bcdc7c162825051 50292 
python-libusb1_3.1.0+ds.orig.tar.xz
 4cb157af2fad55e6a4a9d6bf397d0b62ac1df8880c64aaccf23681ff9b73a030 3824 
python-libusb1_3.1.0+ds-1.debian.tar.xz
 821f4a3a25a1bae8f6eb0ac5d74ece574007525f345c09d8254e46978f5c27a1 7147 
python-libusb1_3.1.0+ds-1_amd64.buildinfo
Files:
 85dc1226257d8617389cb121c2a1a5da 2163 python optional 
python-libusb1_3.1.0+ds-1.dsc
 af7ef8c867098cb0006b51680c7ed7c9 50292 python optional 
python-libusb1_3.1.0+ds.orig.tar.xz
 7270a074335112d95a0097270de00b76 3824 python optional 
python-libusb1_3.1.0+ds-1.debian.tar.xz
 4b6e804f10b0828886ccfeaeda59af56 7147 python optional 
python-libusb1_3.1.0+ds-1_amd64.buildinfo

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

iQIzBAEBCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmcWlmgACgkQwufLJ66w
tgPNqw//WBPx1NA2BCuFrHVT1gCZvZf6F0hbmA2ogbO1gMBdGYufSjNooYLBRGUm
YbQx1/BowuDYzdrqePlTgRMAwUD1BL/BTR7201VED4w2Flt6UUQt1OlwfwC/Qy7C
QCgdg/5yvq3H5PoseWSX1R2BTuEZg2dIMG9NHJ50A/3FJ9ClsBGsanJTa9Q+Md1i
tHRrS3fCly+xzTVOStr0NuggQd7AoEP0sJ4wKuvyPLUoab18jnJWmIp8j5AnWVqJ
bMc60NH1EcyR20BKUL3YWuoPmkcJ1hCdhk3o+o7u8wqhYhsQ2+gNynSfOa1e616a
cL/6iEzKS2No2gDB2R1Mj5OKjHTm/ktoJBU1Dl6rktjAPUDiH2snHwx6w29SXP1k
mlA3+YxV6D9CdnpjKWtcLUnAQDojM299m1D6ACYR7jmPGVt4P4X2b7svi2a91/AN
JcvHucnY6kerC953J/H+VkCFKc9u5OJ1tNaw4QGhibW1ZaU57duSwQwmpT7Hs6un
3oRc7kGBiCFHInI2aYKoA0mrYVByHNkTDhUwqLzPm8BY3svebBIVuw0iWa3au+mw
KhqMFjVm9/ZUEqgAdjfI2mB7Gx6Ej8gnc0DBoRJ/Rpcns/B1Ju92CcybmPF2qOZ0
2pK5iwHmQt9QNaYpluCjdRh7uzuVUSvIvdATTJhIzr6EblIrS8Y=
=3zQc
-----END PGP SIGNATURE-----

Attachment: pgpiRvaZUJ68O.pgp
Description: PGP signature


--- End Message ---

Reply via email to