Your message dated Thu, 29 Aug 2024 09:39:28 +0000
with message-id <e1sjbcm-004mkk...@fasolo.debian.org>
and subject line Bug#1078813: fixed in python-aioshelly 11.2.0-3
has caused the Debian Bug report #1078813,
regarding python-aioshelly: FTBFS: ERROR: aioshelly.ble
(unittest.loader._FailedTest.aioshelly.ble)
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.)
--
1078813: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078813
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-aioshelly
Version: 11.2.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh build --buildsystem=pybuild --with python3
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/aioshelly
copying aioshelly/exceptions.py -> build/lib/aioshelly
copying aioshelly/__init__.py -> build/lib/aioshelly
copying aioshelly/common.py -> build/lib/aioshelly
copying aioshelly/const.py -> build/lib/aioshelly
copying aioshelly/json.py -> build/lib/aioshelly
creating build/lib/tools
copying tools/verify.py -> build/lib/tools
copying tools/example.py -> build/lib/tools
copying tools/__init__.py -> build/lib/tools
copying tools/fixture.py -> build/lib/tools
creating build/lib/aioshelly/rpc_device
copying aioshelly/rpc_device/device.py -> build/lib/aioshelly/rpc_device
copying aioshelly/rpc_device/wsrpc.py -> build/lib/aioshelly/rpc_device
copying aioshelly/rpc_device/__init__.py -> build/lib/aioshelly/rpc_device
copying aioshelly/rpc_device/models.py -> build/lib/aioshelly/rpc_device
creating build/lib/aioshelly/block_device
copying aioshelly/block_device/device.py -> build/lib/aioshelly/block_device
copying aioshelly/block_device/__init__.py -> build/lib/aioshelly/block_device
copying aioshelly/block_device/coap.py -> build/lib/aioshelly/block_device
creating build/lib/aioshelly/ble
copying aioshelly/ble/__init__.py -> build/lib/aioshelly/ble
copying aioshelly/ble/const.py -> build/lib/aioshelly/ble
copying aioshelly/ble/parser.py -> build/lib/aioshelly/ble
creating build/lib/aioshelly/ble/backend
copying aioshelly/ble/backend/__init__.py -> build/lib/aioshelly/ble/backend
copying aioshelly/ble/backend/scanner.py -> build/lib/aioshelly/ble/backend
creating build/lib/tools/common
copying tools/common/__init__.py -> build/lib/tools/common
copying aioshelly/py.typed -> build/lib/aioshelly
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/aioshelly
creating build/bdist.linux-x86_64/wheel/aioshelly/rpc_device
copying build/lib/aioshelly/rpc_device/device.py ->
build/bdist.linux-x86_64/wheel/aioshelly/rpc_device
copying build/lib/aioshelly/rpc_device/wsrpc.py ->
build/bdist.linux-x86_64/wheel/aioshelly/rpc_device
copying build/lib/aioshelly/rpc_device/__init__.py ->
build/bdist.linux-x86_64/wheel/aioshelly/rpc_device
copying build/lib/aioshelly/rpc_device/models.py ->
build/bdist.linux-x86_64/wheel/aioshelly/rpc_device
creating build/bdist.linux-x86_64/wheel/aioshelly/block_device
copying build/lib/aioshelly/block_device/device.py ->
build/bdist.linux-x86_64/wheel/aioshelly/block_device
copying build/lib/aioshelly/block_device/__init__.py ->
build/bdist.linux-x86_64/wheel/aioshelly/block_device
copying build/lib/aioshelly/block_device/coap.py ->
build/bdist.linux-x86_64/wheel/aioshelly/block_device
copying build/lib/aioshelly/exceptions.py ->
build/bdist.linux-x86_64/wheel/aioshelly
creating build/bdist.linux-x86_64/wheel/aioshelly/ble
creating build/bdist.linux-x86_64/wheel/aioshelly/ble/backend
copying build/lib/aioshelly/ble/backend/__init__.py ->
build/bdist.linux-x86_64/wheel/aioshelly/ble/backend
copying build/lib/aioshelly/ble/backend/scanner.py ->
build/bdist.linux-x86_64/wheel/aioshelly/ble/backend
copying build/lib/aioshelly/ble/__init__.py ->
build/bdist.linux-x86_64/wheel/aioshelly/ble
copying build/lib/aioshelly/ble/const.py ->
build/bdist.linux-x86_64/wheel/aioshelly/ble
copying build/lib/aioshelly/ble/parser.py ->
build/bdist.linux-x86_64/wheel/aioshelly/ble
copying build/lib/aioshelly/__init__.py ->
build/bdist.linux-x86_64/wheel/aioshelly
copying build/lib/aioshelly/common.py ->
build/bdist.linux-x86_64/wheel/aioshelly
copying build/lib/aioshelly/const.py -> build/bdist.linux-x86_64/wheel/aioshelly
copying build/lib/aioshelly/json.py -> build/bdist.linux-x86_64/wheel/aioshelly
copying build/lib/aioshelly/py.typed -> build/bdist.linux-x86_64/wheel/aioshelly
creating build/bdist.linux-x86_64/wheel/tools
copying build/lib/tools/verify.py -> build/bdist.linux-x86_64/wheel/tools
copying build/lib/tools/example.py -> build/bdist.linux-x86_64/wheel/tools
creating build/bdist.linux-x86_64/wheel/tools/common
copying build/lib/tools/common/__init__.py ->
build/bdist.linux-x86_64/wheel/tools/common
copying build/lib/tools/__init__.py -> build/bdist.linux-x86_64/wheel/tools
copying build/lib/tools/fixture.py -> build/bdist.linux-x86_64/wheel/tools
running install_egg_info
running egg_info
creating aioshelly.egg-info
writing aioshelly.egg-info/PKG-INFO
writing dependency_links to aioshelly.egg-info/dependency_links.txt
writing requirements to aioshelly.egg-info/requires.txt
writing top-level names to aioshelly.egg-info/top_level.txt
writing manifest file 'aioshelly.egg-info/SOURCES.txt'
reading manifest file 'aioshelly.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'aioshelly.egg-info/SOURCES.txt'
Copying aioshelly.egg-info to
build/bdist.linux-x86_64/wheel/aioshelly-11.2.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/aioshelly-11.2.0.dist-info/WHEEL
creating
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/.tmp-elqcmc7y/aioshelly-11.2.0-py3-none-any.whl'
and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'aioshelly/__init__.py'
adding 'aioshelly/common.py'
adding 'aioshelly/const.py'
adding 'aioshelly/exceptions.py'
adding 'aioshelly/json.py'
adding 'aioshelly/py.typed'
adding 'aioshelly/ble/__init__.py'
adding 'aioshelly/ble/const.py'
adding 'aioshelly/ble/parser.py'
adding 'aioshelly/ble/backend/__init__.py'
adding 'aioshelly/ble/backend/scanner.py'
adding 'aioshelly/block_device/__init__.py'
adding 'aioshelly/block_device/coap.py'
adding 'aioshelly/block_device/device.py'
adding 'aioshelly/rpc_device/__init__.py'
adding 'aioshelly/rpc_device/device.py'
adding 'aioshelly/rpc_device/models.py'
adding 'aioshelly/rpc_device/wsrpc.py'
adding 'tools/__init__.py'
adding 'tools/example.py'
adding 'tools/fixture.py'
adding 'tools/verify.py'
adding 'tools/common/__init__.py'
adding 'aioshelly-11.2.0.dist-info/LICENSE'
adding 'aioshelly-11.2.0.dist-info/METADATA'
adding 'aioshelly-11.2.0.dist-info/WHEEL'
adding 'aioshelly-11.2.0.dist-info/top_level.txt'
adding 'aioshelly-11.2.0.dist-info/zip-safe'
adding 'aioshelly-11.2.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built aioshelly-11.2.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
"installer" module
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
python3.12 -m unittest discover -v
aioshelly.ble (unittest.loader._FailedTest.aioshelly.ble) ... ERROR
======================================================================
ERROR: aioshelly.ble (unittest.loader._FailedTest.aioshelly.ble)
----------------------------------------------------------------------
ImportError: Failed to import test module: aioshelly.ble
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 429, in _find_test_path
package = 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/build/aioshelly/ble/__init__.py",
line 7, in <module>
from habluetooth import HaBluetoothConnector
File "/usr/lib/python3/dist-packages/habluetooth/__init__.py", line 7, in
<module>
from .base_scanner import BaseHaRemoteScanner, BaseHaScanner
File "/usr/lib/python3/dist-packages/habluetooth/base_scanner.py", line 14, in
<module>
from bluetooth_data_tools import monotonic_time_coarse
File "/usr/lib/python3/dist-packages/bluetooth_data_tools/__init__.py", line 12, in
<module>
from .privacy import get_cipher_for_irk, resolve_private_address
File "/usr/lib/python3/dist-packages/bluetooth_data_tools/privacy.py", line 14, in
<module>
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
File
"/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py",
line 11, in <module>
from cryptography.hazmat.primitives.ciphers.base import (
File
"/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line
10, in <module>
from cryptography.exceptions import (
File "/usr/lib/python3/dist-packages/cryptography/exceptions.py", line 9, in
<module>
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal
error by default, but cryptography supports running without legacy algorithms
by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did
not expect this error, you have likely made a mistake with your OpenSSL
configuration.
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/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/
See also:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-aioshelly.html
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-aioshelly
Source-Version: 11.2.0-3
Done: Thomas Goirand <z...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-aioshelly, 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 1078...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-aioshelly 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: SHA256
Format: 1.8
Date: Thu, 29 Aug 2024 11:17:22 +0200
Source: python-aioshelly
Architecture: source
Version: 11.2.0-3
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <team+homeassist...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1078813
Changes:
python-aioshelly (11.2.0-3) unstable; urgency=medium
.
* Add export CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1. (Closes: #1078813).
Checksums-Sha1:
d21374a13cd4d2441f5adf8133a942c0d1eef292 2246 python-aioshelly_11.2.0-3.dsc
1ccffcfc59b3ea4d5c8f460b8128994608e9504a 1784
python-aioshelly_11.2.0-3.debian.tar.xz
9ebafc614db4ee4fb2ca8745e14b59b3c107cfff 9581
python-aioshelly_11.2.0-3_amd64.buildinfo
Checksums-Sha256:
38fddb40cdfaeca0a4fb61fa3024b40be26103f6ba70632506d3451416736a7e 2246
python-aioshelly_11.2.0-3.dsc
cd696c567b26df82316488ba97f7dc2989f3048fde3768d701f558c9dad5ef52 1784
python-aioshelly_11.2.0-3.debian.tar.xz
53ee060d6a3ae774e6c928b6ee9d8e6074b4519d331d206ca1441c674264f9d8 9581
python-aioshelly_11.2.0-3_amd64.buildinfo
Files:
b488de08873861f04a438013b80172dd 2246 python optional
python-aioshelly_11.2.0-3.dsc
11088f6080e1a77d8fe065db0bc93fbd 1784 python optional
python-aioshelly_11.2.0-3.debian.tar.xz
ac3202ffa83480df7eec75108deaca01 9581 python optional
python-aioshelly_11.2.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmbQPXsACgkQ1BatFaxr
Q/5Jcg//cDKsc72qPUFgwqWWnYDNqoWDYWO259lEm9UWDYgyoyC2cAk5VQxsofq8
cUD4JuPoiUM2r/cSjDfB1dPJOVCXk4+TROEjX/sBWosQiysthkgJLI8Bfr9fSaZ6
qgYzDi4iQEnKD/6HY0uaSOhSPzpV96lrXWXJjhHBsP9v45B/AqfbthlDmkNs9A55
aW0i2I7Q0JBVEOf8ak3WvkdxXmi3EAqMH0nDPJNykUavsPt7nOTHy8bMUPlWh2/N
a8qzvO4E1abiBNhOVfT5Tl9VS9Quzud0FxiF7wOBdF1ye4caJ4hGozRQSn8wXBXm
jREtH0OrndNO1xoPgQvtsVD9mqyJwIL+lTqNgdOXZuHe+KlrCzUX1WcIZ6BPD/Ju
I8WiRATUcea/HxtnjgVadQ5ONB6Ejr7O8AEZrrIboYGJs+FVk37xpi7ARTIGKDuE
6iOWw/Yid+OYwIoTGU0Lr//RgxWCtQB/huxKX3wRBb95oJe22VZUBND3hT7FQQQm
neoAJClkOai+lC+3Aq/HY+XKpuIXAJ2QtjxSqHECHzw7b+xHZQfHu1QmpyHKLytD
IMmKriN7aTiwVdSA57JDWPFxbmkdSnxmsSLT8E91jyXUuTlqegO9PNln47dC3GNh
Fbq+82uqEdFoFYp0FeQ2oFKMz/pXCuwYzqjugApWjo9dm64VMnw=
=9X4g
-----END PGP SIGNATURE-----
pgpIoeEkZwTMq.pgp
Description: PGP signature
--- End Message ---