14
0
forked from pool/python-tablib

Accepting request 1009732 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1009732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tablib?expand=0&rev=10
This commit is contained in:
2022-10-11 16:03:22 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 7 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Oct 11 07:35:41 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- 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 <code@bnavigator.de>

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f83cac08454f225a34a305daa20e2110d5e6335135d505f93bc66583a5f9c10d
size 95049

3
tablib-3.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a57f2770b8c225febec1cb1e65012a69cf30dd28be810e0ff98d024768c7d0f1
size 96754