Your message dated Sat, 29 Nov 2025 23:19:23 +0000
with message-id <[email protected]>
and subject line Bug#1114761: fixed in python-influxdb-client 1.40.0-7
has caused the Debian Bug report #1114761,
regarding ModuleNotFound when using InfluxDBClientAsync
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.)


-- 
1114761: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114761
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-influxdb-client
Version: 1.40.0-3

I recently upgraded to Debian trixie and installed the
python3-influxdb-client/stable lib via apt. Since I am using the async
version of it, I encountered a

ModuleNotFoundError "aiocsv"

when using the query_api() of InfluxDBClientAsync. I am using Debian 13/trixie.

The import of aiocsv is a local import as seen in
https://github.com/influxdata/influxdb-client-python/blob/feb97eef067013881e798b322f90a83e27d07366/influxdb_client/client/flux_csv_parser.py#L102-L107

async def __aenter__(self) -> 'FluxCsvParser':
        """Initialize CSV reader."""
        from aiocsv import AsyncReader
        self._reader =
AsyncReader(_StreamReaderToWithAsyncRead(self._response.content))

Unfortunately, I was not able to find aiocsv in the trixie packages
nor is there an automatic dependency on it. So I had to use a
venv/pip-installed version instead. Are you aware of this problem or
is there any plan to include aiocsv as a Debian package in the future?

I attached a minimal example (it will probably require a valid
influxdb server running).

Thanks,
Matthias Straka
import asyncio
from influxdb_client.client.influxdb_client_async import InfluxDBClientAsync

async def main():
    connection = InfluxDBClientAsync(url='http://localhost:8086', token="TOKEN", org="MyOrg")
    query = f"""
            from(bucket: "my_bucket")
            |> range(start: -1h, stop: now())
            |> filter(fn: (r) => r["_measurement"] == "market" and r["_field"] == "price")
            """
    try:
        results = await connection.query_api().query(query)
        print(results[0].records[0].get_value())
    except Exception as ex:
        print(ex) # Prints No module named 'aiocsv'

asyncio.run(main())

--- End Message ---
--- Begin Message ---
Source: python-influxdb-client
Source-Version: 1.40.0-7
Done: Thomas Goirand <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-influxdb-client, 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.
Thomas Goirand <[email protected]> (supplier of updated python-influxdb-client 
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, 29 Nov 2025 23:13:14 +0100
Source: python-influxdb-client
Architecture: source
Version: 1.40.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1114761
Changes:
 python-influxdb-client (1.40.0-7) unstable; urgency=medium
 .
   * Add python3-aiocsv as (build-)depends (Closes: #1114761).
Checksums-Sha1:
 2e39737052b4d1c28ada38345a28f6e80b68c903 2458 
python-influxdb-client_1.40.0-7.dsc
 bb69867c43376f2048dacc97948d69f3acf537d8 2660 
python-influxdb-client_1.40.0-7.debian.tar.xz
 3340c41f4bb60ea32488ac8bc4f4464e875ae434 8957 
python-influxdb-client_1.40.0-7_amd64.buildinfo
Checksums-Sha256:
 a405c9cee0058cff760a703952c7e2c0b4c122bc6bfc672a9714696cc9321c78 2458 
python-influxdb-client_1.40.0-7.dsc
 80a755413ef3f4e22c3ad7ef4c4736d60c218f7bc1a5ab566254603c6074875d 2660 
python-influxdb-client_1.40.0-7.debian.tar.xz
 0cc05bd81c9516905bf492196655974c69bc2c751b20cc737030ac28b98d4767 8957 
python-influxdb-client_1.40.0-7_amd64.buildinfo
Files:
 c368f51488ac258f8a2d02147c9865a7 2458 python optional 
python-influxdb-client_1.40.0-7.dsc
 028246d66364e827b9c4e6eaec37b1f3 2660 python optional 
python-influxdb-client_1.40.0-7.debian.tar.xz
 6bee586164e4d1b8d85ed465cbad5c5c 8957 python optional 
python-influxdb-client_1.40.0-7_amd64.buildinfo

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

iQIzBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmkrenMACgkQ1BatFaxr
Q/4v3w//Ve4Agm1BTTIzrZWjfrmniapE7lYA8crbx3MaEOvU/tHmxs/G0oPkr5D9
bD+ze+kDaDVIFQ71oX0y/H7+w2LN2x/rjoVuQvzE1gl5Ys0T5t5beYHCgaaBiwZ9
pTaQA/oaOE2PtB5OUghbpHoHsSOIVzV/kPIriGww0bWAXkHDvB6CZiEAKbJyLOYh
mK2M6BzrAjJxRBo+mqYlgQf4sBW0619D3wySpNLqxfSWS1Zx5ie3BtIEiOaiRspJ
rYzbjJPjSeprMvmqTi6o5R8KgeuFFfH2QxPYQ7I5F7H/I0fxNJox6YpVu+h10kFP
sPoAtkFbMCwiWcALwcAn4i6xyWGooF+7JMekT1SepwVUzBS1t89f0MeysS6gwQS6
wXh0N7YxAvrZ4HTYXBmFryH6mtuZNOvcFQjhNfXZzmRqprMrQGJ8KBgQK7CW3RbY
sly5RS4l1Wla9y3QYiooxrL8V+HhKGUMfgSJPGnLbMqDs/bqb6M5fPeQuEKQ3M7h
vpK2pAHQPIh6Mtg1PIsu1I8EIZqnByKvojRigwO2BWq1bRFAhAKpSfY0x49Yu3G9
sabqm79wY5XnycU4rI9XUtawidY1jekdYaTVS1Oo/vv1KnzfIt8rPf59FKFnVTxE
xPjqETeDviGt34MPubK4COFRCZDhjZxY9xwON5E0uuBfPv/0U4Q=
=QMaY
-----END PGP SIGNATURE-----

Attachment: pgp5fqtfLG1Ap.pgp
Description: PGP signature


--- End Message ---

Reply via email to