Your message dated Mon, 01 Sep 2025 18:51:20 +0000
with message-id <[email protected]>
and subject line Bug#1090280: fixed in python-mypermobil 0.1.8-2
has caused the Debian Bug report #1090280,
regarding python-mypermobil: FTBFS: E AssertionError: MyPermobilAPIException 
not raised
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.)


-- 
1090280: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090280
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-mypermobil
Version: 0.1.8-1.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.13 setup.py config 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: 
Unknown distribution option: 'test_requires'
  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_requires'
  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_requires'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/mypermobil
copying ./mypermobil/mypermobil.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/mypermobil
copying ./mypermobil/const.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/mypermobil
copying ./mypermobil/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/mypermobil
copying ./mypermobil/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/mypermobil
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_requires'
  warnings.warn(msg)
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/mypermobil
copying ./mypermobil/mypermobil.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/mypermobil
copying ./mypermobil/const.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/mypermobil
copying ./mypermobil/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/mypermobil
copying ./mypermobil/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/mypermobil
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest -k "not test_region"
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 39 items / 1 deselected / 38 selected

tests/auth_test.py ........                                              [ 21%]
tests/item_test.py ........F.......                                      [ 63%]
tests/misc_test.py ..                                                    [ 68%]
tests/requests_test.py ....                                              [ 78%]
tests/validation_test.py ........                                        [100%]

=================================== FAILURES ===================================
______________________ TestRequest.test_request_item_404 _______________________

self = <tests.item_test.TestRequest testMethod=test_request_item_404>

    async def test_request_item_404(self):
        status = 404
        msg = "not found"
        resp = AsyncMock(status=status)
        resp.json = AsyncMock(return_value={"error": msg})
        self.api.make_request = AsyncMock(return_value=resp)
    
>       with self.assertRaises(MyPermobilAPIException):
E       AssertionError: MyPermobilAPIException not raised

tests/item_test.py:57: AssertionError
=============================== warnings summary ===============================
tests/auth_test.py::TestAuth::test_deauthenticate
  /usr/lib/python3/dist-packages/aiounittest/helpers.py:119: 
DeprecationWarning: There is no current event loop
    old_loop = asyncio.get_event_loop()

tests/requests_test.py::TestRequest::test_battery_info
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_battery_info of <tests.requests_test.TestRequest 
testMethod=test_battery_info>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_daily_usage
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_daily_usage of <tests.requests_test.TestRequest 
testMethod=test_daily_usage>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_gps_info
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_gps_info of <tests.requests_test.TestRequest 
testMethod=test_gps_info>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_records_info
  /usr/lib/python3.13/unittest/case.py:707: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_records_info of <tests.requests_test.TestRequest 
testMethod=test_records_info>>)
    return self.run(*args, **kwds)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/item_test.py::TestRequest::test_request_item_404 - AssertionErro...
============ 1 failed, 37 passed, 1 deselected, 5 warnings in 0.64s ============
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -k "not 
test_region"
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m pytest -k "not test_region"
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 39 items / 1 deselected / 38 selected

tests/auth_test.py ........                                              [ 21%]
tests/item_test.py ................                                      [ 63%]
tests/misc_test.py ..                                                    [ 68%]
tests/requests_test.py ....                                              [ 78%]
tests/validation_test.py ........                                        [100%]

=============================== warnings summary ===============================
tests/auth_test.py::TestAuth::test_deauthenticate
  /usr/lib/python3/dist-packages/aiounittest/helpers.py:119: 
DeprecationWarning: There is no current event loop
    old_loop = asyncio.get_event_loop()

tests/requests_test.py::TestRequest::test_battery_info
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_battery_info of <tests.requests_test.TestRequest 
testMethod=test_battery_info>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_daily_usage
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_daily_usage of <tests.requests_test.TestRequest 
testMethod=test_daily_usage>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_gps_info
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_gps_info of <tests.requests_test.TestRequest 
testMethod=test_gps_info>>)
    return self.run(*args, **kwds)

tests/requests_test.py::TestRequest::test_records_info
  /usr/lib/python3.12/unittest/case.py:690: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (<bound method 
TestRequest.test_records_info of <tests.requests_test.TestRequest 
testMethod=test_records_info>>)
    return self.run(*args, **kwds)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================= 38 passed, 1 deselected, 5 warnings in 0.63s =================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
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/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-mypermobil
Source-Version: 0.1.8-2
Done: Tianyu Chen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-mypermobil, 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.
Tianyu Chen <[email protected]> (supplier of updated 
python-mypermobil 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: Sun, 31 Aug 2025 04:33:41 +0800
Source: python-mypermobil
Architecture: source
Version: 0.1.8-2
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Tianyu Chen <[email protected]>
Closes: 1090280
Changes:
 python-mypermobil (0.1.8-2) unstable; urgency=medium
 .
   * Add debian/salsa-ci.yml.
   * Disable test_request_item_404. (Closes: #1090280)
Checksums-Sha1:
 9084050aa5b833d08f11fbf7baec17a7657e4051 2148 python-mypermobil_0.1.8-2.dsc
 0026be2856b330356caa43e877b6cc51d5aecacb 2048 
python-mypermobil_0.1.8-2.debian.tar.xz
 8c45284739d5b2bbfa79b04c8fdbf218ada48357 7184 
python-mypermobil_0.1.8-2_source.buildinfo
Checksums-Sha256:
 8f6c399aea8c209b44ec6e2bcd2acbc52bafcca73f6b0eacf8c01bb08a3e21a5 2148 
python-mypermobil_0.1.8-2.dsc
 4f02d91adcd5556de63b664fed5d7da6a81526f37ce043758e73e3534985dfdc 2048 
python-mypermobil_0.1.8-2.debian.tar.xz
 17b087805d63a58f02243e412f3b788d2fb79414746af24704346a1762046463 7184 
python-mypermobil_0.1.8-2_source.buildinfo
Files:
 451665671929131a9b15d9568902e240 2148 python optional 
python-mypermobil_0.1.8-2.dsc
 f5e271d8e71c9f08afcdbc0ad020f302 2048 python optional 
python-mypermobil_0.1.8-2.debian.tar.xz
 eb6b3f8ff5d2c5e84fdf0a270d1429ce 7184 python optional 
python-mypermobil_0.1.8-2_source.buildinfo

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

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmi15YUACgkQMfMURUSh
dBqdrQ//Tt/GhipV543aRvdEkucquZJWqcfScW4DKUcF81TTxr3fi909pmdcCC2i
BNp7UcqqZb8MhKk0tMcfOwwCeUHpYVRWP72fMRB+6L/j1O3SAMME+sX9Y4H4iu/W
8LYmrraI4TyLi57pD0nQHZVnsnsPTXWJZxyW/cGQFHVdsGRNK4RFK6LW+QtHEtwO
jw12gIT5L2Ct3q3FrDxxL3YQaWA66eg3XffRB3guPuncYdHtw9HuZtiG8JS91kul
x0USNw3pVlwy2cyF2XnNOBEjowbTti2PTqFJpIH3v8wPVAsSfZkUtmiko7rLxC24
SrXn+y7XjHbnYf1vNydJDnP97rs3x+4EON2ze+41UtrApofPiFARJOLMXdmUlkV7
E34msKzYDe5KikEhZ6oqBUwVFD+PJgaoTRxblpdbwrGqtQj1UXeGtIy6FXzQSKbR
+vJ7VDeaVHrsHOyyN85Kl15ITGoxWKJSJc5atm9MvnUCFnCgMuGcqegYJZZe86mP
Eh2S3PNrF7o+TIXR7auMW40eMrEWlk/Io214HPehY3Euq4Gh1WB0Su2i5nRNoiOv
adZdZftMijMLS1iV9gOWUjXmuKzMzooSxo0iV7ENvVBN4XfI60lq1bUYEzj2K8gX
LPAg7lKM2IGTjIqV3wItXDbvpmAPThb+86dZ9BK1WIYpYcV52kk=
=/S20
-----END PGP SIGNATURE-----

Attachment: pgpjcAvb9yBtq.pgp
Description: PGP signature


--- End Message ---

Reply via email to