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 <[email protected]>
+
+- 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.py 2019-11-14
00:01:32.000000000 +0100
+++ new/pytest-testconfig-0.2.0/pytest_testconfig.py 2020-01-11
17:09:54.000000000 +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.py 2019-11-14 00:01:32.000000000
+0100
+++ new/pytest-testconfig-0.2.0/setup.py 2020-01-11 17:09:54.000000000
+0100
@@ -13,7 +13,7 @@
setup(
name='pytest-testconfig',
- version='0.1.3',
+ version='0.2.0',
author='Wojciech Olejarz, Bartlomiej Skrobek',
author_email='[email protected]',
maintainer='Wojciech Olejarz, Bartlomiej Skrobek',