From 501a9ee6df6c03bda3173bf404e68091956984546fa98827dfdc83b26e431399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 11 Oct 2022 08:42:50 +0000 Subject: [PATCH] Accepting request 1009680 from home:jayvdb:branches:devel:languages:python - Update to v3.2.1 OBS-URL: https://build.opensuse.org/request/show/1009680 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tablib?expand=0&rev=20 --- python-tablib.changes | 17 +++++++++++++++++ python-tablib.spec | 12 ++++++++---- tablib-3.0.0.tar.gz | 3 --- tablib-3.2.1.tar.gz | 3 +++ 4 files changed, 28 insertions(+), 7 deletions(-) delete mode 100644 tablib-3.0.0.tar.gz create mode 100644 tablib-3.2.1.tar.gz diff --git a/python-tablib.changes b/python-tablib.changes index dfe9ac4..26ff45d 100644 --- a/python-tablib.changes +++ b/python-tablib.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Oct 11 07:35:41 UTC 2022 - John Vandenberg + +- Update to v3.2.1 + * Support solo CR in text input imports +- from v3.2.0 + * Dropped Python 3.6 support + * Corrected order of arguments to a regex call in safe_xlsx_sheet_title +- from v3.1.0 + * Add support for Python 3.10 + * The csv, xls, and xlsx formats gained support for the skip_lines + keyword argument for their import_set() method to be able to skip + the nth first lines of a read file + * Avoided mutable parameter defaults + * Specify build backend for editable installs + * Doubled sample size passed to csv.Sniffer() in _csv.detect() + ------------------------------------------------------------------- Fri Apr 23 21:58:39 UTC 2021 - Ben Greiner diff --git a/python-tablib.spec b/python-tablib.spec index beeb358..0917215 100644 --- a/python-tablib.spec +++ b/python-tablib.spec @@ -1,7 +1,7 @@ # # spec file for package python-tablib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ %define skip_python2 1 %define skip_python36 1 Name: python-tablib -Version: 3.0.0 +Version: 3.2.1 Release: 0 Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV) License: MIT @@ -73,6 +73,9 @@ Output formats supported: find src -name "*.py" | xargs sed -i '1 { /^#!/ d }' sed -i '/addopts/ d' pytest.ini +# Remove python_requires>=3.7 as it works fine on Python 3.6 +sed -i '/python_requires/d' setup.py + %build %python_build @@ -81,11 +84,12 @@ sed -i '/addopts/ d' pytest.ini %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +# v3.2.1: test_cli_export_github fails on Leap 15.3 & .4 due to minor differences in output +%pytest -k 'not test_cli_export_github' %files %{python_files} %license LICENSE %doc AUTHORS README.md HISTORY.md -%{python_sitelib}/* +%{python_sitelib}/tablib*/ %changelog diff --git a/tablib-3.0.0.tar.gz b/tablib-3.0.0.tar.gz deleted file mode 100644 index db99529..0000000 --- a/tablib-3.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f83cac08454f225a34a305daa20e2110d5e6335135d505f93bc66583a5f9c10d -size 95049 diff --git a/tablib-3.2.1.tar.gz b/tablib-3.2.1.tar.gz new file mode 100644 index 0000000..bcb12e7 --- /dev/null +++ b/tablib-3.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a57f2770b8c225febec1cb1e65012a69cf30dd28be810e0ff98d024768c7d0f1 +size 96754