commit python-hiredis for openSUSE:Factory
Hello community, here is the log from the commit of package python-hiredis for openSUSE:Factory checked in at 2020-01-16 18:22:35 Comparing /work/SRC/openSUSE:Factory/python-hiredis (Old) and /work/SRC/openSUSE:Factory/.python-hiredis.new.26092 (New) Package is "python-hiredis" Thu Jan 16 18:22:35 2020 rev:4 rq:764900 version:1.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-hiredis/python-hiredis.changes 2019-09-23 12:32:35.321657627 +0200 +++ /work/SRC/openSUSE:Factory/.python-hiredis.new.26092/python-hiredis.changes 2020-01-16 18:22:43.489025178 +0100 @@ -1,0 +2,8 @@ +Thu Jan 16 08:54:49 UTC 2020 - Tomáš Chvátal + +- Update to 1.0.1: + * Permit all allowed values of codec errors (see #86) + * BUGFIX: READEME.md has UTF-8 characters, setup.py will fail on systems where the locale is not UTF-8. (see #89) +- Drop merged patch 0002-Fix-README.md-has-unicode.patch + +--- Old: 0002-Fix-README.md-has-unicode.patch v1.0.0.tar.gz New: v1.0.1.tar.gz Other differences: -- ++ python-hiredis.spec ++ --- /var/tmp/diff_new_pack.ZiHQnB/_old 2020-01-16 18:22:45.141026112 +0100 +++ /var/tmp/diff_new_pack.ZiHQnB/_new 2020-01-16 18:22:45.145026114 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-hiredis # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,17 +18,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hiredis -Version:1.0.0 +Version:1.0.1 Release:0 Summary:Python wrapper for hiredis License:BSD-3-Clause -Group: Development/Languages/Python URL:https://github.com/redis/hiredis-py Source: https://github.com/redis/hiredis-py/archive/v%{version}.tar.gz Patch0: 0001-Use-system-libhiredis.patch Patch1: fix_build_dir_in_tests.patch Patch2: drop-vendor-sources.patch -Patch3: 0002-Fix-README.md-has-unicode.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++ v1.0.0.tar.gz -> v1.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hiredis-py-1.0.0/CHANGELOG.md new/hiredis-py-1.0.1/CHANGELOG.md --- old/hiredis-py-1.0.0/CHANGELOG.md 2019-01-20 08:39:27.0 +0100 +++ new/hiredis-py-1.0.1/CHANGELOG.md 2019-11-13 11:31:27.0 +0100 @@ -1,3 +1,9 @@ +### 1.0.1 (2019-11-13) + +* Permit all allowed values of codec errors (see #86) +* BUGFIX: READEME.md has UTF-8 characters, setup.py will fail on systems + where the locale is not UTF-8. (see #89) + ### 1.0.0 (2019-01-20) * **(BREAKING CHANGE)** Add ability to control how unicode decoding errors are handled (see #82) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hiredis-py-1.0.0/hiredis/version.py new/hiredis-py-1.0.1/hiredis/version.py --- old/hiredis-py-1.0.0/hiredis/version.py 2019-01-20 08:39:27.0 +0100 +++ new/hiredis-py-1.0.1/hiredis/version.py 2019-11-13 11:31:27.0 +0100 @@ -1 +1 @@ -__version__ = "1.0.0" +__version__ = "1.0.1" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hiredis-py-1.0.0/setup.py new/hiredis-py-1.0.1/setup.py --- old/hiredis-py-1.0.0/setup.py 2019-01-20 08:39:27.0 +0100 +++ new/hiredis-py-1.0.1/setup.py 2019-11-13 11:31:27.0 +0100 @@ -4,7 +4,7 @@ from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension -import sys, imp, os, glob +import sys, imp, os, glob, io def version(): module = imp.load_source("hiredis.version", "hiredis/version.py") @@ -19,7 +19,7 @@ name="hiredis", version=version(), description="Python wrapper for hiredis", - long_description=open('README.md', 'r').read(), + long_description=io.open('README.md', 'rt', encoding='utf-8').read(), long_description_content_type='text/markdown', url="https://github.com/redis/hiredis-py";, author="Jan-Erik Rediger, Pieter Noordhuis", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hiredis-py-1.0.0/src/reader.c new/hiredis-py-1.0.1/src/reader.c --- old/hiredis-py-1.0.0/src/reader.c 2019-01-20 08:39:27.0 +0100 +++ new/hiredis-py-1.0.1/src/reader.c 2019-11-13 11:31:27.0 +0100 @@ -209,17 +209,16 @@ return -1; self->encoding
commit python-hiredis for openSUSE:Factory
Hello community, here is the log from the commit of package python-hiredis for openSUSE:Factory checked in at 2019-09-23 12:32:26 Comparing /work/SRC/openSUSE:Factory/python-hiredis (Old) and /work/SRC/openSUSE:Factory/.python-hiredis.new.7948 (New) Package is "python-hiredis" Mon Sep 23 12:32:26 2019 rev:3 rq:731648 version:1.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-hiredis/python-hiredis.changes 2019-08-27 10:27:22.971914451 +0200 +++ /work/SRC/openSUSE:Factory/.python-hiredis.new.7948/python-hiredis.changes 2019-09-23 12:32:35.321657627 +0200 @@ -1,0 +2,6 @@ +Tue Sep 17 21:45:19 UTC 2019 - Matthias Fehring + +- Added patch 0002-Fix-README.md-has-unicode.patch + * wrong encoding is used when opening README.md in setup.py + +--- New: 0002-Fix-README.md-has-unicode.patch Other differences: -- ++ python-hiredis.spec ++ --- /var/tmp/diff_new_pack.cfkzfC/_old 2019-09-23 12:32:36.921657364 +0200 +++ /var/tmp/diff_new_pack.cfkzfC/_new 2019-09-23 12:32:36.921657364 +0200 @@ -28,6 +28,7 @@ Patch0: 0001-Use-system-libhiredis.patch Patch1: fix_build_dir_in_tests.patch Patch2: drop-vendor-sources.patch +Patch3: 0002-Fix-README.md-has-unicode.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++ 0002-Fix-README.md-has-unicode.patch ++ From: Matthias Fehring Date: 2019-09-17 23:42:00 +0200 Subject: README.md has unicode in it Upstream: merged (https://github.com/redis/hiredis-py/pull/89) When reading the description in setup.py the wrong encoding is selected for the text files. --- setup.py |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index bc8a95c..7ec9a5b 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension -import sys, imp, os, glob +import sys, imp, os, glob, io def version(): module = imp.load_source("hiredis.version", "hiredis/version.py") @@ -19,7 +19,7 @@ def version(): name="hiredis", version=version(), description="Python wrapper for hiredis", - long_description=open('README.md', 'r').read(), + long_description=io.open('README.md', 'rt', encoding='utf-8').read(), long_description_content_type='text/markdown', url="https://github.com/redis/hiredis-py";, author="Jan-Erik Rediger, Pieter Noordhuis",
commit python-hiredis for openSUSE:Factory
Hello community, here is the log from the commit of package python-hiredis for openSUSE:Factory checked in at 2019-08-27 10:27:21 Comparing /work/SRC/openSUSE:Factory/python-hiredis (Old) and /work/SRC/openSUSE:Factory/.python-hiredis.new.7948 (New) Package is "python-hiredis" Tue Aug 27 10:27:21 2019 rev:2 rq:726269 version:1.0.0 Changes: --- /work/SRC/openSUSE:Factory/python-hiredis/python-hiredis.changes 2018-08-31 10:46:44.611369390 +0200 +++ /work/SRC/openSUSE:Factory/.python-hiredis.new.7948/python-hiredis.changes 2019-08-27 10:27:22.971914451 +0200 @@ -1,0 +2,16 @@ +Mon Aug 26 11:43:18 UTC 2019 - Marketa Calabkova + +- Update to 1.0.0 + * (BREAKING CHANGE) Add ability to control how unicode decoding +errors are handled + * Removed support for EOL Python 2.6, 3.2, and 3.3. + * Upgrade hiredis to 0.13.3 + * Fix non-utf8 reply parsing causing segmentation fault in Python 3 + * Expose len method to retrieve the buffer length + * Fix crash when custom exception raise error (on init) + * Sort list of source files to allow reproducible building +- Drop obsolete patch reproducible-build.patch +- Added patch drop-vendor-sources.patch + * the vendor directory appears empty + +--- Old: reproducible-build.patch v0.2.0.tar.gz New: drop-vendor-sources.patch v1.0.0.tar.gz Other differences: -- ++ python-hiredis.spec ++ --- /var/tmp/diff_new_pack.egE8u9/_old 2019-08-27 10:27:24.375914346 +0200 +++ /var/tmp/diff_new_pack.egE8u9/_new 2019-08-27 10:27:24.379914347 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-hiredis # -# 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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hiredis -Version:0.2.0 +Version:1.0.0 Release:0 Summary:Python wrapper for hiredis License:BSD-3-Clause @@ -26,12 +26,12 @@ URL:https://github.com/redis/hiredis-py Source: https://github.com/redis/hiredis-py/archive/v%{version}.tar.gz Patch0: 0001-Use-system-libhiredis.patch -Patch1: reproducible-build.patch -Patch2: fix_build_dir_in_tests.patch +Patch1: fix_build_dir_in_tests.patch +Patch2: drop-vendor-sources.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: hiredis-devel +BuildRequires: hiredis-devel >= 0.13.3 BuildRequires: python-rpm-macros %python_subpackages ++ 0001-Use-system-libhiredis.patch ++ --- /var/tmp/diff_new_pack.egE8u9/_old 2019-08-27 10:27:24.391914346 +0200 +++ /var/tmp/diff_new_pack.egE8u9/_new 2019-08-27 10:27:24.391914346 +0200 @@ -12,33 +12,17 @@ setup.py | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) -diff --git a/setup.py b/setup.py -index 9eab077..ed74eb8 100755 a/setup.py -+++ b/setup.py -@@ -45,7 +45,8 @@ lib = ("hiredis_for_hiredis_py", { - +Index: hiredis-py-1.0.0/setup.py +=== +--- hiredis-py-1.0.0.orig/setup.py hiredis-py-1.0.0/setup.py +@@ -13,7 +13,8 @@ def version(): ext = Extension("hiredis.hiredis", - sources=glob.glob("src/*.c"), + sources=sorted(glob.glob("src/*.c") + + ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]), - include_dirs=["vendor"]) + include_dirs=["vendor"], + extra_link_args=["-lhiredis"]) setup( name="hiredis", -@@ -57,11 +58,13 @@ setup( - keywords=["Redis"], - license="BSD", - packages=["hiredis"], -- libraries=[lib], -+ # Disabled in Debian, we use the system hiredis library -+ # libraries=[lib], - ext_modules=[ext], - - # Override "install_lib" command -- cmdclass={ "install_lib": install_lib }, -+ # Debian: disable and link against the system hiredis library -+ # cmdclass={ "install_lib": install_lib }, - - classifiers=[ - 'Development Status :: 5 - Production/Stable', ++ drop-vendor-sources.patch ++ Index: hiredis-py-1.0.0/setup.py === --- hiredis-py-1.0.0.orig/setup.py +++ hiredis-py-1.0.0/setup.p