Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-simplejson for
openSUSE:Factory checked in at 2021-07-21 19:05:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-simplejson (Old)
and /work/SRC/openSUSE:Factory/.python-simplejson.new.2632 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-simplejson"
Wed Jul 21 19:05:26 2021 rev:44 rq:906723 version:3.17.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-simplejson/python-simplejson.changes
2020-08-01 12:31:42.674486764 +0200
+++
/work/SRC/openSUSE:Factory/.python-simplejson.new.2632/python-simplejson.changes
2021-07-21 19:05:28.387196932 +0200
@@ -1,0 +2,7 @@
+Fri Jul 16 19:39:11 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 3.17.3:
+ * Replaced Travis-CI and AppVeyor with Github Actions,
+ adding wheels for Python 3.9.
+
+-------------------------------------------------------------------
Old:
----
simplejson-3.17.2.tar.gz
New:
----
simplejson-3.17.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-simplejson.spec ++++++
--- /var/tmp/diff_new_pack.vpebtz/_old 2021-07-21 19:05:28.855197745 +0200
+++ /var/tmp/diff_new_pack.vpebtz/_new 2021-07-21 19:05:28.859197752 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-simplejson
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-simplejson
-Version: 3.17.2
+Version: 3.17.3
Release: 0
Summary: Extensible JSON encoder/decoder for Python
-License: MIT OR AFL-2.1
+License: AFL-2.1 OR MIT
Group: Development/Languages/Python
URL: https://github.com/simplejson/simplejson
Source:
https://files.pythonhosted.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
++++++ simplejson-3.17.2.tar.gz -> simplejson-3.17.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/CHANGES.txt
new/simplejson-3.17.3/CHANGES.txt
--- old/simplejson-3.17.2/CHANGES.txt 2020-07-16 20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/CHANGES.txt 2021-07-10 01:45:59.000000000 +0200
@@ -1,3 +1,9 @@
+Version 3.17.3 released 2021-07-09
+
+* Replaced Travis-CI and AppVeyor with Github Actions,
+ adding wheels for Python 3.9.
+ https://github.com/simplejson/simplejson/pull/283
+
Version 3.17.2 released 2020-07-16
* Added arm64 to build matrix and reintroduced
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/PKG-INFO
new/simplejson-3.17.3/PKG-INFO
--- old/simplejson-3.17.2/PKG-INFO 2020-07-16 20:06:20.291594300 +0200
+++ new/simplejson-3.17.3/PKG-INFO 2021-07-10 01:46:02.285155300 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: simplejson
-Version: 3.17.2
+Version: 3.17.3
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Home-page: https://github.com/simplejson/simplejson
Author: Bob Ippolito
@@ -9,12 +9,6 @@
Description: simplejson
----------
- .. image::
https://travis-ci.org/simplejson/simplejson.svg?branch=master
- :target: https://travis-ci.org/simplejson/simplejson
-
- .. image::
https://ci.appveyor.com/api/projects/status/3riqhss6vca680gi/branch/master?svg=true
- :target:
https://ci.appveyor.com/project/etrepum/simplejson/branch/master
-
simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 3.3+
with legacy support for Python 2.5+. It is pure Python code
@@ -63,6 +57,8 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/README.rst
new/simplejson-3.17.3/README.rst
--- old/simplejson-3.17.2/README.rst 2020-07-16 20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/README.rst 2021-07-10 01:45:59.000000000 +0200
@@ -1,12 +1,6 @@
simplejson
----------
-.. image:: https://travis-ci.org/simplejson/simplejson.svg?branch=master
- :target: https://travis-ci.org/simplejson/simplejson
-
-.. image::
https://ci.appveyor.com/api/projects/status/3riqhss6vca680gi/branch/master?svg=true
- :target: https://ci.appveyor.com/project/etrepum/simplejson/branch/master
-
simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 3.3+
with legacy support for Python 2.5+. It is pure Python code
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/conf.py
new/simplejson-3.17.3/conf.py
--- old/simplejson-3.17.2/conf.py 2020-07-16 20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/conf.py 2021-07-10 01:45:59.000000000 +0200
@@ -36,7 +36,7 @@
# General substitutions.
project = 'simplejson'
-copyright = '2020, Bob Ippolito'
+copyright = '2021, Bob Ippolito'
# The default replacements for |version| and |release|, also used in various
# other places throughout the built documents.
@@ -44,7 +44,7 @@
# The short X.Y version.
version = '3.17'
# The full version, including alpha/beta/rc tags.
-release = '3.17.2'
+release = '3.17.3'
# 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.17.2/scripts/release.py
new/simplejson-3.17.3/scripts/release.py
--- old/simplejson-3.17.2/scripts/release.py 2020-07-16 20:03:17.000000000
+0200
+++ new/simplejson-3.17.3/scripts/release.py 1970-01-01 01:00:00.000000000
+0100
@@ -1,81 +0,0 @@
-#!/usr/bin/env python3
-from urllib.request import urlopen
-
-import json
-import os
-import subprocess
-import sys
-import getpass
-
-
-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['browser_download_url'],
'dist/{name}'.format(**asset))
-
-
-def get_version():
- return subprocess.check_output(
- [sys.executable, 'setup.py', '--version'],
- encoding='utf8'
- ).strip()
-
-
-def artifact_matcher(version):
- prefix = 'simplejson-{}'.format(version)
- def matches(fn):
- return (
- fn.startswith(prefix) and
- fn.endswith('.whl') and
- not fn.endswith('-none-any.whl')
- ) or fn == '{}.tar.gz'.format(prefix)
- return matches
-
-
-def upload_artifacts(version):
- artifacts = set(os.listdir('dist'))
- matches = artifact_matcher(version)
- args = ['twine', 'upload']
- for fn in artifacts:
- if matches(fn):
- args.append(os.path.join('dist', fn))
- subprocess.check_call(args)
-
-
-def main():
- try:
- os.makedirs('dist')
- except OSError:
- pass
- download_appveyor_artifacts()
- download_github_artifacts()
- upload_artifacts(get_version())
-
-
-if __name__ == '__main__':
- main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/setup.py
new/simplejson-3.17.3/setup.py
--- old/simplejson-3.17.2/setup.py 2020-07-16 20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/setup.py 2021-07-10 01:45:59.000000000 +0200
@@ -12,7 +12,7 @@
DistutilsPlatformError
IS_PYPY = hasattr(sys, 'pypy_translation_info')
-VERSION = '3.17.2'
+VERSION = '3.17.3'
DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python"
with open('README.rst', 'r') as f:
@@ -36,6 +36,8 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
@@ -116,7 +118,7 @@
try:
run_setup(not IS_PYPY)
except BuildFailed:
- if os.environ.get('REQUIRE_SPEEDUPS'):
+ if os.environ.get('REQUIRE_SPEEDUPS') or os.environ.get('CIBUILDWHEEL',
'0') == '1':
raise
BUILD_EXT_WARNING = ("WARNING: The C extension could not be compiled, "
"speedups are not enabled.")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/simplejson/__init__.py
new/simplejson-3.17.3/simplejson/__init__.py
--- old/simplejson-3.17.2/simplejson/__init__.py 2020-07-16
20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/simplejson/__init__.py 2021-07-10
01:45:59.000000000 +0200
@@ -118,7 +118,7 @@
"""
from __future__ import absolute_import
-__version__ = '3.17.2'
+__version__ = '3.17.3'
__all__ = [
'dump', 'dumps', 'load', 'loads',
'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
@@ -360,7 +360,7 @@
If specified, *item_sort_key* is a callable used to sort the items in
each dictionary. This is useful if you want to sort items other than
- in alphabetical order by key. This option takes precendence over
+ in alphabetical order by key. This option takes precedence over
*sort_keys*.
If *sort_keys* is true (default: ``False``), the output of dictionaries
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/simplejson/tests/__init__.py
new/simplejson-3.17.3/simplejson/tests/__init__.py
--- old/simplejson-3.17.2/simplejson/tests/__init__.py 2020-07-16
20:03:17.000000000 +0200
+++ new/simplejson-3.17.3/simplejson/tests/__init__.py 2021-07-10
01:45:59.000000000 +0200
@@ -7,6 +7,7 @@
class NoExtensionTestSuite(unittest.TestSuite):
def run(self, result):
import simplejson
+
simplejson._toggle_speedups(False)
result = unittest.TestSuite.run(self, result)
simplejson._toggle_speedups(True)
@@ -15,16 +16,17 @@
class TestMissingSpeedups(unittest.TestCase):
def runTest(self):
- if hasattr(sys, 'pypy_translation_info'):
+ if hasattr(sys, "pypy_translation_info"):
"PyPy doesn't need speedups! :)"
- elif hasattr(self, 'skipTest'):
- self.skipTest('_speedups.so is missing!')
+ elif hasattr(self, "skipTest"):
+ self.skipTest("_speedups.so is missing!")
-def additional_tests(suite=None):
+def additional_tests(suite=None, project_dir=None):
import simplejson
import simplejson.encoder
import simplejson.decoder
+
if suite is None:
suite = unittest.TestSuite()
try:
@@ -36,39 +38,54 @@
raise
for mod in (simplejson, simplejson.encoder, simplejson.decoder):
suite.addTest(doctest.DocTestSuite(mod))
- suite.addTest(doctest.DocFileSuite('../../index.rst'))
+ if project_dir is not None:
+ suite.addTest(
+ doctest.DocFileSuite(
+ os.path.join(project_dir, "index.rst"), module_relative=False
+ )
+ )
return suite
-def all_tests_suite():
+def all_tests_suite(project_dir=None):
def get_suite():
suite_names = [
- 'simplejson.tests.%s' % (os.path.splitext(f)[0],)
+ "simplejson.tests.%s" % (os.path.splitext(f)[0],)
for f in os.listdir(os.path.dirname(__file__))
- if f.startswith('test_') and f.endswith('.py')
+ if f.startswith("test_") and f.endswith(".py")
]
return additional_tests(
- unittest.TestLoader().loadTestsFromNames(suite_names))
+ suite=unittest.TestLoader().loadTestsFromNames(suite_names),
+ project_dir=project_dir,
+ )
+
suite = get_suite()
import simplejson
+
if simplejson._import_c_make_encoder() is None:
suite.addTest(TestMissingSpeedups())
else:
- suite = unittest.TestSuite([
- suite,
- NoExtensionTestSuite([get_suite()]),
- ])
+ suite = unittest.TestSuite(
+ [
+ suite,
+ NoExtensionTestSuite([get_suite()]),
+ ]
+ )
return suite
-def main():
- runner = unittest.TextTestRunner(verbosity=1 + sys.argv.count('-v'))
- suite = all_tests_suite()
+def main(project_dir=None):
+ runner = unittest.TextTestRunner(verbosity=1 + sys.argv.count("-v"))
+ suite = all_tests_suite(project_dir=project_dir)
raise SystemExit(not runner.run(suite).wasSuccessful())
-if __name__ == '__main__':
+if __name__ == "__main__":
import os
import sys
- sys.path.insert(0,
os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
- main()
+
+ project_dir = os.path.dirname(
+ os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+ )
+ sys.path.insert(0, project_dir)
+ main(project_dir=project_dir)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/simplejson/tests/_cibw_runner.py
new/simplejson-3.17.3/simplejson/tests/_cibw_runner.py
--- old/simplejson-3.17.2/simplejson/tests/_cibw_runner.py 1970-01-01
01:00:00.000000000 +0100
+++ new/simplejson-3.17.3/simplejson/tests/_cibw_runner.py 2021-07-10
01:45:59.000000000 +0200
@@ -0,0 +1,7 @@
+"""Internal module for running tests from cibuildwheel"""
+
+import sys
+import simplejson.tests
+
+if __name__ == '__main__':
+ simplejson.tests.main(project_dir=sys.argv[1])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/simplejson.egg-info/PKG-INFO
new/simplejson-3.17.3/simplejson.egg-info/PKG-INFO
--- old/simplejson-3.17.2/simplejson.egg-info/PKG-INFO 2020-07-16
20:06:20.000000000 +0200
+++ new/simplejson-3.17.3/simplejson.egg-info/PKG-INFO 2021-07-10
01:46:01.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: simplejson
-Version: 3.17.2
+Version: 3.17.3
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Home-page: https://github.com/simplejson/simplejson
Author: Bob Ippolito
@@ -9,12 +9,6 @@
Description: simplejson
----------
- .. image::
https://travis-ci.org/simplejson/simplejson.svg?branch=master
- :target: https://travis-ci.org/simplejson/simplejson
-
- .. image::
https://ci.appveyor.com/api/projects/status/3riqhss6vca680gi/branch/master?svg=true
- :target:
https://ci.appveyor.com/project/etrepum/simplejson/branch/master
-
simplejson is a simple, fast, complete, correct and extensible
JSON <http://json.org> encoder and decoder for Python 3.3+
with legacy support for Python 2.5+. It is pure Python code
@@ -63,6 +57,8 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/simplejson-3.17.2/simplejson.egg-info/SOURCES.txt
new/simplejson-3.17.3/simplejson.egg-info/SOURCES.txt
--- old/simplejson-3.17.2/simplejson.egg-info/SOURCES.txt 2020-07-16
20:06:20.000000000 +0200
+++ new/simplejson-3.17.3/simplejson.egg-info/SOURCES.txt 2021-07-10
01:46:02.000000000 +0200
@@ -6,7 +6,6 @@
index.rst
setup.py
scripts/make_docs.py
-scripts/release.py
simplejson/__init__.py
simplejson/_speedups.c
simplejson/compat.py
@@ -22,6 +21,7 @@
simplejson.egg-info/dependency_links.txt
simplejson.egg-info/top_level.txt
simplejson/tests/__init__.py
+simplejson/tests/_cibw_runner.py
simplejson/tests/test_bigint_as_string.py
simplejson/tests/test_bitsize_int_as_string.py
simplejson/tests/test_check_circular.py