forked from pool/python-tablib
Accepting request 753796 from home:TheBlackCat:branches:devel:languages:python
- Update to 0.14.0 - Drop python2 support due to dependencies dropping python2 support OBS-URL: https://build.opensuse.org/request/show/753796 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tablib?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 2 16:03:37 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
- Drop python2 support due to dependencies dropping python2 support
|
||||||
|
- Update to 0.14.0
|
||||||
|
+ Deprecations
|
||||||
|
* The 0.14.x series will be the last to support Python 2
|
||||||
|
+ Breaking changes
|
||||||
|
* Dropped Python 3.4 support
|
||||||
|
+ Improvements
|
||||||
|
* Added Python 3.7 and 3.8 support
|
||||||
|
* The project is now maintained by the Jazzband team, https://jazzband.co
|
||||||
|
* Improved format autodetection and added autodetection for the odf format.
|
||||||
|
* Added search to all documentation pages
|
||||||
|
* Open xlsx workbooks in read-only mode
|
||||||
|
* Unpin requirements
|
||||||
|
* Only install backports.csv on Python 2
|
||||||
|
+ Bugfixes
|
||||||
|
* Fixed `DataBook().load` parameter ordering (first stream, then format).
|
||||||
|
* Fixed a regression for xlsx exports where non-string values were forced to
|
||||||
|
strings
|
||||||
|
* Fixed xlsx format detection (which was often detected as `xls` format)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 6 15:07:34 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Sat Apr 6 15:07:34 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -21,25 +21,31 @@
|
|||||||
# I get syntax errors in the brp-python-bytecompile step...
|
# I get syntax errors in the brp-python-bytecompile step...
|
||||||
%define _python_bytecompile_errors_terminate_build 0
|
%define _python_bytecompile_errors_terminate_build 0
|
||||||
%endif
|
%endif
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-tablib
|
Name: python-tablib
|
||||||
Version: 0.13.0
|
Version: 0.14.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)
|
Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV)
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://python-tablib.org
|
URL: http://python-tablib.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tablib/tablib-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module MarkupPy}
|
||||||
BuildRequires: %{python_module PyYAML >= 3.12}
|
BuildRequires: %{python_module PyYAML >= 3.12}
|
||||||
BuildRequires: %{python_module odfpy >= 1.3.5}
|
BuildRequires: %{python_module odfpy >= 1.3.5}
|
||||||
BuildRequires: %{python_module openpyxl >= 2.4.8}
|
BuildRequires: %{python_module openpyxl >= 2.4.8}
|
||||||
BuildRequires: %{python_module pandas >= 0.20.3}
|
BuildRequires: %{python_module pandas >= 0.20.3}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module xlrd >= 1.1.0}
|
BuildRequires: %{python_module xlrd >= 1.1.0}
|
||||||
BuildRequires: %{python_module xlwt >= 1.3.0}
|
BuildRequires: %{python_module xlwt >= 1.3.0}
|
||||||
BuildRequires: %{python_module xml}
|
BuildRequires: %{python_module xml}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python2-backports.csv
|
BuildRequires: python2-backports.csv
|
||||||
|
Requires: python-MarkupPy
|
||||||
Requires: python-PyYAML >= 3.12
|
Requires: python-PyYAML >= 3.12
|
||||||
Requires: python-odfpy >= 1.3.5
|
Requires: python-odfpy >= 1.3.5
|
||||||
Requires: python-openpyxl >= 2.4.8
|
Requires: python-openpyxl >= 2.4.8
|
||||||
@@ -68,24 +74,21 @@ Output formats supported:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n tablib-%{version}
|
%setup -q -n tablib-%{version}
|
||||||
# Remove shebang lines from non-executable scripts:
|
# Remove shebang lines from non-executable scripts:
|
||||||
find tablib -name "*.py" | xargs sed -i '1 { /^#!/ d }'
|
find src -name "*.py" | xargs sed -i '1 { /^#!/ d }'
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
# Remove dependency on backports.csv from egg-info, as it isnt
|
|
||||||
# installed on Python 3, breaking pkg_resources resolver.
|
|
||||||
sed -i '/backports.csv/d' %{buildroot}%{python3_sitelib}/tablib*egg-info/requires.txt
|
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec test_tablib.py
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst HISTORY.rst
|
%doc AUTHORS README.md HISTORY.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5f33c079b07eb10cf9c4b4696add2ecf32c89db7729240546ecdcd5c92f67e13
|
|
||||||
size 65131
|
|
3
tablib-0.14.0.tar.gz
Normal file
3
tablib-0.14.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6336e7aa3f0e5894b47270a3dc639cc2e78eb823c7ccb8c4512fb408cdc18d08
|
||||||
|
size 76937
|
Reference in New Issue
Block a user