commit python-cfgv for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfgv for openSUSE:Factory checked in at 2020-08-05 20:28:25 Comparing /work/SRC/openSUSE:Factory/python-cfgv (Old) and /work/SRC/openSUSE:Factory/.python-cfgv.new.3592 (New) Package is "python-cfgv" Wed Aug 5 20:28:25 2020 rev:5 rq:824395 version:3.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-cfgv/python-cfgv.changes 2020-03-31 17:17:41.023720512 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfgv.new.3592/python-cfgv.changes 2020-08-05 20:28:35.939073562 +0200 @@ -1,0 +2,6 @@ +Wed Aug 5 01:05:34 UTC 2020 - Steve Kowalik + +- Update to 3.2.0: + * No upstream changelog + +--- Old: cfgv-3.1.0.tar.gz New: cfgv-3.2.0.tar.gz Other differences: -- ++ python-cfgv.spec ++ --- /var/tmp/diff_new_pack.X8Wcqo/_old 2020-08-05 20:28:37.535074395 +0200 +++ /var/tmp/diff_new_pack.X8Wcqo/_new 2020-08-05 20:28:37.535074395 +0200 @@ -19,11 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-cfgv -Version:3.1.0 +Version:3.2.0 Release:0 Summary:Configuration validator producing human readable error messages License:MIT -Group: Development/Languages/Python URL:https://github.com/asottile/cfgv Source: https://github.com/asottile/cfgv/archive/v%{version}.tar.gz#/cfgv-%{version}.tar.gz BuildRequires: %{python_module setuptools} ++ cfgv-3.1.0.tar.gz -> cfgv-3.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-3.1.0/.coveragerc new/cfgv-3.2.0/.coveragerc --- old/cfgv-3.1.0/.coveragerc 2020-02-25 00:53:07.0 +0100 +++ new/cfgv-3.2.0/.coveragerc 1970-01-01 01:00:00.0 +0100 @@ -1,33 +0,0 @@ -[run] -branch = True -source = -. -omit = -.tox/* -/usr/* -setup.py -# Don't complain if non-runnable code isn't run -*/__main__.py - -[report] -show_missing = True -skip_covered = True -exclude_lines = -# Have to re-enable the standard pragma -\#\s*pragma: no cover -# We optionally substitute this -${COVERAGE_IGNORE_WINDOWS} - -# Don't complain if tests don't hit defensive assertion code: -^\s*raise AssertionError\b -^\s*raise NotImplementedError\b -^\s*return NotImplemented\b -^\s*raise$ - -# Don't complain if non-runnable code isn't run: -^if __name__ == ['"]__main__['"]:$ - -[html] -directory = coverage-html - -# vim:ft=dosini diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-3.1.0/.pre-commit-config.yaml new/cfgv-3.2.0/.pre-commit-config.yaml --- old/cfgv-3.1.0/.pre-commit-config.yaml 2020-02-25 00:53:07.0 +0100 +++ new/cfgv-3.2.0/.pre-commit-config.yaml 2020-07-31 03:54:31.0 +0200 @@ -10,29 +10,29 @@ - id: name-tests-test - id: requirements-txt-fixer - repo: https://gitlab.com/pycqa/flake8 -rev: 3.7.9 +rev: 3.8.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-autopep8 -rev: v1.5 +rev: v1.5.2 hooks: - id: autopep8 - repo: https://github.com/asottile/reorder_python_imports -rev: v1.9.0 +rev: v2.3.0 hooks: - id: reorder-python-imports args: [--py3-plus] - repo: https://github.com/asottile/pyupgrade -rev: v1.26.2 +rev: v2.4.1 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/add-trailing-comma -rev: v1.5.0 +rev: v2.0.1 hooks: - id: add-trailing-comma args: [--py36-plus] - repo: https://github.com/asottile/setup-cfg-fmt -rev: v1.6.0 +rev: v1.9.0 hooks: - id: setup-cfg-fmt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-3.1.0/cfgv.py new/cfgv-3.2.0/cfgv.py --- old/cfgv-3.1.0/cfgv.py 2020-02-25 00:53:07.0 +0100 +++ new/cfgv-3.2.0/cfgv.py 2020-07-31 03:54:31.0 +0200 @@ -395,11 +395,14 @@ if not os.path.exists(filename): raise ValidationError(f'{filename} does not exist') -with open(filename, encoding='utf-8') as f: -contents = f.read() - with validate_context(f'File {filename}'): try: +with open(filename, encoding='utf-8') as f: +contents = f.read() +except UnicodeDecodeError as e: +raise ValidationError(str(e)) + +try: data = load_strategy(contents) except Exception as e:
commit python-cfgv for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfgv for openSUSE:Factory checked in at 2020-03-31 17:17:35 Comparing /work/SRC/openSUSE:Factory/python-cfgv (Old) and /work/SRC/openSUSE:Factory/.python-cfgv.new.3160 (New) Package is "python-cfgv" Tue Mar 31 17:17:35 2020 rev:4 rq:790114 version:3.1.0 Changes: --- /work/SRC/openSUSE:Factory/python-cfgv/python-cfgv.changes 2019-07-26 17:35:20.108065297 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfgv.new.3160/python-cfgv.changes 2020-03-31 17:17:41.023720512 +0200 @@ -1,0 +2,6 @@ +Mon Mar 30 13:55:49 UTC 2020 - Marketa Calabkova + +- update to version 3.1.0 + * cfgv: python3.6+ + +--- Old: cfgv-2.0.1.tar.gz New: cfgv-3.1.0.tar.gz Other differences: -- ++ python-cfgv.spec ++ --- /var/tmp/diff_new_pack.7908GC/_old 2020-03-31 17:17:42.067721175 +0200 +++ /var/tmp/diff_new_pack.7908GC/_new 2020-03-31 17:17:42.071721177 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-cfgv # -# 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 @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-cfgv -Version:2.0.1 +Version:3.1.0 Release:0 Summary:Configuration validator producing human readable error messages License:MIT @@ -28,12 +29,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module mock} -BuildRequires: %{python_module pytest-runner} -BuildRequires: %{python_module six} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -51,7 +49,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py pytest +%pytest %files %{python_files} %doc README.md ++ cfgv-2.0.1.tar.gz -> cfgv-3.1.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-2.0.1/.pre-commit-config.yaml new/cfgv-3.1.0/.pre-commit-config.yaml --- old/cfgv-2.0.1/.pre-commit-config.yaml 2019-07-21 16:23:55.0 +0200 +++ new/cfgv-3.1.0/.pre-commit-config.yaml 2020-02-25 00:53:07.0 +0100 @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks -rev: v2.1.0 +rev: v2.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -10,18 +10,29 @@ - id: name-tests-test - id: requirements-txt-fixer - repo: https://gitlab.com/pycqa/flake8 -rev: 3.7.7 +rev: 3.7.9 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-autopep8 -rev: v1.4.3 +rev: v1.5 hooks: - id: autopep8 - repo: https://github.com/asottile/reorder_python_imports -rev: v1.4.0 +rev: v1.9.0 hooks: - id: reorder-python-imports +args: [--py3-plus] +- repo: https://github.com/asottile/pyupgrade +rev: v1.26.2 +hooks: +- id: pyupgrade +args: [--py36-plus] - repo: https://github.com/asottile/add-trailing-comma -rev: v1.0.0 +rev: v1.5.0 hooks: - id: add-trailing-comma +args: [--py36-plus] +- repo: https://github.com/asottile/setup-cfg-fmt +rev: v1.6.0 +hooks: +- id: setup-cfg-fmt diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-2.0.1/azure-pipelines.yml new/cfgv-3.1.0/azure-pipelines.yml --- old/cfgv-2.0.1/azure-pipelines.yml 2019-07-21 16:23:55.0 +0200 +++ new/cfgv-3.1.0/azure-pipelines.yml 2020-02-25 00:53:07.0 +0100 @@ -10,11 +10,11 @@ type: github endpoint: github name: asottile/azure-pipeline-templates - ref: refs/tags/v0.0.16 + ref: refs/tags/v1.0.1 jobs: - template: job--pre-commit.yml@asottile - template: job--python-tox.yml@asottile parameters: -toxenvs: [pypy, pypy3, py27, py36, py37] +toxenvs: [pypy3, py36, py37, py38] os: linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-2.0.1/cfgv.py new/cfgv-3.1.0/cfgv.py --- old/cfgv-2.0.1/cfgv.py 2019-07-21 16:23:55.0 +0200 +++ new/cfgv-3.1.0/cfgv.py 2020-02-25 00:53:07.0 +0100 @@ -1,19 +1,13 @@ -from __future__ import absolute_import -from __future__ import unicode_literals - import
commit python-cfgv for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfgv for openSUSE:Factory checked in at 2019-07-26 17:35:17 Comparing /work/SRC/openSUSE:Factory/python-cfgv (Old) and /work/SRC/openSUSE:Factory/.python-cfgv.new.4126 (New) Package is "python-cfgv" Fri Jul 26 17:35:17 2019 rev:3 rq:718905 version:2.0.1 Changes: --- /work/SRC/openSUSE:Factory/python-cfgv/python-cfgv.changes 2019-04-11 12:15:58.096895088 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfgv.new.4126/python-cfgv.changes 2019-07-26 17:35:20.108065297 +0200 @@ -1,0 +2,6 @@ +Fri Jul 26 13:53:48 UTC 2019 - pgaj...@suse.com + +- update to version 2.0.1 + * no upstream changelog + +--- Old: cfgv-1.6.0.tar.gz New: cfgv-2.0.1.tar.gz Other differences: -- ++ python-cfgv.spec ++ --- /var/tmp/diff_new_pack.mJx5Sg/_old 2019-07-26 17:35:20.784065063 +0200 +++ /var/tmp/diff_new_pack.mJx5Sg/_new 2019-07-26 17:35:20.784065063 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-cfgv -Version:1.6.0 +Version:2.0.1 Release:0 Summary:Configuration validator producing human readable error messages License:MIT ++ cfgv-1.6.0.tar.gz -> cfgv-2.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-1.6.0/.travis.yml new/cfgv-2.0.1/.travis.yml --- old/cfgv-1.6.0/.travis.yml 2019-04-01 03:58:41.0 +0200 +++ new/cfgv-2.0.1/.travis.yml 1970-01-01 01:00:00.0 +0100 @@ -1,17 +0,0 @@ -language: python -matrix: -include: -- env: TOXENV=py27 -- env: TOXENV=py35 -python: 3.5 -- env: TOXENV=py36 -python: 3.6 -- env: TOXENV=pypy -python: pypy-5.7.1 -install: pip install coveralls tox -script: tox -after_success: coveralls -cache: -directories: -- $HOME/.cache/pip -- $HOME/.cache/pre-commit diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-1.6.0/MANIFEST.in new/cfgv-2.0.1/MANIFEST.in --- old/cfgv-1.6.0/MANIFEST.in 2019-04-01 03:58:41.0 +0200 +++ new/cfgv-2.0.1/MANIFEST.in 1970-01-01 01:00:00.0 +0100 @@ -1 +0,0 @@ -include LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-1.6.0/README.md new/cfgv-2.0.1/README.md --- old/cfgv-1.6.0/README.md2019-04-01 03:58:41.0 +0200 +++ new/cfgv-2.0.1/README.md2019-07-21 16:23:55.0 +0200 @@ -1,5 +1,5 @@ -[![Build Status](https://travis-ci.org/asottile/cfgv.svg?branch=master)](https://travis-ci.org/asottile/cfgv) -[![Coverage Status](https://coveralls.io/repos/github/asottile/cfgv/badge.svg?branch=master)](https://coveralls.io/github/asottile/cfgv?branch=master) +[![Build Status](https://dev.azure.com/asottile/asottile/_apis/build/status/asottile.cfgv?branchName=master)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=24=master) +[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/24/master.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=24=master) cfgv diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-1.6.0/azure-pipelines.yml new/cfgv-2.0.1/azure-pipelines.yml --- old/cfgv-1.6.0/azure-pipelines.yml 1970-01-01 01:00:00.0 +0100 +++ new/cfgv-2.0.1/azure-pipelines.yml 2019-07-21 16:23:55.0 +0200 @@ -0,0 +1,20 @@ +trigger: + branches: +include: [master, test-me-*] + tags: +include: ['*'] + +resources: + repositories: +- repository: asottile + type: github + endpoint: github + name: asottile/azure-pipeline-templates + ref: refs/tags/v0.0.16 + +jobs: +- template: job--pre-commit.yml@asottile +- template: job--python-tox.yml@asottile + parameters: +toxenvs: [pypy, pypy3, py27, py36, py37] +os: linux diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cfgv-1.6.0/cfgv.py new/cfgv-2.0.1/cfgv.py --- old/cfgv-1.6.0/cfgv.py 2019-04-01 03:58:41.0 +0200 +++ new/cfgv-2.0.1/cfgv.py 2019-07-21 16:23:55.0 +0200 @@ -165,7 +165,7 @@ def _warn_additional_keys_check(self, dct): extra = sorted(set(dct) - set(self.keys)) if extra: -self.callback(extra, self.keys) +self.callback(extra, self.keys, dct) Required = collections.namedtuple('Required', ('key', 'check_fn')) @@ -227,8 +227,7 @@ NoAdditionalKeys.apply_default = _dct_noop NoAdditionalKeys.remove_default = _dct_noop
commit python-cfgv for openSUSE:Factory
Hello community, here is the log from the commit of package python-cfgv for openSUSE:Factory checked in at 2019-04-11 12:15:55 Comparing /work/SRC/openSUSE:Factory/python-cfgv (Old) and /work/SRC/openSUSE:Factory/.python-cfgv.new.27019 (New) Package is "python-cfgv" Thu Apr 11 12:15:55 2019 rev:2 rq:692552 version:1.6.0 Changes: --- /work/SRC/openSUSE:Factory/python-cfgv/python-cfgv.changes 2019-04-08 10:35:12.711229977 +0200 +++ /work/SRC/openSUSE:Factory/.python-cfgv.new.27019/python-cfgv.changes 2019-04-11 12:15:58.096895088 +0200 @@ -1,0 +2,5 @@ +Sat Apr 6 21:45:23 UTC 2019 - Jan Engelhardt + +- Use noun phrase. + +--- Other differences: -- ++ python-cfgv.spec ++ --- /var/tmp/diff_new_pack.biz0bo/_old 2019-04-11 12:15:59.572895833 +0200 +++ /var/tmp/diff_new_pack.biz0bo/_new 2019-04-11 12:15:59.576895835 +0200 @@ -20,7 +20,7 @@ Name: python-cfgv Version:1.6.0 Release:0 -Summary:Validate configuration and produce human readable error messages +Summary:Configuration validator producing human readable error messages License:MIT Group: Development/Languages/Python URL:https://github.com/asottile/cfgv @@ -38,7 +38,7 @@ %python_subpackages %description -Validate configuration and produce human readable error messages. +A configuration validator for Python that produce human readable error messages. %prep %setup -q -n cfgv-%{version}