Hello community, here is the log from the commit of package python-crumbs for openSUSE:Factory checked in at 2020-08-07 14:10:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-crumbs (Old) and /work/SRC/openSUSE:Factory/.python-crumbs.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-crumbs" Fri Aug 7 14:10:32 2020 rev:3 rq:824722 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-crumbs/python-crumbs.changes 2018-12-13 19:42:07.953193806 +0100 +++ /work/SRC/openSUSE:Factory/.python-crumbs.new.3399/python-crumbs.changes 2020-08-07 14:11:24.886156114 +0200 @@ -1,0 +2,7 @@ +Thu Aug 6 13:39:09 UTC 2020 - Matej Cepl <[email protected]> + +- Update to 2.1.1: + - Mostly cosmetical fixes and bugfixes +- Remove BR of nose, we don't run tests anyway. + +------------------------------------------------------------------- Old: ---- crumbs-2.1.0.tar.gz New: ---- crumbs-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-crumbs.spec ++++++ --- /var/tmp/diff_new_pack.iawXvG/_old 2020-08-07 14:11:37.922157584 +0200 +++ /var/tmp/diff_new_pack.iawXvG/_new 2020-08-07 14:11:37.922157584 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-crumbs # -# Copyright (c) 2018 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 @@ -17,27 +17,25 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -# Tests are executable-dependent -%bcond_with test +%define modname crumbs Name: python-crumbs -Version: 2.1.0 +Version: 2.1.1 Release: 0 Summary: Generalized all-in-one parameters module License: MIT Group: Development/Languages/Python -Url: https://github.com/alunduil/crumbs -Source: https://files.pythonhosted.org/packages/source/c/crumbs/crumbs-%{version}.tar.gz +URL: https://github.com/alunduil/crumbs +Source: https://github.com/alunduil/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Suggests: python-pyinotify +BuildArch: noarch %if %{with test} BuildRequires: %{python_module coverage} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pyinotify} +BuildRequires: %{python_module pytest} %endif -Suggests: python-pyinotify -BuildArch: noarch - %python_subpackages %description @@ -52,6 +50,7 @@ %prep %setup -q -n crumbs-%{version} +%autopatch -p1 %build %python_build @@ -63,13 +62,11 @@ # we will put this in the right place ourselves rm -rf %{buildroot}/%{_datadir}/doc/crumbs-* -%if %{with test} %check -%python_expand nosetests-%{$python_bin_suffix} -%endif +# Tests are all broken, but they were even before so not a regression +# %%pytest %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE %{python_sitelib}/* ++++++ crumbs-2.1.0.tar.gz -> crumbs-2.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/.travis.yml new/crumbs-2.1.1/.travis.yml --- old/crumbs-2.1.0/.travis.yml 2015-11-25 15:51:05.000000000 +0100 +++ new/crumbs-2.1.1/.travis.yml 2018-09-30 17:50:52.000000000 +0200 @@ -1,10 +1,8 @@ language: python python: - - 2.6 - 2.7 - - 3.3 - - 3.4 - 3.5 + - 3.6 matrix: fast_finish: true sudo: false @@ -14,6 +12,15 @@ - "[[ ${TRAVIS_PYTHON_VERSION} == 2.6 ]] && pip install -q unittest2 || true" script: - "pip install -qU --compile ." - - "SPHINXOPTS='-n -W' make -eC docs html" + - "make -eC docs html" - "flake8" - "nosetests" + +deploy: + provider: pypi + user: "alunduil" + password: + secure: Kcsqc4VJM2uzhwd2xw3uByM0zLibN03Aq/lRMvcNSJbdwfL7Mfz9RaO6hMzfQYrcndO4MH8iYZxVbnh+xQSo52PBCIBeitbcwmdco6BWRF0Y9APo+t1koJ8fw+Zms4Tb+B4lMeYXoil5+hySv5sVlbAUaZyMgm+cm5ccennyTsxcrV3rU8JG0jND9WonXcvVWuV2LnLM8+FAdb5Habbfbus98KQTQjj4Acsq2xuoWq5i8DYAVteMe7j/Oazpb4/BXoyK7/bNLnzZ3wM/E9gzb6ZZy6gkd36T7s691BVDCMmLnIJpwRxBq4H+4DeM0SigzqpItk0Sunnw2wI/C44/q9LA6h3VOKEQAGkLALV5c6pq61TxvO7Sw2e7hoLSZk5F3abHYh6Ka6NivMfoQldCOIo46HdUOetEQEeHvrzRHsi6sVRtiKddgBZQMB0ULmSy9AFNa4HVU9JSPa5+Z0e+smrykQmpwj0GzWPW2s4Y4uc/qnNCCoO1ZS+8+Qfjvy2R1H/y0lRnmusnalbvZc8hShRSWKhpXe7WWMOJMaQ0a0xebM+RmmKdFrhtDUf8iDwoXfbBh+FDhKhoBsEolB9C+CXZZ4JPhR12Rww1t2qOS3EfM28kNGPidHrMLEEmcC0B7XD4Kz6ZlO83MXumTxvyHJ9i6D9VoCIwgZNSamkZi68= + on: + tags: true + python: "3.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/PKG-INFO new/crumbs-2.1.1/PKG-INFO --- old/crumbs-2.1.0/PKG-INFO 2015-11-25 16:25:20.000000000 +0100 +++ new/crumbs-2.1.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ -Metadata-Version: 1.1 -Name: crumbs -Version: 2.1.0 -Summary: Generalized all-in-one parameters module. -Home-page: https://github.com/alunduil/crumbs -Author: Alex Brandt -Author-email: [email protected] -License: MIT -Description: Description - =========== - - Generalized all-in-one parameters module. - - This package provides a single interface to environment variables', - configuration files', and command line arguments' provided values. The - dictionary-like interface makes interacting with these, most of the time - disparate, resources much simpler. It also allows parameters' values to be set - in any of the three sources and selects an appropriate value when a parameter's - value is specified in multiple sources. This way the most expected value, - according to the normal prcedence—command line arguments then configuration - files then environment variables, is always returned. - - Installation - ============ - - This package is stored in PyPI and can be installed the standard way:: - - pip install crumbs - - The latest release available is: - - .. image:: https://badge.fury.io/py/crumbs.png - :target: http://badge.fury.io/py/crumbs - - Using Crumbs - ============ - - Usage of this package is outlined in the documentation:: - - pydoc crumbs - - Developing Crumbs - ================= - - If you would prefer to clone this package directly from git or assist with - development, the URL is https://github.com/alunduil/crumbs. - - Crumbs is tested continuously by Travis-CI and running the tests is quite - simple:: - - flake8 - nosetests - - The current status of the build is: - - .. image:: https://secure.travis-ci.org/alunduil/crumbs.png?branch=master - :target: http://travis-ci.org/alunduil/crumbs - - Authors - ======= - - * Alex Brandt <[email protected]> - * Greg Swift <[email protected]> - - Known Issues - ============ - - Known issues can be found in the github issue list at - https://github.com/alunduil/crumbs/issues. - - Troubleshooting - =============== - - If you need to troubleshoot an issue or submit information in a bug report, we - recommend obtaining the following pieces of information: - - * output with debug logging turned on in your application - * any relevant stack traces - -Keywords: crumbs,parameters,configuration,environment,arguments -Platform: UNKNOWN -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Natural Language :: English -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 -Classifier: Programming Language :: Python :: 2.7 -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/README.rst new/crumbs-2.1.1/README.rst --- old/crumbs-2.1.0/README.rst 2015-11-25 15:50:50.000000000 +0100 +++ new/crumbs-2.1.1/README.rst 2018-09-30 17:50:52.000000000 +0200 @@ -1,70 +1,54 @@ Description -=========== +----------- Generalized all-in-one parameters module. -This package provides a single interface to environment variables', -configuration files', and command line arguments' provided values. The -dictionary-like interface makes interacting with these, most of the time -disparate, resources much simpler. It also allows parameters' values to be set -in any of the three sources and selects an appropriate value when a parameter's -value is specified in multiple sources. This way the most expected value, -according to the normal prcedence—command line arguments then configuration -files then environment variables, is always returned. - -Installation -============ - -This package is stored in PyPI and can be installed the standard way:: - - pip install crumbs - -The latest release available is: - -.. image:: https://badge.fury.io/py/crumbs.png - :target: http://badge.fury.io/py/crumbs - -Using Crumbs -============ - -Usage of this package is outlined in the documentation:: - - pydoc crumbs - -Developing Crumbs -================= - -If you would prefer to clone this package directly from git or assist with -development, the URL is https://github.com/alunduil/crumbs. - -Crumbs is tested continuously by Travis-CI and running the tests is quite -simple:: - - flake8 - nosetests - -The current status of the build is: - -.. image:: https://secure.travis-ci.org/alunduil/crumbs.png?branch=master - :target: http://travis-ci.org/alunduil/crumbs - -Authors -======= - -* Alex Brandt <[email protected]> -* Greg Swift <[email protected]> - -Known Issues -============ - -Known issues can be found in the github issue list at -https://github.com/alunduil/crumbs/issues. - -Troubleshooting -=============== - -If you need to troubleshoot an issue or submit information in a bug report, we -recommend obtaining the following pieces of information: - -* output with debug logging turned on in your application -* any relevant stack traces +This package provides a single interface to environment variables, +configuration files, and command line arguments. The dictionary-like interface +makes interacting with these disparate resources much simpler. It also allows +parameters' values to be set in any of the three sources and selects an +appropriate value when a parameter's value is specified in multiple sources. +This way the most expected value is always returned according to the following +prcedence: command line arguments then configuration files then environment +variables. + +I am providing code in the repository to you under an open source license. +Because this is my personal repository, the license you receive to my code is +from me and not my employer (Facebook). + +Getting Started +--------------- + +Usage of this package is outlined in the documentation_. + +Very simple example:: + + from crumbs import Parameters + + parameters = Parameters() + parameters.add_parameter(options=["--foo"]) + parameters.parse() + parameters["foo"] + +.. note:: + + ``add_parameter`` is only a slight modification on + ``argparse.ArgumetParser.add_argument``. The major difference is all + positional arguments to ``argparse``'s version are handled by the ``options`` + argument in ours. + +Reporting Issues +---------------- + +Any issues discovered should be recorded on Github_. If you believe you've +found an error or have a suggestion for a new feature, please ensure that it is +reported. + +If you would like to contribute a fix or new feature, please submit a pull +request. This project follows `git flow`_ and utilizes travis_ to +automatically check pull requests before a manual review. + +.. _documentation: https://crumbs.readthedocs.io/en/latest/ +.. _git flow: http://nvie.com/posts/a-successful-git-branching-model/ +.. _Github: https://github.com/alunduil/zfs-replicate +.. _travis: https://travis-ci.org/alunduil/crumbs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs/__init__.py new/crumbs-2.1.1/crumbs/__init__.py --- old/crumbs-2.1.0/crumbs/__init__.py 2015-11-25 16:20:18.000000000 +0100 +++ new/crumbs-2.1.1/crumbs/__init__.py 2018-09-30 17:50:52.000000000 +0200 @@ -37,7 +37,7 @@ logger.propagate = False try: logger.addHandler(logging.NullHandler()) -except: +except: # noqa: E722 class NullHandler(logging.Handler): def emit(self, record): pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs/information.py new/crumbs-2.1.1/crumbs/information.py --- old/crumbs-2.1.0/crumbs/information.py 2015-11-25 16:12:44.000000000 +0100 +++ new/crumbs-2.1.1/crumbs/information.py 2018-09-30 17:50:52.000000000 +0200 @@ -4,7 +4,7 @@ # See COPYING or http://www.opensource.org/licenses/mit-license.php. NAME = 'crumbs' -VERSION = '2.1.0' +VERSION = '2.1.1' DESCRIPTION = 'Generalized all-in-one parameters module.' AUTHOR = 'Alex Brandt' AUTHOR_EMAIL = '[email protected]' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/PKG-INFO new/crumbs-2.1.1/crumbs.egg-info/PKG-INFO --- old/crumbs-2.1.0/crumbs.egg-info/PKG-INFO 2015-11-25 16:25:19.000000000 +0100 +++ new/crumbs-2.1.1/crumbs.egg-info/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,96 +0,0 @@ -Metadata-Version: 1.1 -Name: crumbs -Version: 2.1.0 -Summary: Generalized all-in-one parameters module. -Home-page: https://github.com/alunduil/crumbs -Author: Alex Brandt -Author-email: [email protected] -License: MIT -Description: Description - =========== - - Generalized all-in-one parameters module. - - This package provides a single interface to environment variables', - configuration files', and command line arguments' provided values. The - dictionary-like interface makes interacting with these, most of the time - disparate, resources much simpler. It also allows parameters' values to be set - in any of the three sources and selects an appropriate value when a parameter's - value is specified in multiple sources. This way the most expected value, - according to the normal prcedence—command line arguments then configuration - files then environment variables, is always returned. - - Installation - ============ - - This package is stored in PyPI and can be installed the standard way:: - - pip install crumbs - - The latest release available is: - - .. image:: https://badge.fury.io/py/crumbs.png - :target: http://badge.fury.io/py/crumbs - - Using Crumbs - ============ - - Usage of this package is outlined in the documentation:: - - pydoc crumbs - - Developing Crumbs - ================= - - If you would prefer to clone this package directly from git or assist with - development, the URL is https://github.com/alunduil/crumbs. - - Crumbs is tested continuously by Travis-CI and running the tests is quite - simple:: - - flake8 - nosetests - - The current status of the build is: - - .. image:: https://secure.travis-ci.org/alunduil/crumbs.png?branch=master - :target: http://travis-ci.org/alunduil/crumbs - - Authors - ======= - - * Alex Brandt <[email protected]> - * Greg Swift <[email protected]> - - Known Issues - ============ - - Known issues can be found in the github issue list at - https://github.com/alunduil/crumbs/issues. - - Troubleshooting - =============== - - If you need to troubleshoot an issue or submit information in a bug report, we - recommend obtaining the following pieces of information: - - * output with debug logging turned on in your application - * any relevant stack traces - -Keywords: crumbs,parameters,configuration,environment,arguments -Platform: UNKNOWN -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Natural Language :: English -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.6 -Classifier: Programming Language :: Python :: 2.7 -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.3 -Classifier: Programming Language :: Python :: 3.4 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Topic :: Software Development :: Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/SOURCES.txt new/crumbs-2.1.1/crumbs.egg-info/SOURCES.txt --- old/crumbs-2.1.0/crumbs.egg-info/SOURCES.txt 2015-11-25 16:25:19.000000000 +0100 +++ new/crumbs-2.1.1/crumbs.egg-info/SOURCES.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,28 +0,0 @@ -.gitignore -.travis.yml -LICENSE -MANIFEST.in -README.rst -nose.cfg -setup.cfg -setup.py -crumbs/__init__.py -crumbs/information.py -crumbs.egg-info/PKG-INFO -crumbs.egg-info/SOURCES.txt -crumbs.egg-info/dependency_links.txt -crumbs.egg-info/pbr.json -crumbs.egg-info/requires.txt -crumbs.egg-info/top_level.txt -docs/.gitignore -docs/Makefile -docs/conf.py -docs/getting_started.rst -docs/index.rst -docs/parameters.rst -docs/_static/.keep -test_crumbs/__init__.py -test_crumbs/test_common.py -test_crumbs/test_fixtures.py -test_crumbs/test_functional.py -test_crumbs/test_unit.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/dependency_links.txt new/crumbs-2.1.1/crumbs.egg-info/dependency_links.txt --- old/crumbs-2.1.0/crumbs.egg-info/dependency_links.txt 2015-11-25 16:25:19.000000000 +0100 +++ new/crumbs-2.1.1/crumbs.egg-info/dependency_links.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/pbr.json new/crumbs-2.1.1/crumbs.egg-info/pbr.json --- old/crumbs-2.1.0/crumbs.egg-info/pbr.json 2015-09-06 21:36:43.000000000 +0200 +++ new/crumbs-2.1.1/crumbs.egg-info/pbr.json 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -{"git_version": "158b00a", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/requires.txt new/crumbs-2.1.1/crumbs.egg-info/requires.txt --- old/crumbs-2.1.0/crumbs.egg-info/requires.txt 2015-11-25 16:25:19.000000000 +0100 +++ new/crumbs-2.1.1/crumbs.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ - -[inotify] -pyinotify diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/crumbs.egg-info/top_level.txt new/crumbs-2.1.1/crumbs.egg-info/top_level.txt --- old/crumbs-2.1.0/crumbs.egg-info/top_level.txt 2015-11-25 16:25:19.000000000 +0100 +++ new/crumbs-2.1.1/crumbs.egg-info/top_level.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -crumbs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crumbs-2.1.0/setup.cfg new/crumbs-2.1.1/setup.cfg --- old/crumbs-2.1.0/setup.cfg 2015-11-25 16:25:20.000000000 +0100 +++ new/crumbs-2.1.1/setup.cfg 2018-09-30 17:50:52.000000000 +0200 @@ -12,9 +12,3 @@ [nosetests] config = nose.cfg - -[egg_info] -tag_build = -tag_svn_revision = 0 -tag_date = 0 -
