• Bug#1071123: influxdb-python: FTBFS with pandas 2.2

    From Rebecca N. Palmer@21:1/5 to All on Tue May 14 20:10:01 2024
    Source: influxdb-python
    Version: 5.3.1-6
    Severity: wishlist
    Control: block 1069792 by -1

    This package's tests fail with pandas 2.2, currently in experimental.

    https://launchpadlibrarian.net/728496862/buildlog_ubuntu-oracular-amd64.influxdb-python_5.3.1-6_BUILDING.txt.gz

    ======================================================================
    ERROR: Test write points from df w/escaped tag in TestDataFrameClient. ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/<<PKGBUILDDIR>>/influxdb/tests/dataframe_client_test.py", line
    338, in test_write_points_from_dataframe_with_tag_escaped
    index=pd.period_range(now, freq='H', periods=5),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pandas/core/indexes/period.py",
    line 611, in period_range
    data, freq = PeriodArray._generate_range(start, end, periods, freq)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/pandas/core/arrays/period.py",
    line 340, in _generate_range
    freq = Period._maybe_convert_freq(freq)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "pandas/_libs/tslibs/period.pyx", line 1765, in pandas._libs.tslibs.period._Period._maybe_convert_freq
    File "pandas/_libs/tslibs/offsets.pyx", line 4924, in pandas._libs.tslibs.offsets.to_offset
    FutureWarning: 'H' is deprecated and will be removed in a future
    version, please use 'h' instead.

    ----------------------------------------------------------------------

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rebecca N. Palmer@21:1/5 to All on Wed May 15 00:20:01 2024
    Control: tags -1 patch

    https://salsa.debian.org/python-team/packages/influxdb-python/-/merge_requests/2

    Not *obviously* known upstream.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)