Hello community,
here is the log from the commit of package python3-simplejson for
openSUSE:Factory checked in at 2016-02-22 08:56:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-simplejson (Old)
and /work/SRC/openSUSE:Factory/.python3-simplejson.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-simplejson"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-simplejson/python3-simplejson.changes
2015-11-04 15:30:29.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python3-simplejson.new/python3-simplejson.changes
2016-02-22 08:56:40.000000000 +0100
@@ -1,0 +2,12 @@
+Wed Feb 17 03:55:36 UTC 2016 - [email protected]
+
+- specfile:
+ * update copyright year
+
+- update to version 3.8.2:
+ * Fix implicit cast compiler warning in _speedups.c
+ * simplejson is now available as wheels for OS X and Windows thanks
+ to Travis-CI and AppVeyor respectively! Many thanks to @aebrahim
+ for getting this party started.
+
+-------------------------------------------------------------------
Old:
----
simplejson-3.8.1.tar.gz
New:
----
simplejson-3.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-simplejson.spec ++++++
--- /var/tmp/diff_new_pack.zhy7sk/_old 2016-02-22 08:56:41.000000000 +0100
+++ /var/tmp/diff_new_pack.zhy7sk/_new 2016-02-22 08:56:41.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-simplejson
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
Name: python3-simplejson
-Version: 3.8.1
+Version: 3.8.2
Release: 0
Url: http://github.com/simplejson/simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python
++++++ simplejson-3.8.1.tar.gz -> simplejson-3.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/CHANGES.txt
new/simplejson-3.8.2/CHANGES.txt
--- old/simplejson-3.8.1/CHANGES.txt 2015-10-27 16:30:57.000000000 +0100
+++ new/simplejson-3.8.2/CHANGES.txt 2016-02-15 19:02:14.000000000 +0100
@@ -1,3 +1,12 @@
+Version 3.8.2 released 2016-02-14
+
+* Fix implicit cast compiler warning in _speedups.c
+* simplejson is now available as wheels for OS X and Windows thanks to
Travis-CI
+ and AppVeyor respectively! Many thanks to @aebrahim for getting this party
+ started.
+ https://github.com/simplejson/simplejson/pull/130
+ https://github.com/simplejson/simplejson/issues/122
+
Version 3.8.1 released 2015-10-27
* Fix issue with iterable_as_array and indent option
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/PKG-INFO
new/simplejson-3.8.2/PKG-INFO
--- old/simplejson-3.8.1/PKG-INFO 2015-10-27 16:32:20.000000000 +0100
+++ new/simplejson-3.8.2/PKG-INFO 2016-02-15 21:18:55.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: simplejson
-Version: 3.8.1
+Version: 3.8.2
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Home-page: http://github.com/simplejson/simplejson
Author: Bob Ippolito
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/conf.py new/simplejson-3.8.2/conf.py
--- old/simplejson-3.8.1/conf.py 2015-09-04 19:35:07.000000000 +0200
+++ new/simplejson-3.8.2/conf.py 2016-02-15 19:02:14.000000000 +0100
@@ -44,7 +44,7 @@
# The short X.Y version.
version = '3.8'
# The full version, including alpha/beta/rc tags.
-release = '3.8.1'
+release = '3.8.2'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/scripts/artifacts.py
new/simplejson-3.8.2/scripts/artifacts.py
--- old/simplejson-3.8.1/scripts/artifacts.py 1970-01-01 01:00:00.000000000
+0100
+++ new/simplejson-3.8.2/scripts/artifacts.py 2016-02-15 21:17:38.000000000
+0100
@@ -0,0 +1,48 @@
+try:
+ from urllib.request import urlopen
+except ImportError:
+ from urllib import urlopen
+
+import io
+import json
+import subprocess
+
+
+def get_json(url):
+ return json.loads(urlopen(url).read().decode('utf-8'))
+
+
+def download_file(src_url, dest_path):
+ print(dest_path)
+ subprocess.call(
+ ['curl', '-L', '-#', '-o', dest_path, src_url])
+
+
+def download_appveyor_artifacts():
+ api_url = 'https://ci.appveyor.com/api'
+ builds = get_json(
+ '{}/projects/etrepum/simplejson'.format(api_url))
+
+ for job in builds['build']['jobs']:
+ url = '{api_url}/buildjobs/{jobId}/artifacts'.format(
+ api_url=api_url, **job)
+ for artifact in get_json(url):
+ download_file(
+ '{url}/{fileName}'.format(url=url, **artifact),
+ artifact['fileName'])
+
+
+def download_github_artifacts():
+ release = get_json(
+ 'https://api.github.com/repos/simplejson/simplejson/releases/latest')
+ for asset in release['assets']:
+ download_file(asset['url'], 'dist/{name}'.format(**asset))
+
+
+def main():
+ download_appveyor_artifacts()
+ download_github_artifacts()
+
+
+if __name__ == '__main__':
+ main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/setup.py
new/simplejson-3.8.2/setup.py
--- old/simplejson-3.8.1/setup.py 2015-09-04 19:35:02.000000000 +0200
+++ new/simplejson-3.8.2/setup.py 2016-02-15 19:02:14.000000000 +0100
@@ -11,7 +11,7 @@
DistutilsPlatformError
IS_PYPY = hasattr(sys, 'pypy_translation_info')
-VERSION = '3.8.1'
+VERSION = '3.8.2'
DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python"
with open('README.rst', 'r') as f:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/simplejson/__init__.py
new/simplejson-3.8.2/simplejson/__init__.py
--- old/simplejson-3.8.1/simplejson/__init__.py 2015-09-04 19:35:12.000000000
+0200
+++ new/simplejson-3.8.2/simplejson/__init__.py 2016-02-15 19:02:14.000000000
+0100
@@ -97,7 +97,7 @@
Expecting property name: line 1 column 3 (char 2)
"""
from __future__ import absolute_import
-__version__ = '3.8.1'
+__version__ = '3.8.2'
__all__ = [
'dump', 'dumps', 'load', 'loads',
'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/simplejson/_speedups.c
new/simplejson-3.8.2/simplejson/_speedups.c
--- old/simplejson-3.8.1/simplejson/_speedups.c 2015-09-04 19:32:50.000000000
+0200
+++ new/simplejson-3.8.2/simplejson/_speedups.c 2016-02-15 19:02:14.000000000
+0100
@@ -2654,7 +2654,7 @@
if (PyInt_Check(int_as_string_bitcount) ||
PyLong_Check(int_as_string_bitcount)) {
static const unsigned int long_long_bitsize = SIZEOF_LONG_LONG * 8;
int int_as_string_bitcount_val =
(int)PyLong_AsLong(int_as_string_bitcount);
- if (int_as_string_bitcount_val > 0 && int_as_string_bitcount_val <
long_long_bitsize) {
+ if (int_as_string_bitcount_val > 0 && int_as_string_bitcount_val <
(int)long_long_bitsize) {
s->max_long_size = PyLong_FromUnsignedLongLong(1ULL <<
int_as_string_bitcount_val);
s->min_long_size = PyLong_FromLongLong(-1LL <<
int_as_string_bitcount_val);
if (s->min_long_size == NULL || s->max_long_size == NULL) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/simplejson.egg-info/PKG-INFO
new/simplejson-3.8.2/simplejson.egg-info/PKG-INFO
--- old/simplejson-3.8.1/simplejson.egg-info/PKG-INFO 2015-10-27
16:32:15.000000000 +0100
+++ new/simplejson-3.8.2/simplejson.egg-info/PKG-INFO 2016-02-15
21:18:55.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: simplejson
-Version: 3.8.1
+Version: 3.8.2
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Home-page: http://github.com/simplejson/simplejson
Author: Bob Ippolito
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.8.1/simplejson.egg-info/SOURCES.txt
new/simplejson-3.8.2/simplejson.egg-info/SOURCES.txt
--- old/simplejson-3.8.1/simplejson.egg-info/SOURCES.txt 2015-10-27
16:32:15.000000000 +0100
+++ new/simplejson-3.8.2/simplejson.egg-info/SOURCES.txt 2016-02-15
21:18:55.000000000 +0100
@@ -5,6 +5,7 @@
conf.py
index.rst
setup.py
+scripts/artifacts.py
scripts/make_docs.py
simplejson/__init__.py
simplejson/_speedups.c