Your message dated Mon, 17 Feb 2025 01:19:09 +0000
with message-id <[email protected]>
and subject line Bug#1092539: fixed in aioelectricitymaps 1.1.0-1
has caused the Debian Bug report #1092539,
regarding aioelectricitymaps: FTBFS: dh_auto_test: error: pybuild --test -i 
python{version} -p "3.12 3.13" returned exit code 13
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.)


-- 
1092539: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1092539
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: aioelectricitymaps
Version: 1.0.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20250107 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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
>    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 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.12_aioelectricitymaps
>   
> * Building wheel...
> Successfully built aioelectricitymaps-0.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
> module
> I: pybuild base:311: python3.13 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.13_aioelectricitymaps
>   
> * Building wheel...
> Successfully built aioelectricitymaps-0.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.12_aioelectricitymaps/build;
>  python3.12 -m pytest --no-cov
> /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: 
> PytestDeprecationWarning: The configuration option 
> "asyncio_default_fixture_loop_scope" is unset.
> The event loop scope for asynchronous fixtures will default to the fixture 
> caching scope. Future versions of pytest-asyncio will default the loop scope 
> for asynchronous fixtures to function scope. Set the default fixture loop 
> scope explicitly in order to avoid unexpected behavior in the future. Valid 
> fixture loop scopes are: "function", "class", "module", "package", "session"
> 
>   warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
> rootdir: 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.12_aioelectricitymaps/build
> configfile: pyproject.toml
> plugins: cov-5.0.0, asyncio-0.25.1, typeguard-4.4.1, syrupy-4.8.0
> asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None
> collected 12 items
> 
> tests/test_electricitymaps.py .........F.F                               
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________ test_power_breakdown_history 
> _________________________
> 
> electricitymaps_client = ElectricityMaps(token='abc123', 
> session=<aiohttp.client.ClientSession object at 0x7fde545c8980>, 
> _close_session=False)
> responses = <aioresponses.core.aioresponses object at 0x7fde545c89e0>
> snapshot = PowerBreakdownHistory(zone='DE', 
> history=[PowerBreakdown(time=datetime.datetime(2024, 3, 5, 20, 0, 
> tzinfo=datetime.tim...=48570, power_import_total=5798, 
> power_export_total=1467, is_estimated=True, 
> estimation_method='TIME_SLICER_AVERAGE')])
> 
>     async def test_power_breakdown_history(
>         electricitymaps_client: ElectricityMaps,
>         responses: aioresponses,
>         snapshot: SnapshotAssertion,
>     ) -> None:
>         """Test power_breakdown_history."""
>         responses.get(
>             
> "https://api.electricitymap.org/v3/power-breakdown/history?zone=DE";,
>             status=200,
>             headers={"Content-Type": "application/json"},
>             body=load_fixture("power_breakdown_history.json"),
>         )
> >       assert (
>             await electricitymaps_client.power_breakdown_history(
>                 ZoneRequest("DE"),
>             )
>             == snapshot
>         )
> E       AssertionError: assert [+ received] == [- snapshot]
> E         - ....timezone.utc), power_consumption_breakdown={'nuclear': 819, 
> 'geothermal': 19, 'biomass': 5117, 'coal': 21057, 'wind': 12635, 'solar': 0, 
> 'hydro': 3133, 'gas': 9511, 'oil': 353, 'unknown': 365, 'hydro discharge': 
> 869, 'battery discharge': 0}, power_production_breakdown={'nuclear': None, 
> 'geothermal': 21, 'biomass': 5360, 'coal': 22506, 'wind': 12590, 'solar': 0, 
> 'hydro': 1634, 'gas': 10192, 'oil': 354, 'unknown': 335, 'hydro discharge': 
> 845, 'battery discharge': None}, power_import_breakdown={'AT': 0, 'BE': 0, 
> 'CH': 28, 'CZ': 783, 'FR': 643, 'LU': 0, 'NL': 0, 'PL': 0, 'DK-DK1': 1589, 
> 'DK-DK2': 660, '...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_electricitymaps.py:169: AssertionError
> ________________________ test_carbon_intensity_history 
> _________________________
> 
> electricitymaps_client = ElectricityMaps(token='abc123', 
> session=<aiohttp.client.ClientSession object at 0x7fde545b60f0>, 
> _close_session=False)
> responses = <aioresponses.core.aioresponses object at 0x7fde545b6ed0>
> snapshot = CarbonIntensityHistory(zone='DE', 
> history=[CarbonIntensity(carbon_intensity=599, 
> timestamp=datetime.datetime(2024, 3, ...datetime.timezone.utc), 
> emission_factor_type='lifecycle', is_estimated=True, 
> estimation_method='TIME_SLICER_AVERAGE')])
> 
>     async def test_carbon_intensity_history(
>         electricitymaps_client: ElectricityMaps,
>         responses: aioresponses,
>         snapshot: SnapshotAssertion,
>     ) -> None:
>         """Test power_breakdown_history."""
>         responses.get(
>             
> "https://api.electricitymap.org/v3/carbon-intensity/history?zone=DE";,
>             status=200,
>             headers={"Content-Type": "application/json"},
>             body=load_fixture("carbon_intensity_history.json"),
>         )
> >       assert (
>             await electricitymaps_client.carbon_intensity_history(
>                 ZoneRequest("DE"),
>             )
>             == snapshot
>         )
> E       AssertionError: assert [+ received] == [- snapshot]
> E         - CarbonIntensityHistory(zone='DE', 
> history=[CarbonIntensity(carbon_intensity=599, 
> timestamp=datetime.datetime(2024, 3, 5, 20, 0, tzinfo=datetime.timezone.utc), 
> updated_at=datetime.datetime(2024, 3, 6, 15, 48, 54, 12000, 
> tzinfo=datetime.timezone.utc), emission_factor_type='lifecycle', 
> is_estimated=False, estimation_method=None), 
> CarbonIntensity(carbon_intensity=607, timestamp=datetime.datetime(2024, 3, 5, 
> 21, 0, tzinfo=datetime.timezone.utc), updated_at=datetime.datetime(2024, 3, 
> 6, 11, 49, 4, 367000, tzinfo=datetime.timezone.utc), 
> emission_factor_type='lifecycle', is_estimated=False, estimation_method=No...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_electricitymaps.py:209: AssertionError
> --------------------------- snapshot report summary 
> ----------------------------
> 2 snapshots failed. 5 snapshots passed.
> =========================== short test summary info 
> ============================
> FAILED tests/test_electricitymaps.py::test_power_breakdown_history - 
> Assertio...
> FAILED tests/test_electricitymaps.py::test_carbon_intensity_history - 
> Asserti...
> ========================= 2 failed, 10 passed in 0.22s 
> =========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.12_aioelectricitymaps/build;
>  python3.12 -m pytest --no-cov
> I: pybuild base:311: cd 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.13_aioelectricitymaps/build;
>  python3.13 -m pytest --no-cov
> /usr/lib/python3/dist-packages/pytest_asyncio/plugin.py:207: 
> PytestDeprecationWarning: The configuration option 
> "asyncio_default_fixture_loop_scope" is unset.
> The event loop scope for asynchronous fixtures will default to the fixture 
> caching scope. Future versions of pytest-asyncio will default the loop scope 
> for asynchronous fixtures to function scope. Set the default fixture loop 
> scope explicitly in order to avoid unexpected behavior in the future. Valid 
> fixture loop scopes are: "function", "class", "module", "package", "session"
> 
>   warnings.warn(PytestDeprecationWarning(_DEFAULT_FIXTURE_LOOP_SCOPE_UNSET))
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
> rootdir: 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.13_aioelectricitymaps/build
> configfile: pyproject.toml
> plugins: cov-5.0.0, asyncio-0.25.1, typeguard-4.4.1, syrupy-4.8.0
> asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None
> collected 12 items
> 
> tests/test_electricitymaps.py .........F.F                               
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________ test_power_breakdown_history 
> _________________________
> 
> electricitymaps_client = ElectricityMaps(token='abc123', 
> session=<aiohttp.client.ClientSession object at 0x7f6dcc2f6cf0>, 
> _close_session=False)
> responses = <aioresponses.core.aioresponses object at 0x7f6dcc10f450>
> snapshot = PowerBreakdownHistory(zone='DE', 
> history=[PowerBreakdown(time=datetime.datetime(2024, 3, 5, 20, 0, 
> tzinfo=datetime.tim...=48570, power_import_total=5798, 
> power_export_total=1467, is_estimated=True, 
> estimation_method='TIME_SLICER_AVERAGE')])
> 
>     async def test_power_breakdown_history(
>         electricitymaps_client: ElectricityMaps,
>         responses: aioresponses,
>         snapshot: SnapshotAssertion,
>     ) -> None:
>         """Test power_breakdown_history."""
>         responses.get(
>             
> "https://api.electricitymap.org/v3/power-breakdown/history?zone=DE";,
>             status=200,
>             headers={"Content-Type": "application/json"},
>             body=load_fixture("power_breakdown_history.json"),
>         )
> >       assert (
>             await electricitymaps_client.power_breakdown_history(
>                 ZoneRequest("DE"),
>             )
>             == snapshot
>         )
> E       AssertionError: assert [+ received] == [- snapshot]
> E         - ....timezone.utc), power_consumption_breakdown={'nuclear': 819, 
> 'geothermal': 19, 'biomass': 5117, 'coal': 21057, 'wind': 12635, 'solar': 0, 
> 'hydro': 3133, 'gas': 9511, 'oil': 353, 'unknown': 365, 'hydro discharge': 
> 869, 'battery discharge': 0}, power_production_breakdown={'nuclear': None, 
> 'geothermal': 21, 'biomass': 5360, 'coal': 22506, 'wind': 12590, 'solar': 0, 
> 'hydro': 1634, 'gas': 10192, 'oil': 354, 'unknown': 335, 'hydro discharge': 
> 845, 'battery discharge': None}, power_import_breakdown={'AT': 0, 'BE': 0, 
> 'CH': 28, 'CZ': 783, 'FR': 643, 'LU': 0, 'NL': 0, 'PL': 0, 'DK-DK1': 1589, 
> 'DK-DK2': 660, '...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_electricitymaps.py:169: AssertionError
> ________________________ test_carbon_intensity_history 
> _________________________
> 
> electricitymaps_client = ElectricityMaps(token='abc123', 
> session=<aiohttp.client.ClientSession object at 0x7f6dcc2f7df0>, 
> _close_session=False)
> responses = <aioresponses.core.aioresponses object at 0x7f6dcc10ae40>
> snapshot = CarbonIntensityHistory(zone='DE', 
> history=[CarbonIntensity(carbon_intensity=599, 
> timestamp=datetime.datetime(2024, 3, ...datetime.timezone.utc), 
> emission_factor_type='lifecycle', is_estimated=True, 
> estimation_method='TIME_SLICER_AVERAGE')])
> 
>     async def test_carbon_intensity_history(
>         electricitymaps_client: ElectricityMaps,
>         responses: aioresponses,
>         snapshot: SnapshotAssertion,
>     ) -> None:
>         """Test power_breakdown_history."""
>         responses.get(
>             
> "https://api.electricitymap.org/v3/carbon-intensity/history?zone=DE";,
>             status=200,
>             headers={"Content-Type": "application/json"},
>             body=load_fixture("carbon_intensity_history.json"),
>         )
> >       assert (
>             await electricitymaps_client.carbon_intensity_history(
>                 ZoneRequest("DE"),
>             )
>             == snapshot
>         )
> E       AssertionError: assert [+ received] == [- snapshot]
> E         - CarbonIntensityHistory(zone='DE', 
> history=[CarbonIntensity(carbon_intensity=599, 
> timestamp=datetime.datetime(2024, 3, 5, 20, 0, tzinfo=datetime.timezone.utc), 
> updated_at=datetime.datetime(2024, 3, 6, 15, 48, 54, 12000, 
> tzinfo=datetime.timezone.utc), emission_factor_type='lifecycle', 
> is_estimated=False, estimation_method=None), 
> CarbonIntensity(carbon_intensity=607, timestamp=datetime.datetime(2024, 3, 5, 
> 21, 0, tzinfo=datetime.timezone.utc), updated_at=datetime.datetime(2024, 3, 
> 6, 11, 49, 4, 367000, tzinfo=datetime.timezone.utc), 
> emission_factor_type='lifecycle', is_estimated=False, estimation_method=No...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_electricitymaps.py:209: AssertionError
> --------------------------- snapshot report summary 
> ----------------------------
> 2 snapshots failed. 5 snapshots passed.
> =========================== short test summary info 
> ============================
> FAILED tests/test_electricitymaps.py::test_power_breakdown_history - 
> Assertio...
> FAILED tests/test_electricitymaps.py::test_carbon_intensity_history - 
> Asserti...
> ========================= 2 failed, 10 passed in 0.17s 
> =========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /build/reproducible-path/aioelectricitymaps-1.0.0/.pybuild/cpython3_3.13_aioelectricitymaps/build;
>  python3.13 -m pytest --no-cov
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.13" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2025/01/07/aioelectricitymaps_1.0.0-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250107;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250107&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: aioelectricitymaps
Source-Version: 1.1.0-1
Done: Edward Betts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
aioelectricitymaps, 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.
Edward Betts <[email protected]> (supplier of updated aioelectricitymaps 
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: Sat, 15 Feb 2025 06:35:22 -0500
Source: aioelectricitymaps
Architecture: source
Version: 1.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1092539
Changes:
 aioelectricitymaps (1.1.0-1) unstable; urgency=medium
 .
   * New upstream release.
   * Update copyright year.
   * Simplify debian/rules.
   * Simplify debian/watch.
   * Move packages required for tests to Build-Depends-Indep.
   * Make aiohttp use HTTP proxy. (Closes: #1092539)
Checksums-Sha1:
 a8ec7debd6857d6ac77f4ec57aaf291549c91a46 2534 aioelectricitymaps_1.1.0-1.dsc
 72901c46d37355ddbe62c5d49cb5b822fce81aab 80670 
aioelectricitymaps_1.1.0.orig.tar.gz
 5183edf5a6e65abd59ff23012d457d51ab4be866 2928 
aioelectricitymaps_1.1.0-1.debian.tar.xz
 53baa07b6fa7e5e1b8ea71862d8d5b04813f8140 8305 
aioelectricitymaps_1.1.0-1_source.buildinfo
Checksums-Sha256:
 af19d51837ac95f422a76a3f11463b0c9e72511d97a7fc31a92d41d1addb9777 2534 
aioelectricitymaps_1.1.0-1.dsc
 860e5f403dd0222529ae1e15aa6e1a03ff37d5605268f65812fd98d764f4ba5b 80670 
aioelectricitymaps_1.1.0.orig.tar.gz
 4c64f5fcf82c9827c864a54ff67e0aa4c4f6fdfbf95b428123917ddd7b935c4b 2928 
aioelectricitymaps_1.1.0-1.debian.tar.xz
 11b2800e087bc99512a7417b50dd53ef844e0c560fb44526a385e7abf79e8b6e 8305 
aioelectricitymaps_1.1.0-1_source.buildinfo
Files:
 f6d5f7634dc8207d2e70bd73dbbb3499 2534 python optional 
aioelectricitymaps_1.1.0-1.dsc
 e05b133f3c6e7ba442f21e3c826d228e 80670 python optional 
aioelectricitymaps_1.1.0.orig.tar.gz
 f1cc452661bba1c26500f97c252ceb6a 2928 python optional 
aioelectricitymaps_1.1.0-1.debian.tar.xz
 6e271deb1b9861b44f59cff1f115844c 8305 python optional 
aioelectricitymaps_1.1.0-1_source.buildinfo

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

iQIzBAEBCgAdFiEE+4rPp4xyYInDitAmlgWhCYxjuSoFAmeyh2QACgkQlgWhCYxj
uSpnkw/+OuN8c5rphYu3dy6k0DfZv5AoEJF7eprXbXi3hoiPCFOcLCqzODU0qyYr
rz9pvSecbCH5fKcDmcPy+hmEgwoLILNOr8pEYtFHMgvtXj6eQqzMDSGoazD9CmHt
wFi/jOfZs67cICC/30YaDscm7sqi4fYPmndTP8EKXiFz20FcgIBp/16qWb4Rk+cy
oq3ijNj4vbttQBegkUyXMAffQtPHm+tmE8PVeffUZbGqCuDsZenvCX8rCYe+PvkH
ehKnkK/S6HNvpPnax/2KpjIv0OS+pMk6CUkbnU9MABv9eNk9Bl/2DETuGftnwwL9
ROljKICE0Jgyl7bRtsK1YyqvZfPDvpaRx0sGG08DfPixXnWyPpWRa7xHjYckA6e7
4HfCvaRLyOxUir1MFzKug7gTyCQl4HgAQ+WvkEKkZlPsSM2NFAqugybtdTqGOvKe
HASd9BNoMcfN3vebfQHe5iWB3EmMF0TvpAqsYZqhOTY7o+GGCg4Z8RSQOWC10cBq
GSzXBDxnz2NQ3xq2j2a95ySCiU2uAMZ9SYHsYYJ0jDroElqdE0chDNQjJaJnaIgZ
wPlTXthooTLAHXjDqxaH4aNL2Wfhba+NzoLVmlMx2U7yCdAVf6EqME6njsK9Sboj
cfX1wmP5iP7SRXs5FKgrANyuBWgvQgB5ELWmD7krE4GuBqHlxhY=
=3gBb
-----END PGP SIGNATURE-----

Attachment: pgpS7IrDx1uXQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to