14
0

- update to 2.10.0:

* Support Python 3.13 for now
  * Note that jpype doesn't support 3.13 yet.
  * Support Python 3.13; Drop 3.8
  failure for Tumbleweed.
- Remove optional dependencies.
- Update to v2.9.3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tabula-py?expand=0&rev=4
This commit is contained in:
2024-10-29 22:00:47 +00:00
committed by Git OBS Bridge
parent 759144e370
commit a1514a0acb
3 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tabula-py
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,24 +18,24 @@
%{?sle15_python_module_pythons}
Name: python-tabula-py
Version: 2.9.3
Version: 2.10.0
Release: 0
Summary: Simple wrapper for tabula-java, read tables from PDF into DataFrame
License: MIT
URL: https://github.com/chezou/tabula-py
Source: https://files.pythonhosted.org/packages/source/t/tabula-py/tabula_py-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module setuptools >= 45}
BuildRequires: %{python_module setuptools_scm >= 6.2}
BuildRequires: %{python_module wheel}
BuildRequires: ca-certificates-mozilla
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module distro}
BuildRequires: %{python_module JPype1}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas >= 0.25.3}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module JPype1}
# /SECTION
BuildRequires: fdupes
Requires: python-distro
@@ -45,8 +45,8 @@ BuildArch: noarch
%python_subpackages
%description
tabula-py is a simple Python wrapper of tabula-java, which can read tables in a PDF. You can read tables
from a PDF and convert them into a pandas DataFrame. tabula-py also enables you to convert a PDF file into
tabula-py is a simple Python wrapper of tabula-java, which can read tables in a PDF. You can read tables
from a PDF and convert them into a pandas DataFrame. tabula-py also enables you to convert a PDF file into
a CSV, a TSV or a JSON file.
%prep
@@ -59,7 +59,6 @@ a CSV, a TSV or a JSON file.
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not (remote or test_read_pdf_with_silent_true)'
@@ -69,5 +68,4 @@ a CSV, a TSV or a JSON file.
%{python_sitelib}/tabula
%{python_sitelib}/tabula_py-%{version}*-info
%changelog