Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-base58 for openSUSE:Factory checked in at 2021-11-21 23:52:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-base58 (Old) and /work/SRC/openSUSE:Factory/.python-base58.new.1895 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-base58" Sun Nov 21 23:52:17 2021 rev:5 rq:932777 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-base58/python-base58.changes 2021-10-16 22:47:46.512698743 +0200 +++ /work/SRC/openSUSE:Factory/.python-base58.new.1895/python-base58.changes 2021-11-21 23:52:46.786137325 +0100 @@ -1,0 +2,7 @@ +Wed Nov 3 10:05:51 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 2.1.1 + * Use github actions (@keis) + * Escape illegal special characters in error message (@hukkin) + +------------------------------------------------------------------- Old: ---- base58-2.1.0.tar.gz New: ---- base58-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-base58.spec ++++++ --- /var/tmp/diff_new_pack.bbAMgI/_old 2021-11-21 23:52:47.238135868 +0100 +++ /var/tmp/diff_new_pack.bbAMgI/_new 2021-11-21 23:52:47.238135868 +0100 @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-base58 -Version: 2.1.0 +Version: 2.1.1 Release: 0 Summary: Base58 and Base58Check implementation License: MIT ++++++ base58-2.1.0.tar.gz -> base58-2.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/PKG-INFO new/base58-2.1.1/PKG-INFO --- old/base58-2.1.0/PKG-INFO 2021-01-09 18:34:08.000000000 +0100 +++ new/base58-2.1.1/PKG-INFO 2021-10-31 00:12:08.793584000 +0200 @@ -1,71 +1,11 @@ Metadata-Version: 2.1 Name: base58 -Version: 2.1.0 +Version: 2.1.1 Summary: Base58 and Base58Check implementation. Home-page: https://github.com/keis/base58 Author: David Keijser Author-email: keij...@gmail.com License: MIT -Description: # base58 - - [![PyPI Version][pypi-image]](https://pypi.python.org/pypi?name=base58&:action=display) - [![PyPI Downloads][pypi-downloads-image]](https://pypi.python.org/pypi?name=base58&:action=display) - [![Build Status][travis-image]](https://travis-ci.org/keis/base58) - [![Coverage Status][coveralls-image]](https://coveralls.io/r/keis/base58?branch=master) - - Base58 and Base58Check implementation compatible with what is used by the - bitcoin network. Any other alternative alphabet (like the XRP one) can be used. - - Starting from version 2.0.0 **python2 is no longer supported** the 1.x series - will remain supported but no new features will be added. - - - ## Command line usage - - $ printf "hello world" | base58 - StV1DL6CwTryKyV - - $ printf "hello world" | base58 -c - 3vQB7B6MrGQZaxCuFg4oh - - $ printf "3vQB7B6MrGQZaxCuFg4oh" | base58 -dc - hello world - - $ printf "4vQB7B6MrGQZaxCuFg4oh" | base58 -dc - Invalid checksum - - - ## Module usage - - >>> import base58 - >>> base58.b58encode(b'hello world') - b'StV1DL6CwTryKyV' - >>> base58.b58decode(b'StV1DL6CwTryKyV') - b'hello world' - >>> base58.b58encode_check(b'hello world') - b'3vQB7B6MrGQZaxCuFg4oh' - >>> base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh') - b'hello world' - >>> base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh') - Traceback (most recent call last): - File "<stdin>", line 1, in <module> - File "base58.py", line 89, in b58decode_check - raise ValueError("Invalid checksum") - ValueError: Invalid checksum - # Use another alphabet. Here, using the built-in XRP/Ripple alphabet. - # RIPPLE_ALPHABET is provided as an option for compatibility with existing code - # It is recommended to use XRP_ALPHABET instead - >>> base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET) - b'StVrDLaUATiyKyV' - >>> base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET) - b'hello world' - - - [pypi-image]: https://img.shields.io/pypi/v/base58.svg?style=flat - [pypi-downloads-image]: https://img.shields.io/pypi/dm/base58.svg?style=flat - [travis-image]: https://img.shields.io/travis/keis/base58.svg?style=flat - [coveralls-image]: https://img.shields.io/coveralls/keis/base58.svg?style=flat - Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers @@ -75,3 +15,66 @@ Requires-Python: >=3.5 Description-Content-Type: text/markdown Provides-Extra: tests +License-File: COPYING + +# base58 + +[![PyPI Version][pypi-image]](https://pypi.python.org/pypi?name=base58&:action=display) +[![PyPI Downloads][pypi-downloads-image]](https://pypi.python.org/pypi?name=base58&:action=display) +[![Build Status][travis-image]](https://travis-ci.org/keis/base58) +[![Coverage Status][coveralls-image]](https://coveralls.io/r/keis/base58?branch=master) + +Base58 and Base58Check implementation compatible with what is used by the +bitcoin network. Any other alternative alphabet (like the XRP one) can be used. + +Starting from version 2.0.0 **python2 is no longer supported** the 1.x series +will remain supported but no new features will be added. + + +## Command line usage + + $ printf "hello world" | base58 + StV1DL6CwTryKyV + + $ printf "hello world" | base58 -c + 3vQB7B6MrGQZaxCuFg4oh + + $ printf "3vQB7B6MrGQZaxCuFg4oh" | base58 -dc + hello world + + $ printf "4vQB7B6MrGQZaxCuFg4oh" | base58 -dc + Invalid checksum + + +## Module usage + + >>> import base58 + >>> base58.b58encode(b'hello world') + b'StV1DL6CwTryKyV' + >>> base58.b58decode(b'StV1DL6CwTryKyV') + b'hello world' + >>> base58.b58encode_check(b'hello world') + b'3vQB7B6MrGQZaxCuFg4oh' + >>> base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh') + b'hello world' + >>> base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh') + Traceback (most recent call last): + File "<stdin>", line 1, in <module> + File "base58.py", line 89, in b58decode_check + raise ValueError("Invalid checksum") + ValueError: Invalid checksum + # Use another alphabet. Here, using the built-in XRP/Ripple alphabet. + # RIPPLE_ALPHABET is provided as an option for compatibility with existing code + # It is recommended to use XRP_ALPHABET instead + >>> base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET) + b'StVrDLaUATiyKyV' + >>> base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET) + b'hello world' + + +[pypi-image]: https://img.shields.io/pypi/v/base58.svg?style=flat +[pypi-downloads-image]: https://img.shields.io/pypi/dm/base58.svg?style=flat +[travis-image]: https://img.shields.io/travis/keis/base58.svg?style=flat +[coveralls-image]: https://img.shields.io/coveralls/keis/base58.svg?style=flat + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/base58/__init__.py new/base58-2.1.1/base58/__init__.py --- old/base58-2.1.0/base58/__init__.py 2021-01-09 18:26:23.000000000 +0100 +++ new/base58-2.1.1/base58/__init__.py 2021-10-31 00:12:00.000000000 +0200 @@ -13,7 +13,7 @@ from hashlib import sha256 from typing import Mapping, Union -__version__ = '2.1.0' +__version__ = '2.1.1' # 58 character alphabet used BITCOIN_ALPHABET = \ @@ -102,7 +102,7 @@ decimal = decimal * base + map[char] except KeyError as e: raise ValueError( - "Invalid character <{char}>".format(char=chr(e.args[0])) + "Invalid character {!r}".format(chr(e.args[0])) ) from None return decimal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/base58.egg-info/PKG-INFO new/base58-2.1.1/base58.egg-info/PKG-INFO --- old/base58-2.1.0/base58.egg-info/PKG-INFO 2021-01-09 18:34:08.000000000 +0100 +++ new/base58-2.1.1/base58.egg-info/PKG-INFO 2021-10-31 00:12:08.000000000 +0200 @@ -1,71 +1,11 @@ Metadata-Version: 2.1 Name: base58 -Version: 2.1.0 +Version: 2.1.1 Summary: Base58 and Base58Check implementation. Home-page: https://github.com/keis/base58 Author: David Keijser Author-email: keij...@gmail.com License: MIT -Description: # base58 - - [![PyPI Version][pypi-image]](https://pypi.python.org/pypi?name=base58&:action=display) - [![PyPI Downloads][pypi-downloads-image]](https://pypi.python.org/pypi?name=base58&:action=display) - [![Build Status][travis-image]](https://travis-ci.org/keis/base58) - [![Coverage Status][coveralls-image]](https://coveralls.io/r/keis/base58?branch=master) - - Base58 and Base58Check implementation compatible with what is used by the - bitcoin network. Any other alternative alphabet (like the XRP one) can be used. - - Starting from version 2.0.0 **python2 is no longer supported** the 1.x series - will remain supported but no new features will be added. - - - ## Command line usage - - $ printf "hello world" | base58 - StV1DL6CwTryKyV - - $ printf "hello world" | base58 -c - 3vQB7B6MrGQZaxCuFg4oh - - $ printf "3vQB7B6MrGQZaxCuFg4oh" | base58 -dc - hello world - - $ printf "4vQB7B6MrGQZaxCuFg4oh" | base58 -dc - Invalid checksum - - - ## Module usage - - >>> import base58 - >>> base58.b58encode(b'hello world') - b'StV1DL6CwTryKyV' - >>> base58.b58decode(b'StV1DL6CwTryKyV') - b'hello world' - >>> base58.b58encode_check(b'hello world') - b'3vQB7B6MrGQZaxCuFg4oh' - >>> base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh') - b'hello world' - >>> base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh') - Traceback (most recent call last): - File "<stdin>", line 1, in <module> - File "base58.py", line 89, in b58decode_check - raise ValueError("Invalid checksum") - ValueError: Invalid checksum - # Use another alphabet. Here, using the built-in XRP/Ripple alphabet. - # RIPPLE_ALPHABET is provided as an option for compatibility with existing code - # It is recommended to use XRP_ALPHABET instead - >>> base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET) - b'StVrDLaUATiyKyV' - >>> base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET) - b'hello world' - - - [pypi-image]: https://img.shields.io/pypi/v/base58.svg?style=flat - [pypi-downloads-image]: https://img.shields.io/pypi/dm/base58.svg?style=flat - [travis-image]: https://img.shields.io/travis/keis/base58.svg?style=flat - [coveralls-image]: https://img.shields.io/coveralls/keis/base58.svg?style=flat - Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers @@ -75,3 +15,66 @@ Requires-Python: >=3.5 Description-Content-Type: text/markdown Provides-Extra: tests +License-File: COPYING + +# base58 + +[![PyPI Version][pypi-image]](https://pypi.python.org/pypi?name=base58&:action=display) +[![PyPI Downloads][pypi-downloads-image]](https://pypi.python.org/pypi?name=base58&:action=display) +[![Build Status][travis-image]](https://travis-ci.org/keis/base58) +[![Coverage Status][coveralls-image]](https://coveralls.io/r/keis/base58?branch=master) + +Base58 and Base58Check implementation compatible with what is used by the +bitcoin network. Any other alternative alphabet (like the XRP one) can be used. + +Starting from version 2.0.0 **python2 is no longer supported** the 1.x series +will remain supported but no new features will be added. + + +## Command line usage + + $ printf "hello world" | base58 + StV1DL6CwTryKyV + + $ printf "hello world" | base58 -c + 3vQB7B6MrGQZaxCuFg4oh + + $ printf "3vQB7B6MrGQZaxCuFg4oh" | base58 -dc + hello world + + $ printf "4vQB7B6MrGQZaxCuFg4oh" | base58 -dc + Invalid checksum + + +## Module usage + + >>> import base58 + >>> base58.b58encode(b'hello world') + b'StV1DL6CwTryKyV' + >>> base58.b58decode(b'StV1DL6CwTryKyV') + b'hello world' + >>> base58.b58encode_check(b'hello world') + b'3vQB7B6MrGQZaxCuFg4oh' + >>> base58.b58decode_check(b'3vQB7B6MrGQZaxCuFg4oh') + b'hello world' + >>> base58.b58decode_check(b'4vQB7B6MrGQZaxCuFg4oh') + Traceback (most recent call last): + File "<stdin>", line 1, in <module> + File "base58.py", line 89, in b58decode_check + raise ValueError("Invalid checksum") + ValueError: Invalid checksum + # Use another alphabet. Here, using the built-in XRP/Ripple alphabet. + # RIPPLE_ALPHABET is provided as an option for compatibility with existing code + # It is recommended to use XRP_ALPHABET instead + >>> base58.b58encode(b'hello world', alphabet=base58.XRP_ALPHABET) + b'StVrDLaUATiyKyV' + >>> base58.b58decode(b'StVrDLaUATiyKyV', alphabet=base58.XRP_ALPHABET) + b'hello world' + + +[pypi-image]: https://img.shields.io/pypi/v/base58.svg?style=flat +[pypi-downloads-image]: https://img.shields.io/pypi/dm/base58.svg?style=flat +[travis-image]: https://img.shields.io/travis/keis/base58.svg?style=flat +[coveralls-image]: https://img.shields.io/coveralls/keis/base58.svg?style=flat + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/base58.egg-info/requires.txt new/base58-2.1.1/base58.egg-info/requires.txt --- old/base58-2.1.0/base58.egg-info/requires.txt 2021-01-09 18:34:08.000000000 +0100 +++ new/base58-2.1.1/base58.egg-info/requires.txt 2021-10-31 00:12:08.000000000 +0200 @@ -1,8 +1,8 @@ [tests] -pytest>=4.6 -pytest-flake8 -pytest-cov +mypy PyHamcrest>=2.0.2 -coveralls +pytest>=4.6 pytest-benchmark +pytest-cov +pytest-flake8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/setup.cfg new/base58-2.1.1/setup.cfg --- old/base58-2.1.0/setup.cfg 2021-01-09 18:34:08.000000000 +0100 +++ new/base58-2.1.1/setup.cfg 2021-10-31 00:12:08.797584000 +0200 @@ -1,11 +1,11 @@ [bumpversion] -current_version = 2.1.0 +current_version = 2.1.1 [metadata] name = base58 author = David Keijser author_email = keij...@gmail.com -version = 2.1.0 +version = 2.1.1 description = Base58 and Base58Check implementation. long_description = file: README.md long_description_content_type = text/markdown @@ -32,12 +32,12 @@ [options.extras_require] tests = - pytest>=4.6 - pytest-flake8 - pytest-cov + mypy PyHamcrest>=2.0.2 - coveralls + pytest>=4.6 pytest-benchmark + pytest-cov + pytest-flake8 [bumpversion:file:setup.cfg] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/test_base45.py new/base58-2.1.1/test_base45.py --- old/base58-2.1.0/test_base45.py 2021-01-09 18:26:18.000000000 +0100 +++ new/base58-2.1.1/test_base45.py 2021-10-31 00:12:00.000000000 +0200 @@ -87,4 +87,4 @@ data = 'xyz0' # 0 is not part of the bitcoin base58 alphabet assert_that( calling(b58decode).with_args(data), - raises(ValueError, 'Invalid character <0>')) + raises(ValueError, "Invalid character '0'")) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/base58-2.1.0/test_base58.py new/base58-2.1.1/test_base58.py --- old/base58-2.1.0/test_base58.py 2021-01-09 18:26:18.000000000 +0100 +++ new/base58-2.1.1/test_base58.py 2021-10-31 00:12:00.000000000 +0200 @@ -128,10 +128,10 @@ def test_invalid_input(): - data = 'xyz0' # 0 is not part of the bitcoin base58 alphabet + data = 'xyz\b' # backspace is not part of the bitcoin base58 alphabet assert_that( calling(b58decode).with_args(data), - raises(ValueError, 'Invalid character <0>')) + raises(ValueError, "Invalid character '\\\\x08'")) @pytest.mark.parametrize('length', [8, 32, 256, 1024])