forked from pool/python-jsonpickle
- Update to 1.1:
* Python 3.7 collections.Iterator deprecation warnings have been fixed. (#229). * Improved Pandas support for datetime and complex numbers. (#245) * NOTE jsonpickle no longer supports Python2.6, or Python3 < 3.4. The officially supported Python versions are now 2.7 and 3.4+. * Improved Pandas and Numpy support. (#227) * Improved support for pickling iterators. (#216) * Better support for the stdlib json module when simplejson is not installed. (#217) * jsonpickle will now output python3-style module names when pickling builtins methods or functions. (#223) * jsonpickle will always flatten primitives, even when max_depth is reached, which avoids encoding unicode strings into their u'string' representation. * Nested classes are now supported on Python 3. (#206, #176). * Better support for older (pre-1.9) versions of numpy (#195). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpickle?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
1e854dcba6
commit
872dfbfd57
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jsonpickle
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,9 +18,9 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-jsonpickle
|
||||
Version: 0.9.6
|
||||
Version: 1.1
|
||||
Release: 0
|
||||
Url: http://jsonpickle.github.com/
|
||||
Url: https://github.com/jsonpickle/jsonpickle
|
||||
Summary: Python library for serializing any arbitrary object graph into JSON
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
@@ -31,9 +31,9 @@ BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pymongo}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
# SECTION python 2 test requirements
|
||||
BuildRequires: python-enum34
|
||||
@@ -65,10 +65,10 @@ Additionally, it can reconstitute the object back into Python.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.rst docs/source/changelog.rst
|
||||
%license COPYING
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user