commit python-pytest-testconfig for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-testconfig for openSUSE:Factory checked in at 2020-01-13 22:22:48 Comparing /work/SRC/openSUSE:Factory/python-pytest-testconfig (Old) and /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.6675 (New) Package is "python-pytest-testconfig" Mon Jan 13 22:22:48 2020 rev:4 rq:764064 version:0.2.0 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-testconfig/python-pytest-testconfig.changes 2019-11-18 20:09:41.601613343 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.6675/python-pytest-testconfig.changes 2020-01-13 22:22:52.810555961 +0100 @@ -1,0 +2,6 @@ +Mon Jan 13 14:16:27 UTC 2020 - Tomáš Chvátal + +- Update to 0.2.0: + * Move config loading form pytest_configure to pytest_cmdline_main + +--- Old: v0.1.3.tar.gz New: v0.2.0.tar.gz Other differences: -- ++ python-pytest-testconfig.spec ++ --- /var/tmp/diff_new_pack.C23Jlc/_old 2020-01-13 22:22:53.974556501 +0100 +++ /var/tmp/diff_new_pack.C23Jlc/_new 2020-01-13 22:22:53.978556503 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-testconfig # -# Copyright (c) 2019 SUSE LLC. +# 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-pytest-testconfig -Version:0.1.3 +Version:0.2.0 Release:0 Summary:Test configuration plugin for pytest License:Apache-2.0 -Group: Development/Languages/Python URL:https://github.com/wojole/pytest-testconfig Source: https://github.com/wojole/pytest-testconfig/archive/v%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tox} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest >= 3.5 ++ v0.1.3.tar.gz -> v0.2.0.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-testconfig-0.1.3/pytest_testconfig.py new/pytest-testconfig-0.2.0/pytest_testconfig.py --- old/pytest-testconfig-0.1.3/pytest_testconfig.py2019-11-14 00:01:32.0 +0100 +++ new/pytest-testconfig-0.2.0/pytest_testconfig.py2020-01-11 17:09:54.0 +0100 @@ -169,7 +169,7 @@ parser.addini("github", "GitHub issue integration", "args") -def pytest_configure(config): +def pytest_cmdline_main(config): """ Call the super and then validate and call the relevant parser for the configuration file passed in """ global py_config diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-testconfig-0.1.3/setup.py new/pytest-testconfig-0.2.0/setup.py --- old/pytest-testconfig-0.1.3/setup.py2019-11-14 00:01:32.0 +0100 +++ new/pytest-testconfig-0.2.0/setup.py2020-01-11 17:09:54.0 +0100 @@ -13,7 +13,7 @@ setup( name='pytest-testconfig', -version='0.1.3', +version='0.2.0', author='Wojciech Olejarz, Bartlomiej Skrobek', author_email='olejarz.wojci...@gmail.com', maintainer='Wojciech Olejarz, Bartlomiej Skrobek',
commit python-pytest-testconfig for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-testconfig for openSUSE:Factory checked in at 2019-11-18 20:09:21 Comparing /work/SRC/openSUSE:Factory/python-pytest-testconfig (Old) and /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.26869 (New) Package is "python-pytest-testconfig" Mon Nov 18 20:09:21 2019 rev:3 rq:749187 version:0.1.3 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-testconfig/python-pytest-testconfig.changes 2019-07-24 20:35:19.278575494 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.26869/python-pytest-testconfig.changes 2019-11-18 20:09:41.601613343 +0100 @@ -1,0 +2,6 @@ +Mon Nov 18 07:52:45 UTC 2019 - Tomáš Chvátal + +- Update to 0.1.3: + * Fix warning about unclosed files + +--- Old: pytest-testconfig-0.1.2.tar.gz New: v0.1.3.tar.gz Other differences: -- ++ python-pytest-testconfig.spec ++ --- /var/tmp/diff_new_pack.WpLsMP/_old 2019-11-18 20:09:42.449612911 +0100 +++ /var/tmp/diff_new_pack.WpLsMP/_new 2019-11-18 20:09:42.449612911 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pytest-testconfig # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-testconfig -Version:0.1.2 +Version:0.1.3 Release:0 Summary:Test configuration plugin for pytest License:Apache-2.0 Group: Development/Languages/Python URL:https://github.com/wojole/pytest-testconfig -Source: https://files.pythonhosted.org/packages/source/p/pytest-testconfig/pytest-testconfig-%{version}.tar.gz +Source: https://github.com/wojole/pytest-testconfig/archive/v%{version}.tar.gz BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest >= 3.5} BuildRequires: %{python_module setuptools}
commit python-pytest-testconfig for openSUSE:Factory
Hello community, here is the log from the commit of package python-pytest-testconfig for openSUSE:Factory checked in at 2019-07-24 20:35:17 Comparing /work/SRC/openSUSE:Factory/python-pytest-testconfig (Old) and /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.4126 (New) Package is "python-pytest-testconfig" Wed Jul 24 20:35:17 2019 rev:2 rq:718079 version:0.1.2 Changes: --- /work/SRC/openSUSE:Factory/python-pytest-testconfig/python-pytest-testconfig.changes 2019-05-16 22:06:36.558475668 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-testconfig.new.4126/python-pytest-testconfig.changes 2019-07-24 20:35:19.278575494 +0200 @@ -1,0 +2,6 @@ +Wed Jul 24 07:05:24 UTC 2019 - Tomáš Chvátal + +- Update to 0.1.2: + * Fix tests execution + +--- Old: pytest-testconfig-0.1.1.tar.gz New: pytest-testconfig-0.1.2.tar.gz Other differences: -- ++ python-pytest-testconfig.spec ++ --- /var/tmp/diff_new_pack.f3sjqO/_old 2019-07-24 20:35:20.638575345 +0200 +++ /var/tmp/diff_new_pack.f3sjqO/_new 2019-07-24 20:35:20.678575340 +0200 @@ -12,26 +12,28 @@ # 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-pytest-testconfig -Version:0.1.1 +Version:0.1.2 Release:0 -License:Apache-2.0 Summary:Test configuration plugin for pytest -Url:https://github.com/wojole/pytest-testconfig +License:Apache-2.0 Group: Development/Languages/Python +URL:https://github.com/wojole/pytest-testconfig Source: https://files.pythonhosted.org/packages/source/p/pytest-testconfig/pytest-testconfig-%{version}.tar.gz -BuildRequires: python-rpm-macros +BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module pytest >= 3.5} -BuildRequires: %{python_module tox} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tox} BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-pytest >= 3.5 +Recommends: python-PyYAML BuildArch: noarch - %python_subpackages %description @@ -49,9 +51,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# The tests don't work currently, but we have a PR here to fix this: -# https://github.com/wojole/pytest-testconfig/pull/2 -#%%pytest +%pytest %files %{python_files} %license LICENSE ++ pytest-testconfig-0.1.1.tar.gz -> pytest-testconfig-0.1.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-testconfig-0.1.1/MANIFEST.in new/pytest-testconfig-0.1.2/MANIFEST.in --- old/pytest-testconfig-0.1.1/MANIFEST.in 2018-08-22 23:00:06.0 +0200 +++ new/pytest-testconfig-0.1.2/MANIFEST.in 2019-06-21 12:19:50.0 +0200 @@ -1,5 +1,6 @@ include LICENSE include README.rst +recursive-include tests recursive-exclude * __pycache__ recursive-exclude * *.py[co] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-testconfig-0.1.1/PKG-INFO new/pytest-testconfig-0.1.2/PKG-INFO --- old/pytest-testconfig-0.1.1/PKG-INFO2018-11-26 23:57:38.0 +0100 +++ new/pytest-testconfig-0.1.2/PKG-INFO2019-06-21 13:00:07.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: pytest-testconfig -Version: 0.1.1 +Version: 0.1.2 Summary: Test configuration plugin for pytest. Home-page: https://github.com/wojole/pytest-testconfig Author: Wojciech Olejarz, Bartlomiej Skrobek @@ -87,7 +87,7 @@ access. Tests can obviously access configuration data by referencing the relevant dictionary keys:: -from testconfig import config +from pytest_testconfig import config def test_foo(): target_server_ip = config['servers']['webapp_ip'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-testconfig-0.1.1/README.rst new/pytest-testconfig-0.1.2/README.rst --- old/pytest-testconfig-0.1.1/README.rst 2018-11-26 22:57:19.0 +0100 +++ new/pytest-testconfig-0.1.2/README.rst 2019-06-21 12:56:19.0 +0200 @@ -77,7 +77,7 @@ access. Tests can obviously access configuration data by referencing the relevant dictionary keys:: -from testconfig import config +from pytest_testconfig import config