File python-influxdb3-python.spec of Package python-influxdb3-python
#
# spec file for package python-influxdb3-python
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-influxdb3-python
Version: 0.16.0
Release: 0
Summary: Community Python client for InfluxDB 30
License: MIT
URL: https://github.com/InfluxCommunity/influxdb3-python
Source: https://files.pythonhosted.org/packages/source/i/influxdb3-python/influxdb3_python-%{version}.tar.gz
Patch0: 0001-Detect-if-orc-file-format-is-supported.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 21.0.0}
# SECTION test requirements
BuildRequires: %{python_module certifi >= 14.05.14}
BuildRequires: %{python_module pyarrow >= 8.0.0}
BuildRequires: %{python_module python_dateutil >= 2.5.3}
BuildRequires: %{python_module reactivex >= 4.0.4}
BuildRequires: %{python_module urllib3 >= 1.26.0}
# /SECTION
BuildRequires: fdupes
Requires: python-certifi >= 14.05.14
Requires: python-pyarrow >= 8.0.0
Requires: python-python_dateutil >= 2.5.3
Requires: python-reactivex >= 4.0.4
Requires: python-urllib3 >= 1.26.0
Suggests: python-pandas
Suggests: python-polars
BuildArch: noarch
%python_subpackages
%description
Community Python client for InfluxDB 3.0
%prep
%autosetup -p1 -n influxdb3_python-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_expand rm -rf %{buildroot}%{$python_sitelib}/Examples
%check
%files %{python_files}
%license LICENSE
%{python_sitelib}/influxdb_client_3
%{python_sitelib}/influxdb3_python-*.dist-info
%changelog